Class RBMKOutgasserBlockEntity
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.machines.rbmk.RBMKColumnBlockEntity
com.hbm_m.block.entity.machines.rbmk.RBMKOutgasserBlockEntity
- All Implemented Interfaces:
IRBMKFluxReceiver,IRBMKLoadable,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 RBMKOutgasserBlockEntity
extends RBMKColumnBlockEntity
implements IRBMKFluxReceiver, IRBMKLoadable, net.minecraft.world.MenuProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hbm_m.block.entity.machines.rbmk.RBMKColumnBlockEntity
RBMKColumnBlockEntity.ColumnTypeNested 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.block.entity.machines.rbmk.IRBMKFluxReceiver
IRBMKFluxReceiver.NType -
Field Summary
FieldsFields inherited from class com.hbm_m.block.entity.machines.rbmk.RBMKColumnBlockEntity
craneIndicator, heat, lidState, MAX_STEAM, MAX_WATER, reasimSteam, reasimWaterFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABB -
Constructor Summary
ConstructorsConstructorDescriptionRBMKOutgasserBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanLoad(net.minecraft.world.item.ItemStack s) booleanbooleannet.minecraft.world.inventory.AbstractContainerMenucreateMenu(int id, net.minecraft.world.entity.player.Inventory inv, net.minecraft.world.entity.player.Player player) net.minecraft.network.chat.Componentvoidload(net.minecraft.nbt.CompoundTag tag) voidload(net.minecraft.world.item.ItemStack s) net.minecraft.world.item.ItemStackvoidprotected voidsaveAdditional(net.minecraft.nbt.CompoundTag tag) static voidtick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, RBMKOutgasserBlockEntity be) voidunload()Methods inherited from class com.hbm_m.block.entity.machines.rbmk.RBMKColumnBlockEntity
baseTick, coolPassively, getLidState, getNBTForConsole, getRenderBoundingBox, getRenderTexturePrefix, getUpdatePacket, getUpdateTag, hasLid, isLidRemovable, isModerated, maxHeat, onMelt, safeItemSave, setLidState, spawnDebris, standardMeltMethods 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, setLevel, setRemoved, triggerEventMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, 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
getCapability, getCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
deserializeNBT, getModelData, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
-
Field Details
-
rodSlot
public net.minecraft.world.item.ItemStack rodSlot -
fluxBuffer
public double fluxBuffer
-
-
Constructor Details
-
RBMKOutgasserBlockEntity
public RBMKOutgasserBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
canProcess
public boolean canProcess() -
tick
public static void tick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, RBMKOutgasserBlockEntity be) -
receiveFlux
- Specified by:
receiveFluxin interfaceIRBMKFluxReceiver
-
canLoad
public boolean canLoad(net.minecraft.world.item.ItemStack s) - Specified by:
canLoadin interfaceIRBMKLoadable
-
load
public void load(net.minecraft.world.item.ItemStack s) - Specified by:
loadin interfaceIRBMKLoadable
-
canUnload
public boolean canUnload()- Specified by:
canUnloadin interfaceIRBMKLoadable
-
provideNext
public net.minecraft.world.item.ItemStack provideNext()- Specified by:
provideNextin interfaceIRBMKLoadable
-
unload
public void unload()- Specified by:
unloadin interfaceIRBMKLoadable
-
getDisplayName
public net.minecraft.network.chat.Component getDisplayName()- Specified by:
getDisplayNamein interfacenet.minecraft.world.MenuProvider
-
createMenu
public net.minecraft.world.inventory.AbstractContainerMenu createMenu(int id, net.minecraft.world.entity.player.Inventory inv, net.minecraft.world.entity.player.Player player) - Specified by:
createMenuin interfacenet.minecraft.world.inventory.MenuConstructor
-
getRBMKType
- Overrides:
getRBMKTypein classRBMKColumnBlockEntity
-
getConsoleType
- Specified by:
getConsoleTypein classRBMKColumnBlockEntity
-
saveAdditional
protected void saveAdditional(net.minecraft.nbt.CompoundTag tag) - Overrides:
saveAdditionalin classRBMKColumnBlockEntity
-
load
public void load(net.minecraft.nbt.CompoundTag tag) - Overrides:
loadin classRBMKColumnBlockEntity
-