Package net.minecraft.block
Class CauldronBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.CauldronBlock
- All Implemented Interfaces:
ItemConvertible
public class CauldronBlock extends Block
-
Nested Class Summary
Nested 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 IntPropertyLEVELprotected static VoxelShapeOUTLINE_SHAPEprivate static VoxelShapeRAY_TRACE_SHAPEFields inherited from class net.minecraft.block.AbstractBlock
collidable, dynamicBounds, FACINGS, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier -
Constructor Summary
Constructors Constructor Description CauldronBlock(AbstractBlock.Settings settings) -
Method Summary
Modifier and Type Method Description protected voidappendProperties(StateManager.Builder<Block,BlockState> builder)booleancanPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)intgetComparatorOutput(BlockState state, World world, BlockPos pos)VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)VoxelShapegetRayTraceShape(BlockState state, BlockView world, BlockPos pos)booleanhasComparatorOutput(BlockState state)voidonEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)ActionResultonUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)voidrainTick(World world, BlockPos pos)voidsetLevel(World world, BlockPos pos, BlockState state, int level)Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, asBlock, asItem, buildTooltip, 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, is, isFaceFullSquare, isIn, isShapeFullCube, isSideSolidFullSquare, isTranslucent, method_30094, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replaceBlock, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getCullingShape, getDefaultMaterialColor, getDroppedStacks, getFluidState, getLootTableId, getOffsetType, getOpacity, getPistonBehavior, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasBlockEntity, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, prepare, randomTick, rotate, scheduledTick
-
Field Details
-
Constructor Details
-
Method Details
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getOutlineShapein classAbstractBlock
-
getRayTraceShape
- Overrides:
getRayTraceShapein classAbstractBlock
-
onEntityCollision
- Overrides:
onEntityCollisionin classAbstractBlock
-
onUse
public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)- Overrides:
onUsein classAbstractBlock
-
setLevel
-
rainTick
-
hasComparatorOutput
- Overrides:
hasComparatorOutputin classAbstractBlock
-
getComparatorOutput
- Overrides:
getComparatorOutputin classAbstractBlock
-
appendProperties
- Overrides:
appendPropertiesin classBlock
-
canPathfindThrough
public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)- Overrides:
canPathfindThroughin classAbstractBlock
-