Interface IHaveGoggleInformation
- All Known Implementing Classes:
AdjustablePulleyTileEntity,AnalogLeverTileEntity,ArmTileEntity,BasinOperatingTileEntity,BasinTileEntity,BeltTileEntity,BlockBreakingKineticTileEntity,BracketedKineticTileEntity,BrassTunnelTileEntity,ChuteTileEntity,ClockworkBearingTileEntity,ClutchTileEntity,CopperBacktankTileEntity,CreativeFluidTankTileEntity,CreativeMotorTileEntity,CrushingWheelTileEntity,CuckooClockTileEntity,DeployerTileEntity,DirectionalShaftHalvesTileEntity,DrillTileEntity,EjectorTileEntity,EncasedFanTileEntity,FlapDisplayTileEntity,FluidTankTileEntity,FluidValveTileEntity,FlywheelTileEntity,GantryCarriageTileEntity,GantryShaftTileEntity,GaugeTileEntity,GearboxTileEntity,GearshiftTileEntity,GeneratingKineticTileEntity,HandCrankTileEntity,HosePulleyTileEntity,ItemDrainTileEntity,KineticTileEntity,LinearActuatorTileEntity,MechanicalBearingTileEntity,MechanicalCrafterTileEntity,MechanicalMixerTileEntity,MechanicalPistonTileEntity,MechanicalPressTileEntity,MillstoneTileEntity,PoweredShaftTileEntity,PulleyTileEntity,PumpTileEntity,SawTileEntity,SequencedGearshiftTileEntity,SimpleKineticTileEntity,SmartChuteTileEntity,SpeedControllerTileEntity,SpeedGaugeTileEntity,SplitShaftTileEntity,SpoutTileEntity,SteamEngineTileEntity,StressGaugeTileEntity,TurntableTileEntity,WaterWheelTileEntity,WhistleTileEntity,WindmillBearingTileEntity
public interface IHaveGoggleInformation
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.network.chat.ComponentDeprecated.static final StringUse Lang.[...].forGoggles(list) -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanaddToGoggleTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking) this method will be called when looking at a TileEntity that implemented this interfacedefault booleancontainedFluidTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking, net.minecraftforge.common.util.LazyOptional<net.minecraftforge.fluids.capability.IFluidHandler> handler)
-
Field Details
-
spacing
Use Lang.[...].forGoggles(list)- See Also:
-
componentSpacing
Deprecated.Use Lang.[...].forGoggles(list)
-
-
Method Details
-
addToGoggleTooltip
default boolean addToGoggleTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking) this method will be called when looking at a TileEntity that implemented this interface- Returns:
trueif the tooltip creation was successful and should be displayed, orfalseif the overlay should not be displayed
-
containedFluidTooltip
default boolean containedFluidTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking, net.minecraftforge.common.util.LazyOptional<net.minecraftforge.fluids.capability.IFluidHandler> handler)
-