Class ExtractedFluidInterpretedSlot

java.lang.Object
petrolpark.mc.library.core.world.item.crafting.pocket.interpretedSlot.ExtractedFluidInterpretedSlot
All Implemented Interfaces:
IInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>

public class ExtractedFluidInterpretedSlot extends Object implements IInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>
  • Field Details

    • TRANSLATION_KEY

      public static final String TRANSLATION_KEY
    • slot

      protected final net.minecraft.world.inventory.Slot slot
    • fluidStack

      protected final net.neoforged.neoforge.fluids.FluidStack fluidStack
    • emptiedItemStack

      protected final net.minecraft.world.item.ItemStack emptiedItemStack
  • Constructor Details

    • ExtractedFluidInterpretedSlot

      public ExtractedFluidInterpretedSlot(net.minecraft.world.level.Level level, net.minecraft.world.inventory.Slot slot)
  • Method Details

    • slot

      public net.minecraft.world.inventory.Slot slot()
      Specified by:
      slot in interface IInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>
    • ingredient

      public net.neoforged.neoforge.fluids.FluidStack ingredient()
      Specified by:
      ingredient in interface IInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>
    • ingredientClass

      public Class<net.neoforged.neoforge.fluids.FluidStack> ingredientClass()
      Specified by:
      ingredientClass in interface IInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>
    • name

      public net.minecraft.network.chat.Component name()
      Specified by:
      name in interface IInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>
    • render

      public boolean render(net.minecraft.client.gui.GuiGraphics graphics)
      Specified by:
      render in interface IInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>