WallCrownBlock

public final class WallCrownBlock extends HorizontalFacingBlock(source)

A crown placed on the wall.

Constructors

Link copied to clipboard

Inherited properties

Link copied to clipboard
protected final Boolean collidable
Link copied to clipboard
Link copied to clipboard
protected final Boolean dynamicBounds
Link copied to clipboard
protected final Float jumpVelocityMultiplier
Link copied to clipboard
@Nullable()
protected final RegistryKey<LootTable> lootTableKey
Link copied to clipboard
protected final Boolean randomTicks
Link copied to clipboard
Link copied to clipboard
protected final FeatureSet requiredFeatures
Link copied to clipboard
protected final Float resistance
Link copied to clipboard
Link copied to clipboard
protected final Float slipperiness
Link copied to clipboard
protected final BlockSoundGroup soundGroup
Link copied to clipboard
Link copied to clipboard
protected final Float velocityMultiplier

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected MapCodec<WallCrownBlock> getCodec()
Link copied to clipboard
protected VoxelShape getCullingShape(BlockState state, BlockView world, BlockPos pos)
Link copied to clipboard
protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Link copied to clipboard
Link copied to clipboard

Inherited functions

Link copied to clipboard
public Boolean addLandingEffects(BlockState state1, ServerWorld level, BlockPos pos, BlockState state2, LivingEntity entity, Integer numberOfParticles)
Link copied to clipboard
public Boolean addRunningEffects(BlockState state, World level, BlockPos pos, Entity entity)
Link copied to clipboard
public Unit afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable() BlockEntity blockEntity, ItemStack tool)
Link copied to clipboard
public Unit appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options)
Link copied to clipboard
protected Block asBlock()
Link copied to clipboard
public Item asItem()
Link copied to clipboard
protected Float calcBlockBreakingDelta(BlockState state, PlayerEntity player, BlockView world, BlockPos pos)
Link copied to clipboard
public Boolean canBeHydrated(BlockState state, BlockView getter, BlockPos pos, FluidState fluid, BlockPos fluidPos)
Link copied to clipboard
protected Boolean canBucketPlace(BlockState state, Fluid fluid)
Link copied to clipboard
public Boolean canConnectRedstone(BlockState state, BlockView level, BlockPos pos, @Nullable() @Nullable() Direction direction)
Link copied to clipboard
public Boolean canDropFromExplosion(BlockState state, BlockView level, BlockPos pos, Explosion explosion)
Link copied to clipboard
public Boolean canEntityDestroy(BlockState state, BlockView level, BlockPos pos, Entity entity)
Link copied to clipboard
public Boolean canHarvestBlock(BlockState state, BlockView level, BlockPos pos, PlayerEntity player)
Link copied to clipboard
Link copied to clipboard
protected Boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos)
Link copied to clipboard
protected Boolean canReplace(BlockState state, ItemPlacementContext context)
Link copied to clipboard
public Boolean canStickTo(BlockState state, BlockState other)
Link copied to clipboard
public Boolean canSustainPlant(BlockState state, BlockView world, BlockPos pos, Direction facing, IPlantable plantable)
Link copied to clipboard
public Boolean collisionExtendsVertically(BlockState state, BlockView level, BlockPos pos, Entity collidingEntity)
Link copied to clipboard
Link copied to clipboard
public Unit dropExperience(ServerWorld world, BlockPos pos, Integer size)
Link copied to clipboard
protected Unit dropExperienceWhenMined(ServerWorld world, BlockPos pos, ItemStack tool, IntProvider experience)
Link copied to clipboard
Link copied to clipboard
@Nullable()
public @Nullable() PathNodeType getAdjacentBlockPathType(BlockState state, BlockView level, BlockPos pos, @Nullable() @Nullable() MobEntity mob, PathNodeType originalType)
Link copied to clipboard
Link copied to clipboard
public BlockState getAppearance(BlockState state, BlockRenderView level, BlockPos pos, Direction side, @Nullable() @Nullable() BlockState queryState, @Nullable() @Nullable() BlockPos queryPos)
Link copied to clipboard
@Nullable()
public Integer getBeaconColorMultiplier(BlockState state, WorldView level, BlockPos pos, BlockPos beaconPos)
Link copied to clipboard
public Direction getBedDirection(BlockState state, WorldView level, BlockPos pos)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public Float getBlastResistance()
Link copied to clipboard
@Nullable()
public @Nullable() PathNodeType getBlockPathType(BlockState state, BlockView level, BlockPos pos, @Nullable() @Nullable() MobEntity mob)
Link copied to clipboard
protected VoxelShape getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Link copied to clipboard
public ItemStack getCloneItemStack(BlockState state, HitResult target, WorldView level, BlockPos pos, PlayerEntity player)
Link copied to clipboard
protected VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
Link copied to clipboard
protected Integer getComparatorOutput(BlockState state, World world, BlockPos pos)
Link copied to clipboard
Link copied to clipboard
public final BlockState getDefaultState()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Integer getExpDrop(BlockState state, WorldView level, Random randomSource, BlockPos pos, Integer fortuneLevel, Integer silkTouchLevel)
Link copied to clipboard
public Float getExplosionResistance(BlockState state, BlockView level, BlockPos pos, Explosion explosion)
Link copied to clipboard
public Integer getFireSpreadSpeed(BlockState state, BlockView level, BlockPos pos, Direction direction)
Link copied to clipboard
public Integer getFlammability(BlockState state, BlockView level, BlockPos pos, Direction direction)
Link copied to clipboard
Link copied to clipboard
public Float getFriction(BlockState state, WorldView level, BlockPos pos, @Nullable() @Nullable() Entity entity)
Link copied to clipboard
public Float getHardness()
Link copied to clipboard
Link copied to clipboard
public Integer getLightEmission(BlockState state, BlockView level, BlockPos pos)
Link copied to clipboard
Link copied to clipboard
public MapColor getMapColor(BlockState state, BlockView level, BlockPos pos, MapColor defaultColor)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected Integer getOpacity(BlockState state, BlockView world, BlockPos pos)
Link copied to clipboard
public ItemStack getPickStack(WorldView world, BlockPos pos, BlockState state)
Link copied to clipboard
@Nullable()
public @Nullable() PistonBehavior getPistonPushReaction(BlockState state)
Link copied to clipboard
protected VoxelShape getRaycastShape(BlockState state, BlockView world, BlockPos pos)
Link copied to clipboard
@Deprecated(message = "Deprecated in Java")
public RegistryEntry.Reference<Block> getRegistryEntry()
Link copied to clipboard
protected Long getRenderingSeed(BlockState state, BlockPos pos)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Optional<Vec3d> getRespawnPosition(BlockState state, EntityType<?> type, WorldView levelReader, BlockPos pos, Float orientation, @Nullable() @Nullable() LivingEntity entity)
Link copied to clipboard
Link copied to clipboard
protected ImmutableMap<BlockState, VoxelShape> getShapesForStates(Function<BlockState, VoxelShape> stateToShape)
Link copied to clipboard
protected VoxelShape getSidesShape(BlockState state, BlockView world, BlockPos pos)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public BlockSoundGroup getSoundType(BlockState state, WorldView level, BlockPos pos, @Nullable() Entity entity)
Link copied to clipboard
public BlockState getStateAtViewpoint(BlockState state, BlockView level, BlockPos pos, Vec3d viewpoint)
Link copied to clipboard
protected BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected Integer getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
Link copied to clipboard
@Nullable()
public @Nullable() BlockState getToolModifiedState(BlockState state, ItemUsageContext context, ToolAction toolAction, Boolean simulate)
Link copied to clipboard
Link copied to clipboard
public Boolean getWeakChanges(BlockState state, WorldView level, BlockPos pos)
Link copied to clipboard
protected Integer getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected Boolean hasRandomTicks(BlockState state)
Link copied to clipboard
Link copied to clipboard
public Boolean hidesNeighborFace(BlockView level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir)
Link copied to clipboard
public Unit initializeClient(Consumer<IClientBlockExtensions> consumer)
Link copied to clipboard
protected Boolean isAir(BlockState state)
Link copied to clipboard
public Boolean isBed(BlockState state, BlockView level, BlockPos pos, @Nullable() @Nullable() Entity player)
Link copied to clipboard
public Boolean isBurning(BlockState state, BlockView level, BlockPos pos)
Link copied to clipboard
public Boolean isConduitFrame(BlockState state, WorldView level, BlockPos pos, BlockPos conduit)
Link copied to clipboard
Link copied to clipboard
public Boolean isEnabled(FeatureSet enabledFeatures)
Link copied to clipboard
public Boolean isFertile(BlockState state, BlockView level, BlockPos pos)
Link copied to clipboard
public Boolean isFireSource(BlockState state, WorldView level, BlockPos pos, Direction direction)
Link copied to clipboard
public Boolean isFlammable(BlockState state, BlockView level, BlockPos pos, Direction direction)
Link copied to clipboard
public Boolean isLadder(BlockState state, WorldView level, BlockPos pos, LivingEntity entity)
Link copied to clipboard
public Boolean isPortalFrame(BlockState state, BlockView level, BlockPos pos)
Link copied to clipboard
public Boolean isScaffolding(BlockState state, WorldView level, BlockPos pos, LivingEntity entity)
Link copied to clipboard
protected Boolean isShapeFullCube(BlockState state, BlockView world, BlockPos pos)
Link copied to clipboard
protected Boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected Boolean isTransparent(BlockState state, BlockView world, BlockPos pos)
Link copied to clipboard
public Boolean isValidSpawn(BlockState state, BlockView level, BlockPos pos, SpawnLocation type, EntityType<?> entityType)
Link copied to clipboard
public Boolean makesOpenTrapdoorAboveClimbable(BlockState state, WorldView level, BlockPos pos, BlockState trapdoorState)
Link copied to clipboard
protected BlockState mirror(BlockState state, BlockMirror mirror)
Link copied to clipboard
protected Unit neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, Boolean notify)
Link copied to clipboard
protected Unit onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, Boolean notify)
Link copied to clipboard
protected Unit onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)
Link copied to clipboard
public Unit onBlockExploded(BlockState state, World level, BlockPos pos, Explosion explosion)
Link copied to clipboard
public Unit onBlockStateChange(WorldView level, BlockPos pos, BlockState oldState, BlockState newState)
Link copied to clipboard
public BlockState onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
Link copied to clipboard
public Unit onBroken(WorldAccess world, BlockPos pos, BlockState state)
Link copied to clipboard
public Unit onCaughtFire(BlockState state, World level, BlockPos pos, @Nullable() @Nullable() Direction direction, @Nullable() @Nullable() LivingEntity igniter)
Link copied to clipboard
public Unit onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)
Link copied to clipboard
public Boolean onDestroyedByPlayer(BlockState state, World level, BlockPos pos, PlayerEntity player, Boolean willHarvest, FluidState fluid)
Link copied to clipboard
protected Unit onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
Link copied to clipboard
public Unit onEntityLand(BlockView world, Entity entity)
Link copied to clipboard
protected Unit onExploded(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger)
Link copied to clipboard
public Unit onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, Float fallDistance)
Link copied to clipboard
public Unit onNeighborChange(BlockState state, WorldView level, BlockPos pos, BlockPos neighbor)
Link copied to clipboard
public Unit onPlaced(World world, BlockPos pos, BlockState state, @Nullable() LivingEntity placer, ItemStack itemStack)
Link copied to clipboard
protected Unit onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)
Link copied to clipboard
protected Unit onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack tool, Boolean dropExperience)
Link copied to clipboard
protected Unit onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, Boolean moved)
Link copied to clipboard
public Unit onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity)
Link copied to clipboard
protected Boolean onSyncedBlockEvent(BlockState state, World world, BlockPos pos, Integer type, Integer data)
Link copied to clipboard
public Boolean onTreeGrow(BlockState state, WorldView level, BiConsumer<BlockPos, BlockState> placeFunction, Random randomSource, BlockPos pos, TreeFeatureConfig config)
Link copied to clipboard
protected ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit)
Link copied to clipboard
protected ItemActionResult onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Link copied to clipboard
public Unit precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation)
Link copied to clipboard
protected Unit prepare(BlockState state, WorldAccess world, BlockPos pos, Integer flags, Integer maxUpdateDepth)
Link copied to clipboard
public Unit randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
Link copied to clipboard
protected Unit randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
Link copied to clipboard
protected BlockState rotate(BlockState state, BlockRotation rotation)
public BlockState rotate(BlockState state, WorldAccess level, BlockPos pos, BlockRotation direction)
Link copied to clipboard
protected Unit scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
Link copied to clipboard
public Unit setBedOccupied(BlockState state, World level, BlockPos pos, LivingEntity sleeper, Boolean occupied)
Link copied to clipboard
protected final Unit setDefaultState(BlockState state)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected Unit spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state)
Link copied to clipboard
Link copied to clipboard
public String toString()