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

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.network.chat.Component
    Deprecated.
    static final String
    Use Lang.[...].forGoggles(list)
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    default boolean
    containedFluidTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking, net.minecraftforge.common.util.LazyOptional<net.minecraftforge.fluids.capability.IFluidHandler> handler)
     
  • Field Details

    • spacing

      static final String spacing
      Use Lang.[...].forGoggles(list)
      See Also:
    • componentSpacing

      @Deprecated static final net.minecraft.network.chat.Component 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:
      true if the tooltip creation was successful and should be displayed, or false if 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)