diff options
| author | Anthony Hilyard <anthony.hilyard@gmail.com> | 2022-05-19 15:53:47 -0700 |
|---|---|---|
| committer | Anthony Hilyard <anthony.hilyard@gmail.com> | 2022-05-19 15:53:47 -0700 |
| commit | fd1948939a5978832ce5da5bb2dbbd0df49a2ac3 (patch) | |
| tree | 7856ada82a27bb0cf136fbbd9296aa351a85f22a /src/main/java/com/anthonyhilyard/iceberg/events | |
| parent | 312cf6b1d2990d7632807dfa5ef93b8dd2cbb865 (diff) | |
| download | Iceberg-fd1948939a5978832ce5da5bb2dbbd0df49a2ac3.tar.gz Iceberg-fd1948939a5978832ce5da5bb2dbbd0df49a2ac3.tar.bz2 Iceberg-fd1948939a5978832ce5da5bb2dbbd0df49a2ac3.zip | |
Bumped required forge version to 40.1, fixed IcebergConfig crash.
Diffstat (limited to 'src/main/java/com/anthonyhilyard/iceberg/events')
| -rw-r--r-- | src/main/java/com/anthonyhilyard/iceberg/events/EntityFluidEvent.java | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/main/java/com/anthonyhilyard/iceberg/events/EntityFluidEvent.java b/src/main/java/com/anthonyhilyard/iceberg/events/EntityFluidEvent.java deleted file mode 100644 index d2abcb2..0000000 --- a/src/main/java/com/anthonyhilyard/iceberg/events/EntityFluidEvent.java +++ /dev/null @@ -1,57 +0,0 @@ -package com.anthonyhilyard.iceberg.events; - -import net.minecraft.world.entity.Entity; -import net.minecraft.world.level.material.Fluid; -import net.minecraftforge.event.entity.EntityEvent; - -public class EntityFluidEvent extends EntityEvent -{ - private final Fluid fluid; - - private EntityFluidEvent(Entity entity, Fluid fluid) - { - super(entity); - this.fluid = fluid; - } - - public Fluid getFluid() - { - return fluid; - } - - /** - * This event is fired when an entity enters a fluid to at least eye-level. - * If this is a player, they will see the "submerged in fluid" effect at this point. - * <br> - * This event is not {@link net.minecraftforge.eventbus.api.Cancelable}.<br> - * <br> - * This event does not have a result. {@link HasResult}<br> - * <br> - * This event is fired on the {@link MinecraftForge#EVENT_BUS}. - */ - public static class Entered extends EntityFluidEvent - { - public Entered(Entity entity, Fluid fluid) - { - super(entity, fluid); - } - } - - /** - * This event is fired when an entity was previously submerged in a fluid to at least eye-level and no longer are. - * If this is a player, they will no longer see the "submerged in fluid" effect at this point. - * <br> - * This event is not {@link net.minecraftforge.eventbus.api.Cancelable}.<br> - * <br> - * This event does not have a result. {@link HasResult}<br> - * <br> - * This event is fired on the {@link MinecraftForge#EVENT_BUS}. - */ - public static class Exited extends EntityFluidEvent - { - public Exited(Entity entity, Fluid fluid) - { - super(entity, fluid); - } - } -} |
