diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-08-11 23:28:33 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-08-11 23:28:33 +0800 |
| commit | 28025895e0da1e6079264dbfe951e7fd9bf069d8 (patch) | |
| tree | bd28e2f6bf02a2806c4b7802fac912ed43444e43 /src/main/java/me/shedaniel/rei/impl/FluidEntry.java | |
| parent | 019aa13875ca639dda2f34c66e3160f72b923cfd (diff) | |
| download | RoughlyEnoughItems-28025895e0da1e6079264dbfe951e7fd9bf069d8.tar.gz RoughlyEnoughItems-28025895e0da1e6079264dbfe951e7fd9bf069d8.tar.bz2 RoughlyEnoughItems-28025895e0da1e6079264dbfe951e7fd9bf069d8.zip | |
Scrollable Entry List?
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/FluidEntry.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/impl/FluidEntry.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/FluidEntry.java b/src/main/java/me/shedaniel/rei/impl/FluidEntry.java new file mode 100644 index 000000000..2a40b82a5 --- /dev/null +++ b/src/main/java/me/shedaniel/rei/impl/FluidEntry.java @@ -0,0 +1,33 @@ +package me.shedaniel.rei.impl; + +import me.shedaniel.rei.api.Entry; +import net.minecraft.fluid.Fluid; +import net.minecraft.item.ItemStack; + +import javax.annotation.Nullable; + +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; + } +} |
