Unicopia/src/main/java/com/minelittlepony/unicopia/mixin/MixinShulkerEntity.java

29 lines
634 B
Java
Raw Normal View History

2020-09-24 14:49:02 +02:00
package com.minelittlepony.unicopia.mixin;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
2021-08-04 15:38:03 +02:00
import org.spongepowered.asm.mixin.gen.Invoker;
2020-09-24 14:49:02 +02:00
import net.minecraft.entity.mob.ShulkerEntity;
@Mixin(ShulkerEntity.class)
public interface MixinShulkerEntity {
@Accessor
float getOpenProgress();
2021-08-04 15:38:03 +02:00
2020-09-24 14:49:02 +02:00
@Accessor
void setOpenProgress(float value);
2021-08-04 15:38:03 +02:00
2020-09-24 14:49:02 +02:00
@Accessor
float getPrevOpenProgress();
2021-08-04 15:38:03 +02:00
2020-09-24 14:49:02 +02:00
@Accessor
void setPrevOpenProgress(float value);
2021-08-04 15:38:03 +02:00
@Invoker("getPeekAmount")
int callGetPeekAmount();
@Invoker("setPeekAmount")
void callSetPeekAmount(int amount);
2020-09-24 14:49:02 +02:00
}