public class class_5544 extends class_5540 implements Waterloggable
Block.NeighborGroupAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>| Modifier and Type | Field and Description |
|---|---|
static IntProperty |
field_27174 |
static BooleanProperty |
field_27175 |
static BooleanProperty |
field_27176 |
static ToIntFunction<BlockState> |
field_27177 |
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<Vec3d>> |
field_27178 |
private static VoxelShape |
field_27179 |
private static VoxelShape |
field_27180 |
private static VoxelShape |
field_27181 |
private static VoxelShape |
field_27182 |
field_27083LOGGER, STATE_IDS, stateManagercollidable, dynamicBounds, FACINGS, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier| Constructor and Description |
|---|
class_5544(AbstractBlock.Settings settings) |
method_31614, onProjectileHit, randomDisplayTickaddStacksForDisplay, 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, pushEntitiesUpBeforeBlockChange, rainTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringcalcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getLootTableId, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onStacksDropped, onStateReplaced, onSyncedBlockEvent, prepare, randomTick, rotate, scheduledTickclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanFillWithFluid, tryDrainFluidpublic static final IntProperty field_27174
public static final BooleanProperty field_27175
public static final BooleanProperty field_27176
public static final ToIntFunction<BlockState> field_27177
private static final VoxelShape field_27179
private static final VoxelShape field_27180
private static final VoxelShape field_27181
private static final VoxelShape field_27182
public class_5544(AbstractBlock.Settings settings)
public ActionResult onUse(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, BlockHitResult blockHitResult)
AbstractBlockThis method is called on both the logical client and logical server, so take caution when overriding this method.
The logical side can be checked using world.isClient().
If the action result is successful on a logical client, then the action will be sent to the logical server for processing.
onUse in class AbstractBlockpublic boolean canReplace(BlockState blockState, ItemPlacementContext itemPlacementContext)
canReplace in class AbstractBlockpublic BlockState getPlacementState(ItemPlacementContext itemPlacementContext)
getPlacementState in class Blockpublic BlockState getStateForNeighborUpdate(BlockState blockState, Direction direction, BlockState blockState2, WorldAccess worldAccess, BlockPos blockPos, BlockPos blockPos2)
getStateForNeighborUpdate in class AbstractBlockpublic FluidState getFluidState(BlockState blockState)
getFluidState in class AbstractBlockpublic VoxelShape getOutlineShape(BlockState blockState, BlockView blockView, BlockPos blockPos, ShapeContext shapeContext)
getOutlineShape in class AbstractBlockprotected void appendProperties(StateManager.Builder<Block,BlockState> builder)
appendProperties in class Blockpublic boolean tryFillWithFluid(WorldAccess worldAccess, BlockPos blockPos, BlockState blockState, FluidState fluidState)
tryFillWithFluid in interface FluidFillabletryFillWithFluid in interface Waterloggablepublic static boolean method_31630(BlockState blockState)
@Environment(value=CLIENT) protected Iterable<Vec3d> method_31613(BlockState blockState)
method_31613 in class class_5540