Class BedrockMovingPistonBlockEntity
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.piston.PistonMovingBlockEntity
com.viaversion.viafabricplus.bedrock.block.BedrockMovingPistonBlockEntity
- All Implemented Interfaces:
net.minecraft.core.TypedInstance<net.minecraft.world.level.block.entity.BlockEntityType<?>>, net.minecraft.util.debug.DebugValueSource
public final class BedrockMovingPistonBlockEntity
extends net.minecraft.world.level.block.piston.PistonMovingBlockEntity
Keeps a translated moving block safe until its separate carried-block update arrives.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.debug.DebugValueSource
net.minecraft.util.debug.DebugValueSource.Registration, net.minecraft.util.debug.DebugValueSource.ValueGetter<T> -
Field Summary
Fields inherited from class net.minecraft.world.level.block.piston.PistonMovingBlockEntity
TICK_MOVEMENTFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition -
Constructor Summary
ConstructorsConstructorDescriptionBedrockMovingPistonBlockEntity(net.minecraft.core.BlockPos position, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidloadAdditional(net.minecraft.world.level.storage.ValueInput input) Methods inherited from class net.minecraft.world.level.block.piston.PistonMovingBlockEntity
finalTick, getCollisionShape, getDirection, getLastTicked, getMovedState, getMovementDirection, getProgress, getPushDirection, getUpdateTag, getXOff, getYOff, getZOff, isExtending, isSourcePiston, preRemoveSideEffects, saveAdditional, setLevel, tickMethods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getPosFromTag, getType, getUpdatePacket, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, problemPath, registerDebugValues, removeComponentsFromTag, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setRemoved, triggerEvent, typeHolderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.core.TypedInstance
is, is, is, is, is, tags
-
Constructor Details
-
BedrockMovingPistonBlockEntity
public BedrockMovingPistonBlockEntity(net.minecraft.core.BlockPos position, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
awaitingData
public boolean awaitingData() -
loadAdditional
protected void loadAdditional(net.minecraft.world.level.storage.ValueInput input) - Overrides:
loadAdditionalin classnet.minecraft.world.level.block.piston.PistonMovingBlockEntity
-