Package net.minecraft
Class class_5703
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.class_5703
- All Implemented Interfaces:
BlockEntityProvider,FluidDrainable,FluidFillable,Waterloggable,ItemConvertible
public class class_5703 extends BlockWithEntity implements Waterloggable
-
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 static Object2IntMap<class_5712>field_28110static EnumProperty<class_5705>field_28111static IntPropertyfield_28112static BooleanPropertyfield_28113protected static VoxelShapefield_28114private intfield_28115Fields 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_5703(AbstractBlock.Settings settings, int int2) -
Method Summary
Methods inherited from class net.minecraft.block.BlockWithEntity
checkType, createScreenHandlerFactory, onSyncedBlockEventMethods 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, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, getAmbientOcclusionLightLevel, getCollisionShape, getCullingShape, getDefaultMapColor, getDroppedStacks, getLootTableId, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getSidesShape, getStrongRedstonePower, getVisualShape, isSideInvisible, method_32913, mirror, neighborUpdate, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onUse, prepare, randomTick, rotateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getDrainSound, tryDrainFluid, tryFillWithFluid
-
Field Details
-
field_28110
-
field_28111
-
field_28112
-
field_28113
-
field_28114
-
field_28115
private final int field_28115
-
-
Constructor Details
-
class_5703
-
-
Method Details
-
method_32907
public int method_32907() -
getPlacementState
- Overrides:
getPlacementStatein classBlock
-
getFluidState
- Overrides:
getFluidStatein classAbstractBlock
-
scheduledTick
public void scheduledTick(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, Random random)- Overrides:
scheduledTickin classAbstractBlock
-
onBlockAdded
public void onBlockAdded(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool)- Overrides:
onBlockAddedin classAbstractBlock
-
onStateReplaced
public void onStateReplaced(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool)Description copied from class:AbstractBlockCalled inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate. Vanilla blocks perform removal cleanups here.- Overrides:
onStateReplacedin classAbstractBlock
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState blockState, Direction direction, BlockState blockState2, WorldAccess worldAccess, BlockPos blockPos, BlockPos blockPos2)- Overrides:
getStateForNeighborUpdatein classAbstractBlock
-
method_32902
-
createBlockEntity
- Specified by:
createBlockEntityin interfaceBlockEntityProvider
-
method_32896
- Specified by:
method_32896in interfaceBlockEntityProvider
-
getTicker
@Nullable public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState blockState, BlockEntityType<T> blockEntityType)- Specified by:
getTickerin interfaceBlockEntityProvider
-
getRenderType
- Overrides:
getRenderTypein classBlockWithEntity
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState blockState, BlockView blockView, BlockPos blockPos, ShapeContext shapeContext)- Overrides:
getOutlineShapein classAbstractBlock
-
emitsRedstonePower
- Overrides:
emitsRedstonePowerin classAbstractBlock
-
getWeakRedstonePower
public int getWeakRedstonePower(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction)- Overrides:
getWeakRedstonePowerin classAbstractBlock
-
method_32908
-
method_32909
-
method_32903
-
method_32904
-
randomDisplayTick
@Environment(CLIENT) public void randomDisplayTick(BlockState blockState, World world, BlockPos blockPos, Random random)- Overrides:
randomDisplayTickin classBlock
-
appendProperties
- Overrides:
appendPropertiesin classBlock
-
hasComparatorOutput
- Overrides:
hasComparatorOutputin classAbstractBlock
-
getComparatorOutput
- Overrides:
getComparatorOutputin classAbstractBlock
-
hasSidedTransparency
- Overrides:
hasSidedTransparencyin classAbstractBlock
-