Class RequestStopButtonBlockEntity
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
com.simibubi.create.foundation.blockEntity.SyncedBlockEntity
com.simibubi.create.foundation.blockEntity.CachedRenderBBBlockEntity
com.simibubi.create.foundation.blockEntity.SmartBlockEntity
purplecreate.tramways.content.requestStop.station.RequestStopButtonBlockEntity
- All Implemented Interfaces:
com.simibubi.create.api.equipment.goggles.IHaveCustomOverlayIcon
,com.simibubi.create.api.equipment.goggles.IHaveHoveringInformation
,com.simibubi.create.api.schematic.nbt.PartialSafeNBT
,com.simibubi.create.api.schematic.requirement.SpecialBlockEntityItemRequirement
,com.simibubi.create.foundation.utility.IInteractionChecker
,io.github.fabricators_of_create.porting_lib.block.ChunkUnloadListeningBlockEntity
,io.github.fabricators_of_create.porting_lib.block.CustomDataPacketHandlingBlockEntity
,io.github.fabricators_of_create.porting_lib.block.CustomRenderBoundingBoxBlockEntity
,io.github.fabricators_of_create.porting_lib.block.CustomUpdateTagHandlingBlockEntity
,net.createmod.ponder.api.VirtualBlockEntity
public class RequestStopButtonBlockEntity
extends com.simibubi.create.foundation.blockEntity.SmartBlockEntity
implements com.simibubi.create.api.equipment.goggles.IHaveHoveringInformation
-
Field Summary
Fields inherited from class com.simibubi.create.foundation.blockEntity.SmartBlockEntity
lazyTickCounter, lazyTickRate
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
Fields inherited from interface io.github.fabricators_of_create.porting_lib.block.CustomRenderBoundingBoxBlockEntity
INFINITE_EXTENT_AABB
-
Constructor Summary
ConstructorsConstructorDescriptionRequestStopButtonBlockEntity
(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBehaviours
(List<com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour> list) boolean
addToTooltip
(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking) com.simibubi.create.content.trains.station.GlobalStation
protected void
read
(net.minecraft.nbt.CompoundTag tag, boolean clientPacket) void
tick()
protected void
write
(net.minecraft.nbt.CompoundTag tag, boolean clientPacket) Methods inherited from class com.simibubi.create.foundation.blockEntity.SmartBlockEntity
addBehavioursDeferred, attachBehaviourLate, award, awardIfNear, canPlayerUse, destroy, forEachBehaviour, getAllBehaviours, getBehaviour, getRequiredItems, initialize, invalidate, isChunkUnloaded, isVirtual, lazyTick, load, markVirtual, onChunkUnloaded, readClient, refreshBlockState, registerAwardables, remove, removeBehaviour, saveAdditional, sendToMenu, setLazyTickRate, setRemoved, writeClient, writeSafe
Methods inherited from class com.simibubi.create.foundation.blockEntity.CachedRenderBBBlockEntity
createRenderBoundingBox, getRenderBoundingBox, invalidateRenderBoundingBox
Methods inherited from class com.simibubi.create.foundation.blockEntity.SyncedBlockEntity
blockHolderGetter, containedChunk, deserializeNBT, getUpdatePacket, getUpdateTag, handleUpdateTag, notifyUpdate, onDataPacket, sendData
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, hasLevel, isRemoved, loadStatic, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, triggerEvent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.fabricators_of_create.porting_lib.block.CustomRenderBoundingBoxBlockEntity
getInfiniteBoundingBox, self
Methods inherited from interface com.simibubi.create.api.equipment.goggles.IHaveCustomOverlayIcon
getIcon
-
Constructor Details
-
RequestStopButtonBlockEntity
public RequestStopButtonBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
getLinkedStation
public com.simibubi.create.content.trains.station.GlobalStation getLinkedStation() -
addBehaviours
public void addBehaviours(List<com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour> list) - Specified by:
addBehaviours
in classcom.simibubi.create.foundation.blockEntity.SmartBlockEntity
-
tick
public void tick()- Overrides:
tick
in classcom.simibubi.create.foundation.blockEntity.SmartBlockEntity
-
addToTooltip
public boolean addToTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking) - Specified by:
addToTooltip
in interfacecom.simibubi.create.api.equipment.goggles.IHaveHoveringInformation
-
read
protected void read(net.minecraft.nbt.CompoundTag tag, boolean clientPacket) - Overrides:
read
in classcom.simibubi.create.foundation.blockEntity.SmartBlockEntity
-
write
protected void write(net.minecraft.nbt.CompoundTag tag, boolean clientPacket) - Overrides:
write
in classcom.simibubi.create.foundation.blockEntity.SmartBlockEntity
-