Package net.minecraft
Class class_5635
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.class_5635
- All Implemented Interfaces:
FluidDrainable,ItemConvertible
public class class_5635 extends Block implements FluidDrainable
-
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 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_5635(AbstractBlock.Settings settings) -
Method Summary
Modifier and Type Method Description VoxelShapegetCollisionShape(BlockState blockState, BlockView blockView, BlockPos blockPos, ShapeContext shapeContext)VoxelShapegetCullingShape(BlockState blockState, BlockView blockView, BlockPos blockPos)VoxelShapegetVisualShape(BlockState blockState, BlockView blockView, BlockPos blockPos, ShapeContext shapeContext)booleanisSideInvisible(BlockState blockState, BlockState blockState2, Direction direction)Optional<SoundEvent>method_32351()static booleanmethod_32355(Entity entity)static voidmethod_32356(World world, Vec3d vec3d)voidonEntityCollision(BlockState blockState, World world, BlockPos blockPos, Entity entity)ItemStacktryDrainFluid(WorldAccess worldAccess, BlockPos blockPos, BlockState blockState)Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, pushEntitiesUpBeforeBlockChange, rainTick, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
Constructor Details
-
class_5635
-
-
Method Details
-
isSideInvisible
@Environment(CLIENT) public boolean isSideInvisible(BlockState blockState, BlockState blockState2, Direction direction)- Overrides:
isSideInvisiblein classAbstractBlock
-
getCullingShape
- Overrides:
getCullingShapein classAbstractBlock
-
onEntityCollision
public void onEntityCollision(BlockState blockState, World world, BlockPos blockPos, Entity entity)- Overrides:
onEntityCollisionin classAbstractBlock
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState blockState, BlockView blockView, BlockPos blockPos, ShapeContext shapeContext)- Overrides:
getCollisionShapein classAbstractBlock
-
getVisualShape
public VoxelShape getVisualShape(BlockState blockState, BlockView blockView, BlockPos blockPos, ShapeContext shapeContext)- Overrides:
getVisualShapein classAbstractBlock
-
method_32356
-
method_32355
-
tryDrainFluid
- Specified by:
tryDrainFluidin interfaceFluidDrainable
-
method_32351
- Specified by:
method_32351in interfaceFluidDrainable
-