Stair Block
class StairBlock(baseBlockState: BlockState, properties: BlockBehaviour.Properties) : StairBlock(source)
Normal Fence Gate Block class, inheriting from Vanilla's FenceGateBlock
Constructors
Inherited functions
Link copied to clipboard
Link copied to clipboard
open fun appendHoverText(stack: ItemStack, context: Item.TooltipContext, tooltipComponents: MutableList<Component>, tooltipFlag: TooltipFlag)
Link copied to clipboard
Link copied to clipboard
open override fun canPlaceLiquid(@Nullable player: Player?, level: BlockGetter, pos: BlockPos, state: BlockState, fluid: Fluid): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAppearance(state: BlockState, renderView: BlockAndTintGetter, pos: BlockPos, side: Direction, @Nullable sourceState: @Nullable BlockState?, @Nullable sourcePos: @Nullable BlockPos?): BlockState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun handlePrecipitation(state: BlockState, level: Level, pos: BlockPos, precipitation: Biome.Precipitation)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun pickupBlock(@Nullable player: Player?, level: LevelAccessor, pos: BlockPos, state: BlockState): ItemStack
Link copied to clipboard
open override fun placeLiquid(level: LevelAccessor, pos: BlockPos, state: BlockState, fluidState: FluidState): Boolean
Link copied to clipboard
open fun playerDestroy(level: Level, player: Player, pos: BlockPos, state: BlockState, @Nullable blockEntity: BlockEntity?, tool: ItemStack)
Link copied to clipboard
open fun playerWillDestroy(level: Level, pos: BlockPos, state: BlockState, player: Player): BlockState
Link copied to clipboard
Link copied to clipboard
Registers a block to the Minecraft registry with the resource location set to the Mod ID
Link copied to clipboard
Registers an item to the Minecraft registry with the resource location set to the Mod ID
Link copied to clipboard
Registers a block & item to the Minecraft registry with the resource location set to the Mod ID
Link copied to clipboard
Link copied to clipboard
open fun setPlacedBy(level: Level, pos: BlockPos, state: BlockState, @Nullable placer: LivingEntity?, stack: ItemStack)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard