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,FluidTankTileEntity,FluidValveTileEntity,FlywheelTileEntity,GantryCarriageTileEntity,GantryShaftTileEntity,GaugeTileEntity,GearboxTileEntity,GearshiftTileEntity,GeneratingKineticTileEntity,HandCrankTileEntity,HosePulleyTileEntity,ItemDrainTileEntity,KineticTileEntity,LinearActuatorTileEntity,MechanicalBearingTileEntity,MechanicalCrafterTileEntity,MechanicalMixerTileEntity,MechanicalPistonTileEntity,MechanicalPressTileEntity,MillstoneTileEntity,PulleyTileEntity,PumpTileEntity,SawTileEntity,SequencedGearshiftTileEntity,SimpleKineticTileEntity,SmartChuteTileEntity,SpeedControllerTileEntity,SpeedGaugeTileEntity,SplitShaftTileEntity,SpoutTileEntity,StressGaugeTileEntity,TurntableTileEntity,WaterWheelTileEntity,WindmillBearingTileEntity
public interface IHaveGoggleInformation
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.network.chat.Componentstatic final IHaveGoggleInformation.Formatstatic final String -
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) static Stringformat(double d)
-
Field Details
-
numberFormat
-
spacing
- See Also:
-
componentSpacing
static final net.minecraft.network.chat.Component componentSpacing
-
-
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
-
format
-
containedFluidTooltip
default boolean containedFluidTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking, net.minecraftforge.common.util.LazyOptional<net.minecraftforge.fluids.capability.IFluidHandler> handler)
-