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_MOVEMENT

    Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity

    level, remove, worldPosition
  • Constructor Summary

    Constructors
    Constructor
    Description
    BedrockMovingPistonBlockEntity(net.minecraft.core.BlockPos position, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected void
    loadAdditional(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, tick

    Methods 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, typeHolder

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      loadAdditional in class net.minecraft.world.level.block.piston.PistonMovingBlockEntity