Interface IHaveCustomOverlayIcon
- All Known Subinterfaces:
IHaveGoggleInformation,IHaveHoveringInformation
- All Known Implementing Classes:
AnalogLeverBlockEntity,ArmBlockEntity,BacktankBlockEntity,BasinBlockEntity,BasinOperatingBlockEntity,BeltBlockEntity,BlockBreakingKineticBlockEntity,BracketedKineticBlockEntity,BrassTunnelBlockEntity,ChainConveyorBlockEntity,ChainGearshiftBlockEntity,ChuteBlockEntity,ClockworkBearingBlockEntity,ClutchBlockEntity,CreativeFluidTankBlockEntity,CreativeMotorBlockEntity,CrushingWheelBlockEntity,CuckooClockBlockEntity,DeployerBlockEntity,DirectionalShaftHalvesBlockEntity,DrillBlockEntity,EjectorBlockEntity,ElevatorPulleyBlockEntity,EncasedFanBlockEntity,FlapDisplayBlockEntity,FluidTankBlockEntity,FluidValveBlockEntity,FlywheelBlockEntity,FrogportBlockEntity,FunnelBlockEntity,GantryCarriageBlockEntity,GantryShaftBlockEntity,GaugeBlockEntity,GearboxBlockEntity,GearshiftBlockEntity,GeneratingKineticBlockEntity,HandCrankBlockEntity,HosePulleyBlockEntity,ItemDrainBlockEntity,KineticBlockEntity,LargeWaterWheelBlockEntity,LinearActuatorBlockEntity,MechanicalBearingBlockEntity,MechanicalCrafterBlockEntity,MechanicalMixerBlockEntity,MechanicalPistonBlockEntity,MechanicalPressBlockEntity,MillstoneBlockEntity,PoweredShaftBlockEntity,PulleyBlockEntity,PumpBlockEntity,SawBlockEntity,SequencedGearshiftBlockEntity,SimpleKineticBlockEntity,SmartChuteBlockEntity,SpeedControllerBlockEntity,SpeedGaugeBlockEntity,SplitShaftBlockEntity,SpoutBlockEntity,SteamEngineBlockEntity,StockTickerBlockEntity,StressGaugeBlockEntity,TurntableBlockEntity,ValveHandleBlockEntity,WaterWheelBlockEntity,WhistleBlockEntity,WindmillBearingBlockEntity
public sealed interface IHaveCustomOverlayIcon
permits IHaveGoggleInformation, IHaveHoveringInformation
-
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.world.item.ItemStackgetIcon(boolean isPlayerSneaking) This method will be called when looking at aBlockEntitythat implementsIHaveGoggleInformationorIHaveHoveringInformation
-
Method Details
-
getIcon
default net.minecraft.world.item.ItemStack getIcon(boolean isPlayerSneaking) This method will be called when looking at aBlockEntitythat implementsIHaveGoggleInformationorIHaveHoveringInformation- Returns:
- The
ItemStackyou want the overlay to show instead of the goggles
-