Package net.minecraft
Class class_5778
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.class_5778
- All Implemented Interfaces:
ItemConvertible
- Direct Known Subclasses:
class_5777
public class class_5778 extends Block
-
Nested Class Summary
Nested 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 private static VoxelShapefield_28413private static VoxelShapefield_28414private static VoxelShapefield_28415private static VoxelShapefield_28416private static VoxelShapefield_28417private static VoxelShapefield_28418private static Map<Direction,BooleanProperty>field_28419private static Map<Direction,VoxelShape>field_28420private static Direction[]field_28421private ImmutableMap<BlockState,VoxelShape>field_28422private booleanfield_28423private booleanfield_28424private booleanfield_28425Fields 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_5778(AbstractBlock.Settings settings) -
Method Summary
Modifier and Type Method Description protected voidappendProperties(StateManager.Builder<Block,BlockState> builder)booleancanPlaceAt(BlockState blockState, WorldView worldView, BlockPos blockPos)booleancanReplace(BlockState blockState, ItemPlacementContext itemPlacementContext)VoxelShapegetOutlineShape(BlockState blockState, BlockView blockView, BlockPos blockPos, ShapeContext shapeContext)BlockStategetPlacementState(ItemPlacementContext itemPlacementContext)BlockStategetStateForNeighborUpdate(BlockState blockState, Direction direction, BlockState blockState2, WorldAccess worldAccess, BlockPos blockPos, BlockPos blockPos2)private static booleanmethod_33358(BlockView blockView, Direction direction, BlockPos blockPos, BlockState blockState)private booleanmethod_33359(WorldAccess worldAccess, BlockPos blockPos, Direction direction)BlockStatemethod_33362(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos, Direction direction)booleanmethod_33363(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos, Direction direction, Direction direction2)booleanmethod_33364(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos, Direction direction, Random random)private static BlockStatemethod_33365(BlockState blockState, BooleanProperty booleanProperty)private static booleanmethod_33366(BlockState blockState, Direction direction)private BlockStatemethod_33367(BlockState blockState, Function<Direction,Direction> function)private static BlockStatemethod_33368(StateManager<Block,BlockState> stateManager)protected booleanmethod_33369(Direction direction)private static ImmutableMap<BlockState,VoxelShape>method_33373(StateManager<Block,BlockState> stateManager)static BooleanPropertymethod_33374(Direction direction)booleanmethod_33375(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random)private booleanmethod_33378()private booleanmethod_33379(BlockState blockState)private static VoxelShapemethod_33380(BlockState blockState)private static booleanmethod_33381(BlockState blockState)private static booleanmethod_33382(BlockState blockState)BlockStatemirror(BlockState blockState, BlockMirror blockMirror)BlockStaterotate(BlockState blockState, BlockRotation blockRotation)Applies a block rotation to a block state.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, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, scheduledTick
-
Field Details
-
field_28413
-
field_28414
-
field_28415
-
field_28416
-
field_28417
-
field_28418
-
field_28419
-
field_28420
-
field_28421
-
field_28422
-
field_28423
private final boolean field_28423 -
field_28424
private final boolean field_28424 -
field_28425
private final boolean field_28425
-
-
Constructor Details
-
class_5778
-
-
Method Details
-
method_33369
-
appendProperties
- Overrides:
appendPropertiesin classBlock
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState blockState, Direction direction, BlockState blockState2, WorldAccess worldAccess, BlockPos blockPos, BlockPos blockPos2)- Overrides:
getStateForNeighborUpdatein classAbstractBlock
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState blockState, BlockView blockView, BlockPos blockPos, ShapeContext shapeContext)- Overrides:
getOutlineShapein classAbstractBlock
-
canPlaceAt
- Overrides:
canPlaceAtin classAbstractBlock
-
canReplace
- Overrides:
canReplacein classAbstractBlock
-
getPlacementState
- Overrides:
getPlacementStatein classBlock
-
method_33362
@Nullable public BlockState method_33362(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos, Direction direction) -
rotate
Description copied from class:AbstractBlockApplies a block rotation to a block state.By default, this returns the provided block state.
- Overrides:
rotatein classAbstractBlock- Returns:
- the rotated block state
-
mirror
- Overrides:
mirrorin classAbstractBlock
-
method_33367
-
method_33375
public boolean method_33375(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random) -
method_33364
public boolean method_33364(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos, Direction direction, Random random) -
method_33363
public boolean method_33363(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos, Direction direction, Direction direction2) -
method_33359
-
method_33379
-
method_33366
-
method_33358
private static boolean method_33358(BlockView blockView, Direction direction, BlockPos blockPos, BlockState blockState) -
method_33378
private boolean method_33378() -
method_33365
-
method_33374
-
method_33368
-
method_33373
private static ImmutableMap<BlockState,VoxelShape> method_33373(StateManager<Block,BlockState> stateManager) -
method_33380
-
method_33381
-
method_33382
-