Package com.hbm_m.block.entity.machines
Class LaunchPadRustedBlockEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
com.hbm_m.block.entity.BaseMachineBlockEntity
com.hbm_m.block.entity.machines.LaunchPadBaseBlockEntity
com.hbm_m.block.entity.machines.LaunchPadRustedBlockEntity
- 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>
Ржавая пусковая площадка (Launch Pad Rusted).
Как и у обычной площадки, ракетная логика пока заглушена.
Отличается только типом BlockEntity и используемым меню/GUI.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>Nested classes/interfaces inherited from interface com.hbm_m.interfaces.IEnergyReceiver
IEnergyReceiver.Priority -
Field Summary
Fields inherited from class com.hbm_m.block.entity.machines.LaunchPadBaseBlockEntity
clientMissilePreview, delay, MAX_POWER, MAX_RECEIVE, MISSILES, prevRedstonePower, redstonePower, SLOT_BATTERY, SLOT_COUNT, SLOT_DESIGNATOR, SLOT_FUEL_IN, SLOT_FUEL_OUT, SLOT_MISSILE, SLOT_OXIDIZER_IN, SLOT_OXIDIZER_OUT, state, STATE_LOADING, STATE_MISSING, STATE_READY, TANK_CAPACITY_MB, tanksFields inherited from class com.hbm_m.block.entity.BaseMachineBlockEntity
capacity, energy, inventory, itemHandler, maxExtract, maxReceive, networkInitializedFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from interface com.hbm_m.api.fluids.IFluidUserMK2
DEFAULT_PRESSURE_RANGE, HIGHEST_VALID_PRESSUREFields inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABB -
Constructor Summary
ConstructorsConstructorDescriptionLaunchPadRustedBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.inventory.AbstractContainerMenucreateMenu(int containerId, net.minecraft.world.entity.player.Inventory inv, net.minecraft.world.entity.player.Player player) Угловые коннекторы мультиблока для подписки в энерго-/жидкостные сети.protected net.minecraft.network.chat.ComponentintDesignator slot index; rusted pad uses slot 3.net.minecraft.network.chat.Componentprotected booleanДополнительные условия в конкретной площадке (задержка, анимации и т.п.).static voidtick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, LaunchPadRustedBlockEntity be) Methods inherited from class com.hbm_m.block.entity.machines.LaunchPadBaseBlockEntity
buildStandardConPos, canConnect, canConnectEnergy, canLaunch, chargeLaunchPadBattery, checkRedstonePower, clientLaunchPadSmokeTick, commonServerTick, finalizeLaunch, getAllTanks, getFuelState, getGaugeState, getLaunchItemFor, getLaunchOffset, getMissilePreviewStack, getMissileSlot, getOxidizerState, getReceivingTanks, getRenderBoundingBox, getState, getTanks, getUpdatePacket, getUpdateTag, handleUpdateTag, hasFuel, instantiateMissile, isItemValidForSlot, isLoaded, isMissileValid, isMissileValid, launchFromDesignator, launchToCoordinate, launchToEntity, load, needsDesignator, registerLaunchables, saveAdditional, sendCommandEntity, sendCommandPosition, setControllerRedstone, setFuel, subscribeToCornerNetworks, transferFluidContainers, triggerLaunchMethods inherited from class com.hbm_m.block.entity.BaseMachineBlockEntity
canExtract, canReceive, chargeFromBatterySlot, chargeItemInSlot, createGhostItemsFromIngredients, createInventoryHandler, dropInventoryContents, ensureNetworkInitialized, extractEnergy, getCapability, getEnergyDelta, getEnergyStored, getGhostItems, getInventory, getMaxEnergyStored, getPriority, getProvideSpeed, getReceiveSpeed, invalidateCaps, isCriticalSlot, isEnergyProviderItem, isEnergyReceiverItem, onDataPacket, onLoad, receiveEnergy, sendUpdateToClient, setEnergyCapacity, setEnergyStored, setLevel, setRemoved, setupFluidCapability, updateEnergyDeltaMethods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, loadStatic, onChunkUnloaded, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, triggerEventMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapabilityMethods inherited from interface com.hbm_m.api.fluids.IFluidReceiverMK2
getFluidPriority, getReceiverSpeed, isInfiniteNetworkSink, trySubscribeMethods inherited from interface com.hbm_m.api.fluids.IFluidStandardReceiverMK2
getDemand, getReceivingPressureRange, transferFluidMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
deserializeNBT, getModelData, hasCustomOutlineRendering, requestModelDataUpdate, serializeNBT
-
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:LaunchPadBaseBlockEntityDesignator slot index; rusted pad uses slot 3.- Overrides:
getDesignatorSlotin classLaunchPadBaseBlockEntity
-
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:
getDefaultNamein classBaseMachineBlockEntity
-
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:
createMenuin interfacenet.minecraft.world.inventory.MenuConstructor- Overrides:
createMenuin classLaunchPadBaseBlockEntity
-
isReadyForLaunch
protected boolean isReadyForLaunch()Description copied from class:LaunchPadBaseBlockEntityДополнительные условия в конкретной площадке (задержка, анимации и т.п.).- Specified by:
isReadyForLaunchin classLaunchPadBaseBlockEntity
-
getConPos
Description copied from class:LaunchPadBaseBlockEntityУгловые коннекторы мультиблока для подписки в энерго-/жидкостные сети.- Specified by:
getConPosin classLaunchPadBaseBlockEntity
-