Class SculkCatalystBlockEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.SculkCatalystBlockEntity
- All Implemented Interfaces:
GameEventListener
,ICapabilityProvider
,ICapabilityProviderImpl<BlockEntity>
,ICapabilitySerializable<CompoundTag>
,IForgeBlockEntity
,INBTSerializable<CompoundTag>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
Nested classes/interfaces inherited from interface net.minecraft.world.level.gameevent.GameEventListener
GameEventListener.DeliveryMode
-
Field Summary
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
Fields inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
handleGameEvent
(ServerLevel p_249401_, GameEvent p_251680_, GameEvent.Context p_248816_, Vec3 p_248534_) void
load
(CompoundTag p_222787_) protected void
saveAdditional
(CompoundTag p_222789_) static void
serverTick
(Level p_222780_, BlockPos p_222781_, BlockState p_222782_, SculkCatalystBlockEntity p_222783_) private void
tryAwardItSpreadsAdvancement
(LivingEntity p_249197_) Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, loadStatic, onChunkUnloaded, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEvent
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
deserializeNBT, getModelData, getRenderBoundingBox, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
-
Field Details
-
blockPosSource
-
sculkSpreader
-
-
Constructor Details
-
SculkCatalystBlockEntity
-
-
Method Details
-
getListenerSource
- Specified by:
getListenerSource
in interfaceGameEventListener
-
getListenerRadius
public int getListenerRadius()- Specified by:
getListenerRadius
in interfaceGameEventListener
-
getDeliveryMode
- Specified by:
getDeliveryMode
in interfaceGameEventListener
-
handleGameEvent
public boolean handleGameEvent(ServerLevel p_249401_, GameEvent p_251680_, GameEvent.Context p_248816_, Vec3 p_248534_) - Specified by:
handleGameEvent
in interfaceGameEventListener
-
tryAwardItSpreadsAdvancement
-
serverTick
public static void serverTick(Level p_222780_, BlockPos p_222781_, BlockState p_222782_, SculkCatalystBlockEntity p_222783_) -
load
- Overrides:
load
in classBlockEntity
-
saveAdditional
- Overrides:
saveAdditional
in classBlockEntity
-
getSculkSpreader
-