Package net.minecraft
Class class_5689
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.class_5689
- All Implemented Interfaces:
FluidDrainable,FluidFillable,Waterloggable,class_5688,ItemConvertible
public class class_5689 extends Block implements class_5688, Waterloggable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classclass_5689.class_5690Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
Fields Modifier and Type Field Description static DirectionPropertyfield_28050static EnumProperty<class_5691>field_28051static BooleanPropertyfield_28052private static VoxelShapefield_28053private static VoxelShapefield_28054private static VoxelShapefield_28055private static VoxelShapefield_28056private static VoxelShapefield_28057private static VoxelShapefield_28058Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, dynamicBounds, FACINGS, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier -
Constructor Summary
Constructors Constructor Description class_5689(AbstractBlock.Settings settings) -
Method Summary
Modifier and Type Method Description protected voidappendProperties(StateManager.Builder<Block,BlockState> builder)booleancanPlaceAt(BlockState blockState, WorldView worldView, BlockPos blockPos)VoxelShapegetCullingShape(BlockState blockState, BlockView blockView, BlockPos blockPos)FluidStategetFluidState(BlockState blockState)AbstractBlock.OffsetTypegetOffsetType()VoxelShapegetOutlineShape(BlockState blockState, BlockView blockView, BlockPos blockPos, ShapeContext shapeContext)PistonBehaviorgetPistonBehavior(BlockState blockState)BlockStategetPlacementState(ItemPlacementContext itemPlacementContext)BlockStategetStateForNeighborUpdate(BlockState blockState, Direction direction, BlockState blockState2, WorldAccess worldAccess, BlockPos blockPos, BlockPos blockPos2)static BlockPosmethod_32767(World world, BlockPos blockPos)static voidmethod_32768(World world, BlockPos blockPos, BlockState blockState)private static BlockPosmethod_32769(World world, BlockPos blockPos, Fluid fluid)private static class_5691method_32770(WorldView worldView, BlockPos blockPos, Direction direction, boolean bool)private static voidmethod_32771(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos)static voidmethod_32772(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, float float2)private voidmethod_32773(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos)private static booleanmethod_32774(BlockState blockState, Direction direction)static Fluidmethod_32775(World world, BlockPos blockPos)private static BlockPosmethod_32776(World world, BlockPos blockPos, BlockState blockState)private static Directionmethod_32777(WorldView worldView, BlockPos blockPos, Direction direction)private static booleanmethod_32778(BlockState blockState, WorldView worldView, BlockPos blockPos)private static booleanmethod_32779(World world, BlockPos blockPos)private static class_5689.class_5690method_32780(World world, BlockPos blockPos, BlockState blockState)private static booleanmethod_32781(WorldView worldView, BlockPos blockPos, Direction direction)private static BlockPosmethod_32782(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos)static booleanmethod_32783(BlockState blockState)private static booleanmethod_32784(BlockState blockState)private static booleanmethod_32785(BlockState blockState)voidonDestroyedOnLanding(World world, BlockPos blockPos, FallingBlockEntity fallingBlockEntity)voidonLandedUpon(World world, BlockPos blockPos, Entity entity, float float2)voidonProjectileHit(World world, BlockState blockState, BlockHitResult blockHitResult, ProjectileEntity projectileEntity)voidrandomDisplayTick(BlockState blockState, World world, BlockPos blockPos, Random random)voidrandomTick(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random)voidscheduledTick(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random)Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getLootTableId, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, rotateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_5688
onLandingMethods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getDrainSound, tryDrainFluid, tryFillWithFluid
-
Field Details
-
field_28050
-
field_28051
-
field_28052
-
field_28053
-
field_28054
-
field_28055
-
field_28056
-
field_28057
-
field_28058
-
-
Constructor Details
-
class_5689
-
-
Method Details
-
appendProperties
- Overrides:
appendPropertiesin classBlock
-
canPlaceAt
- Overrides:
canPlaceAtin classAbstractBlock
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState blockState, Direction direction, BlockState blockState2, WorldAccess worldAccess, BlockPos blockPos, BlockPos blockPos2)- Overrides:
getStateForNeighborUpdatein classAbstractBlock
-
onProjectileHit
public void onProjectileHit(World world, BlockState blockState, BlockHitResult blockHitResult, ProjectileEntity projectileEntity)- Overrides:
onProjectileHitin classAbstractBlock
-
onLandedUpon
- Overrides:
onLandedUponin classBlock
-
randomDisplayTick
@Environment(CLIENT) public void randomDisplayTick(BlockState blockState, World world, BlockPos blockPos, Random random)- Overrides:
randomDisplayTickin classBlock
-
scheduledTick
public void scheduledTick(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random)- Overrides:
scheduledTickin classAbstractBlock
-
randomTick
public void randomTick(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random)- Overrides:
randomTickin classAbstractBlock
-
method_32772
public static void method_32772(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, float float2) -
getPistonBehavior
- Overrides:
getPistonBehaviorin classAbstractBlock
-
getPlacementState
- Overrides:
getPlacementStatein classBlock
-
getFluidState
- Overrides:
getFluidStatein classAbstractBlock
-
getCullingShape
- Overrides:
getCullingShapein classAbstractBlock
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState blockState, BlockView blockView, BlockPos blockPos, ShapeContext shapeContext)- Overrides:
getOutlineShapein classAbstractBlock
-
getOffsetType
- Overrides:
getOffsetTypein classAbstractBlock
-
onDestroyedOnLanding
public void onDestroyedOnLanding(World world, BlockPos blockPos, FallingBlockEntity fallingBlockEntity)- Specified by:
onDestroyedOnLandingin interfaceclass_5688
-
method_32773
-
method_32771
private static void method_32771(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos) -
method_32768
@Environment(CLIENT) public static void method_32768(World world, BlockPos blockPos, BlockState blockState) -
method_32782
@Nullable private static BlockPos method_32782(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos) -
method_32777
-
method_32770
@Nullable private static class_5691 method_32770(WorldView worldView, BlockPos blockPos, Direction direction, boolean bool) -
method_32783
-
method_32776
@Nullable private static BlockPos method_32776(World world, BlockPos blockPos, BlockState blockState) -
method_32781
-
method_32784
-
method_32785
-
method_32778
-
method_32774
-
method_32779
-
method_32769
-
method_32767
-
method_32775
-
method_32780
@Nullable private static class_5689.class_5690 method_32780(World world, BlockPos blockPos, BlockState blockState)
-