Slime fixes
This commit is contained in:
parent
cd0d5582a8
commit
3bc28083f0
8 changed files with 142 additions and 6 deletions
|
@ -0,0 +1,18 @@
|
|||
package ru.betterend.mixin.common;
|
||||
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
|
||||
import net.minecraft.entity.mob.SlimeEntity;
|
||||
import ru.betterend.util.ISlime;
|
||||
|
||||
@Mixin(SlimeEntity.class)
|
||||
public class SlimeEntityMixin implements ISlime {
|
||||
@Shadow
|
||||
protected void setSize(int size, boolean heal) {}
|
||||
|
||||
@Override
|
||||
public void setSlimeSize(int size, boolean heal) {
|
||||
setSize(size, heal);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue