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
    Modifier and Type
    Interface
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.network.chat.Component
     
     
    static final String
     
  • 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)
     
    static String
    format(double d)
     
  • Field Details

  • 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
    • format

      static String format(double d)
    • containedFluidTooltip

      default boolean containedFluidTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking, net.minecraftforge.common.util.LazyOptional<net.minecraftforge.fluids.capability.IFluidHandler> handler)