diff options
author | Anthony Hilyard <anthony.hilyard@gmail.com> | 2021-10-13 22:51:23 -0700 |
---|---|---|
committer | Anthony Hilyard <anthony.hilyard@gmail.com> | 2021-10-13 22:51:23 -0700 |
commit | 407a3cfabed3869b38527153e8b3322a824f1263 (patch) | |
tree | 06909dc024d048e999354a0c7102a57bccf32ef8 /src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java | |
parent | 0eb0e8504684ad9e7bdae99a54de618809cee8d4 (diff) | |
download | Iceberg-407a3cfabed3869b38527153e8b3322a824f1263.tar.gz Iceberg-407a3cfabed3869b38527153e8b3322a824f1263.tar.bz2 Iceberg-407a3cfabed3869b38527153e8b3322a824f1263.zip |
Initial commit for 1.17.1 version.
Diffstat (limited to 'src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java')
-rw-r--r-- | src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java b/src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java index f4ca091..ba3a69e 100644 --- a/src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java +++ b/src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java @@ -11,9 +11,9 @@ import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.At.Shift; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -import net.minecraft.entity.Entity; -import net.minecraft.fluid.Fluid; -import net.minecraft.tags.ITag; +import net.minecraft.world.entity.Entity; +import net.minecraft.world.level.material.Fluid; +import net.minecraft.tags.Tag; import net.minecraftforge.common.MinecraftForge; @Mixin(Entity.class) @@ -22,7 +22,7 @@ public class EntityMixin extends net.minecraftforge.common.capabilities.Capabili private Fluid previousFluidOnEyes = null; @Shadow - protected ITag<Fluid> fluidOnEyes; + protected Tag<Fluid> fluidOnEyes; protected EntityMixin(Class<Entity> baseClass) { super(baseClass); } @@ -45,7 +45,7 @@ public class EntityMixin extends net.minecraftforge.common.capabilities.Capabili } @Inject(method = "updateFluidOnEyes", - at = @At(value = "FIELD", target = "Lnet/minecraft/entity/Entity;fluidOnEyes:Lnet/minecraft/tags/ITag;", ordinal = 1, shift = Shift.AFTER)) + at = @At(value = "FIELD", target = "Lnet/minecraft/world/entity/Entity;fluidOnEyes:Lnet/minecraft/tags/Tag;", ordinal = 1, shift = Shift.AFTER)) public void onUpdateFluidOnEyeAssign(CallbackInfo callbackInfo) { Fluid currentFluid = null; |