Interface IGUIButtonSensitive

All Known Implementing Classes:
Abstract4SlotMenu, AbstractAirHandlingBlockEntity, AbstractAssemblyRobotBlockEntity, AbstractFluidTankBlockEntity, AbstractFluidTankBlockEntity.Huge, AbstractFluidTankBlockEntity.Large, AbstractFluidTankBlockEntity.Medium, AbstractFluidTankBlockEntity.Small, AbstractForgeEnergyMenu, AbstractHopperBlockEntity, AbstractLogisticsFrameEntity, AbstractPneumaticCraftBlockEntity, AbstractPneumaticCraftMenu, AbstractSemiblockEntity, AbstractTickingBlockEntity, AdvancedAirCompressorBlockEntity, AdvancedAirCompressorMenu, AdvancedLiquidCompressorBlockEntity, AdvancedLiquidCompressorMenu, AdvancedPressureTubeBlockEntity, AerialInterfaceBlockEntity, AerialInterfaceMenu, AirCannonBlockEntity, AirCannonMenu, AirCompressorBlockEntity, AirCompressorMenu, AmadronAddTradeMenu, AmadronMenu, AphorismTileBlockEntity, AssemblyControllerBlockEntity, AssemblyControllerMenu, AssemblyDrillBlockEntity, AssemblyIOUnitBlockEntity, AssemblyLaserBlockEntity, AssemblyPlatformBlockEntity, ChargingStationBlockEntity, ChargingStationMenu, ChargingStationUpgradeManagerMenu, CompressedIronBlockBlockEntity, CreativeCompressedIronBlockBlockEntity, CreativeCompressedIronBlockMenu, CreativeCompressorBlockEntity, CreativeCompressorMenu, CropSupportEntity, DisplayTableBlockEntity, DroneInterfaceBlockEntity, DroneRedstoneEmitterBlockEntity, ElectrostaticCompressorBlockEntity, ElectrostaticCompressorMenu, ElevatorBaseBlockEntity, ElevatorCallerBlockEntity, ElevatorFrameBlockEntity, ElevatorMenu, EtchingTankBlockEntity, EtchingTankMenu, FluidMixerBlockEntity, FluidMixerMenu, FluidTankMenu, FluxCompressorBlockEntity, FluxCompressorMenu, GasLiftBlockEntity, GasLiftMenu, HeatFrameEntity, HeatPipeBlockEntity, HeatSinkBlockEntity, JackhammerSetupMenu, KeroseneLampBlockEntity, KeroseneLampMenu, LiquidCompressorBlockEntity, LiquidCompressorMenu, LiquidHopperBlockEntity, LiquidHopperMenu, LogisticsActiveProviderEntity, LogisticsDefaultStorageEntity, LogisticsMenu, LogisticsPassiveProviderEntity, LogisticsRequesterEntity, LogisticsStorageEntity, MinigunMagazineMenu, OmnidirectionalHopperBlockEntity, OmnidirectionalHopperMenu, PneumaticDoorBaseBlockEntity, PneumaticDoorBaseMenu, PneumaticDoorBlockEntity, PneumaticDynamoBlockEntity, PneumaticDynamoMenu, PressureChamberInterfaceBlockEntity, PressureChamberInterfaceMenu, PressureChamberValveBlockEntity, PressureChamberValveMenu, PressureChamberWallBlockEntity, PressureTubeBlockEntity, PressurizedSpawnerBlockEntity, PressurizedSpawnerMenu, ProgrammableControllerBlockEntity, ProgrammableControllerMenu, ProgrammerBlockEntity, ProgrammerMenu, RefineryControllerBlockEntity, RefineryMenu, RefineryOutputBlockEntity, ReinforcedChestBlockEntity, ReinforcedChestMenu, ReinforcedPressureTubeBlockEntity, RemoteMenu, SecurityStationBlockEntity, SecurityStationHackingMenu, SecurityStationMainMenu, SentryTurretBlockEntity, SentryTurretMenu, SmartChestBlockEntity, SmartChestMenu, SolarCompressorBlockEntity, SolarCompressorMenu, SpawnerAgitatorEntity, SpawnerExtractorBlockEntity, SpawnerExtractorMenu, TagWorkbenchBlockEntity, TagWorkbenchMenu, ThermalCompressorBlockEntity, ThermalCompressorMenu, ThermopneumaticProcessingPlantBlockEntity, ThermopneumaticProcessingPlantMenu, TransferGadgetEntity, TubeJunctionBlockEntity, UniversalSensorBlockEntity, UniversalSensorMenu, UVLightBoxBlockEntity, UVLightBoxMenu, VacuumPumpBlockEntity, VacuumPumpMenu, VacuumTrapBlockEntity, VacuumTrapMenu, VortexTubeBlockEntity
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IGUIButtonSensitive
Implement on a Container/Block Entity/EntitySemiblock to allow it to receive messages from the client when a GUI button is clicked.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleGUIButtonPress(String tag, boolean shiftHeld, net.minecraft.server.level.ServerPlayer player)
     
  • Method Details

    • handleGUIButtonPress

      void handleGUIButtonPress(String tag, boolean shiftHeld, net.minecraft.server.level.ServerPlayer player)