Class PostBaseBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
io.github.vampirestudios.vampirelib.blocks.PostBaseBlock
- All Implemented Interfaces:
net.minecraft.world.level.block.BucketPickup,net.minecraft.world.level.block.LiquidBlockContainer,net.minecraft.world.level.block.SimpleWaterloggedBlock,net.minecraft.world.level.ItemLike
public class PostBaseBlock
extends net.minecraft.world.level.block.Block
implements net.minecraft.world.level.block.SimpleWaterloggedBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.Block
net.minecraft.world.level.block.Block.BlockStatePairKeyNested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase, net.minecraft.world.level.block.state.BlockBehaviour.OffsetType, net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<A extends Object>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis>static final net.minecraft.world.level.block.state.properties.BooleanPropertyprotected static final net.minecraft.world.phys.shapes.VoxelShapeprotected static final net.minecraft.world.phys.shapes.VoxelShapeprotected static final net.minecraft.world.phys.shapes.VoxelShapeprotected static final net.minecraft.world.phys.shapes.VoxelShapeFields inherited from class net.minecraft.world.level.block.Block
BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SUPPRESS_DROPS, UPDATE_SUPPRESS_LIGHTFields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDER -
Constructor Summary
ConstructorsConstructorDescriptionPostBaseBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties settings) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) net.minecraft.world.phys.shapes.VoxelShapegetCollisionShape(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.BlockGetter blockView_1, net.minecraft.core.BlockPos blockPos_1, net.minecraft.world.phys.shapes.CollisionContext verticalEntityPosition_1) net.minecraft.world.level.material.FluidStategetFluidState(net.minecraft.world.level.block.state.BlockState state) net.minecraft.world.phys.shapes.VoxelShapegetShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext context) net.minecraft.world.level.block.state.BlockStategetStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext itemPlacementContext_1) booleanisPathfindable(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter blockView, net.minecraft.core.BlockPos pos, net.minecraft.world.level.pathfinder.PathComputationType navigationType) net.minecraft.world.level.block.state.BlockStaterotate(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.block.Rotation rotation_1) net.minecraft.world.level.block.state.BlockStateupdateShape(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction direction, net.minecraft.world.level.block.state.BlockState blockState2, net.minecraft.world.level.LevelAccessor iWorld, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos pos1) Methods inherited from class net.minecraft.world.level.block.Block
animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOfMethods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getDestroyProgress, getDirectSignal, getDrops, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, use, useShapeForLightOcclusionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.block.SimpleWaterloggedBlock
canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
-
Field Details
-
AXIS
public static final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis> AXIS -
WATERLOGGED
public static final net.minecraft.world.level.block.state.properties.BooleanProperty WATERLOGGED -
Y_SHAPE
protected static final net.minecraft.world.phys.shapes.VoxelShape Y_SHAPE -
X_SHAPE
protected static final net.minecraft.world.phys.shapes.VoxelShape X_SHAPE -
Z_SHAPE
protected static final net.minecraft.world.phys.shapes.VoxelShape Z_SHAPE -
Y_COLLISION
protected static final net.minecraft.world.phys.shapes.VoxelShape Y_COLLISION
-
-
Constructor Details
-
PostBaseBlock
public PostBaseBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties settings)
-
-
Method Details
-
getShape
public net.minecraft.world.phys.shapes.VoxelShape getShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext context) - Overrides:
getShapein classnet.minecraft.world.level.block.state.BlockBehaviour
-
rotate
public net.minecraft.world.level.block.state.BlockState rotate(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.block.Rotation rotation_1) - Overrides:
rotatein classnet.minecraft.world.level.block.state.BlockBehaviour
-
getCollisionShape
public net.minecraft.world.phys.shapes.VoxelShape getCollisionShape(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.BlockGetter blockView_1, net.minecraft.core.BlockPos blockPos_1, net.minecraft.world.phys.shapes.CollisionContext verticalEntityPosition_1) - Overrides:
getCollisionShapein classnet.minecraft.world.level.block.state.BlockBehaviour
-
getStateForPlacement
public net.minecraft.world.level.block.state.BlockState getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext itemPlacementContext_1) - Overrides:
getStateForPlacementin classnet.minecraft.world.level.block.Block
-
updateShape
public net.minecraft.world.level.block.state.BlockState updateShape(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction direction, net.minecraft.world.level.block.state.BlockState blockState2, net.minecraft.world.level.LevelAccessor iWorld, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos pos1) - Overrides:
updateShapein classnet.minecraft.world.level.block.state.BlockBehaviour
-
createBlockStateDefinition
protected void createBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) - Overrides:
createBlockStateDefinitionin classnet.minecraft.world.level.block.Block
-
getFluidState
public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.world.level.block.state.BlockState state) - Overrides:
getFluidStatein classnet.minecraft.world.level.block.state.BlockBehaviour
-
isPathfindable
public boolean isPathfindable(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter blockView, net.minecraft.core.BlockPos pos, net.minecraft.world.level.pathfinder.PathComputationType navigationType) - Overrides:
isPathfindablein classnet.minecraft.world.level.block.state.BlockBehaviour
-