Class LaunchPadRustedBlockEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
All Implemented Interfaces:
IFluidConnectorMK2, IFluidReceiverMK2, IFluidStandardReceiverMK2, IFluidUserMK2, NodeNet.ILoadedEntry, IRadarCommandReceiver, IEnergyConnector, IEnergyProvider, IEnergyReceiver, net.minecraft.world.inventory.MenuConstructor, net.minecraft.world.MenuProvider, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.block.entity.BlockEntity>, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.extensions.IForgeBlockEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>

public class LaunchPadRustedBlockEntity extends LaunchPadBaseBlockEntity
Ржавая пусковая площадка (Launch Pad Rusted). Как и у обычной площадки, ракетная логика пока заглушена. Отличается только типом BlockEntity и используемым меню/GUI.
  • Constructor Details

    • LaunchPadRustedBlockEntity

      public LaunchPadRustedBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • getDesignatorSlot

      public int getDesignatorSlot()
      Description copied from class: LaunchPadBaseBlockEntity
      Designator slot index; rusted pad uses slot 3.
      Overrides:
      getDesignatorSlot in class LaunchPadBaseBlockEntity
    • tick

      public static void tick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, LaunchPadRustedBlockEntity be)
    • getDefaultName

      protected net.minecraft.network.chat.Component getDefaultName()
      Specified by:
      getDefaultName in class BaseMachineBlockEntity
    • getDisplayName

      public net.minecraft.network.chat.Component getDisplayName()
    • createMenu

      public net.minecraft.world.inventory.AbstractContainerMenu createMenu(int containerId, net.minecraft.world.entity.player.Inventory inv, net.minecraft.world.entity.player.Player player)
      Specified by:
      createMenu in interface net.minecraft.world.inventory.MenuConstructor
      Overrides:
      createMenu in class LaunchPadBaseBlockEntity
    • isReadyForLaunch

      protected boolean isReadyForLaunch()
      Description copied from class: LaunchPadBaseBlockEntity
      Дополнительные условия в конкретной площадке (задержка, анимации и т.п.).
      Specified by:
      isReadyForLaunch in class LaunchPadBaseBlockEntity
    • getConPos

      public NodeDirPos[] getConPos()
      Description copied from class: LaunchPadBaseBlockEntity
      Угловые коннекторы мультиблока для подписки в энерго-/жидкостные сети.
      Specified by:
      getConPos in class LaunchPadBaseBlockEntity