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
|
|
|
}
|