diff options
| author | Danielshe <shekwancheung0528@gmail.com> | 2019-11-03 19:02:00 +0800 |
|---|---|---|
| committer | Danielshe <shekwancheung0528@gmail.com> | 2019-11-03 19:02:00 +0800 |
| commit | ad7f945d6f724d51ee843b334838fda84c6197f2 (patch) | |
| tree | b67cd5a1b95826435ef54813e4221ff3fda39212 /src/main/java/me/shedaniel/rei/impl/FluidEntry.java | |
| parent | 9f5a9eae9a7863412cc5eb433bf15e5ee71da616 (diff) | |
| download | RoughlyEnoughItems-ad7f945d6f724d51ee843b334838fda84c6197f2.tar.gz RoughlyEnoughItems-ad7f945d6f724d51ee843b334838fda84c6197f2.tar.bz2 RoughlyEnoughItems-ad7f945d6f724d51ee843b334838fda84c6197f2.zip | |
API Changes
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/FluidEntry.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/impl/FluidEntry.java | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/FluidEntry.java b/src/main/java/me/shedaniel/rei/impl/FluidEntry.java deleted file mode 100644 index 795ed0deb..000000000 --- a/src/main/java/me/shedaniel/rei/impl/FluidEntry.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Roughly Enough Items by Danielshe. - * Licensed under the MIT License. - */ - -package me.shedaniel.rei.impl; - -import me.shedaniel.rei.api.Entry; -import me.shedaniel.rei.api.annotations.ToBeRemoved; -import net.minecraft.fluid.Fluid; -import net.minecraft.item.ItemStack; - -import javax.annotation.Nullable; - -@ToBeRemoved -@Deprecated -public class FluidEntry implements Entry { - private Fluid fluid; - - @Deprecated - public FluidEntry(Fluid fluid) { - this.fluid = fluid; - } - - @Override - public Type getEntryType() { - return Type.FLUID; - } - - @Nullable - @Override - public ItemStack getItemStack() { - return null; - } - - @Nullable - @Override - public Fluid getFluid() { - return fluid; - } - - @Override - public Entry clone() { - return this; - } - - @Override - public boolean equalsEntry(Entry other, boolean checkTags) { - if (other.getEntryType() == Type.FLUID) { - return other.getFluid().matchesType(getFluid()); - } else return false; - } -} |
