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 Summary
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.world.item.ItemStackprotected final net.neoforged.neoforge.fluids.FluidStackprotected final net.minecraft.world.inventory.Slotstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionExtractedFluidInterpretedSlot(net.minecraft.world.level.Level level, net.minecraft.world.inventory.Slot slot) -
Method Summary
-
Field Details
-
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:
slotin interfaceIInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>
-
ingredient
public net.neoforged.neoforge.fluids.FluidStack ingredient()- Specified by:
ingredientin interfaceIInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>
-
ingredientClass
- Specified by:
ingredientClassin interfaceIInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>
-
name
public net.minecraft.network.chat.Component name()- Specified by:
namein interfaceIInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>
-
render
public boolean render(net.minecraft.client.gui.GuiGraphics graphics) - Specified by:
renderin interfaceIInterpretedSlot<net.neoforged.neoforge.fluids.FluidStack>
-