WrapperBlockState

class WrapperBlockState(val novaState: NovaBlockState) : BlockState

Constructors

Link copied to clipboard
constructor(novaState: NovaBlockState)

Properties

Link copied to clipboard
open val block: Block?
Link copied to clipboard
val BlockState.bukkitBlockData: BlockData
Link copied to clipboard
val bukkitMaterial: Material?
Link copied to clipboard
Link copied to clipboard
val fluidState: FluidState?
Link copied to clipboard
val BlockState.id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val isSingletonState: Boolean
Link copied to clipboard
open val isSolid: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val occlusionShape: VoxelShape?
Link copied to clipboard
open val pistonPushReaction: PushReaction?
Link copied to clipboard
open override val properties: Collection<Property<*>?>?
Link copied to clipboard
open val renderShape: RenderShape?
Link copied to clipboard
open val soundType: SoundType?
Link copied to clipboard
open override val values: Stream<Property.Value<*>?>?

Functions

Link copied to clipboard
open fun affectNeighborsAfterRemoval(level: ServerLevel?, pos: BlockPos?, movedByPiston: Boolean)
Link copied to clipboard
open fun asBlockData(): CraftBlockData?
Link copied to clipboard
open fun attack(level: Level?, pos: BlockPos?, player: Player?)
Link copied to clipboard
open fun blocksMotion(): Boolean
Link copied to clipboard
open fun canBeReplaced(context: BlockPlaceContext?): Boolean
open fun canBeReplaced(fluid: Fluid?): Boolean
Link copied to clipboard
Link copied to clipboard
open fun canSurvive(level: LevelReader?, pos: BlockPos?): Boolean
Link copied to clipboard
open fun <T : Comparable<T?>?> cycle(property: Property<T?>?): BlockState?
Link copied to clipboard
open fun emissiveRendering(level: BlockGetter?, pos: BlockPos?): Boolean
Link copied to clipboard
fun entityCanStandOn(level: BlockGetter?, pos: BlockPos?, entity: Entity?): Boolean
Link copied to clipboard
fun entityCanStandOnFace(level: BlockGetter?, pos: BlockPos?, entity: Entity?, faceDirection: Direction?): Boolean
Link copied to clipboard
open fun entityInside(level: Level?, pos: BlockPos?, entity: Entity?, effectApplier: InsideBlockEffectApplier?, isPrecise: Boolean)
Link copied to clipboard
open fun getAnalogOutputSignal(level: Level?, pos: BlockPos?, direction: Direction?): Int
Link copied to clipboard
open fun getBlockSupportShape(level: BlockGetter?, pos: BlockPos?): VoxelShape?
Link copied to clipboard
open fun getCloneItemStack(level: LevelReader?, pos: BlockPos?, includeData: Boolean): ItemStack?
Link copied to clipboard
open fun getCollisionShape(level: BlockGetter?, pos: BlockPos?): VoxelShape?
open fun getCollisionShape(level: BlockGetter?, pos: BlockPos?, context: CollisionContext?): VoxelShape?
Link copied to clipboard
open fun getDestroyProgress(player: Player?, level: BlockGetter?, pos: BlockPos?): Float
Link copied to clipboard
open fun getDestroySpeed(level: BlockGetter?, pos: BlockPos?): Float
Link copied to clipboard
open fun getDirectSignal(level: BlockGetter?, pos: BlockPos?, direction: Direction?): Int
Link copied to clipboard
open fun getDrops(params: LootParams.Builder?): List<ItemStack?>?
Link copied to clipboard
open fun getEntityInsideCollisionShape(level: BlockGetter?, pos: BlockPos?, entity: Entity?): VoxelShape?
Link copied to clipboard
open fun getFaceOcclusionShape(direction: Direction?): VoxelShape?
Link copied to clipboard
open fun getInteractionShape(level: BlockGetter?, pos: BlockPos?): VoxelShape?
Link copied to clipboard
open fun getMapColor(level: BlockGetter?, pos: BlockPos?): MapColor?
Link copied to clipboard
open fun getMenuProvider(level: Level?, pos: BlockPos?): @Nullable MenuProvider?
Link copied to clipboard
open fun getOffset(pos: BlockPos?): Vec3?
Link copied to clipboard
open fun <T : Comparable<T?>?> getOptionalValue(property: Property<T?>?): Optional<T?>?
Link copied to clipboard
open fun getPostProcessPos(level: BlockGetter?, pos: BlockPos?): @Nullable BlockPos?
Link copied to clipboard
open fun getSeed(pos: BlockPos?): Long
Link copied to clipboard
open fun getShadeBrightness(level: BlockGetter?, pos: BlockPos?): Float
Link copied to clipboard
open fun getShape(level: BlockGetter?, pos: BlockPos?): VoxelShape?
open fun getShape(level: BlockGetter?, pos: BlockPos?, context: CollisionContext?): VoxelShape?
Link copied to clipboard
open fun getSignal(level: BlockGetter?, pos: BlockPos?, direction: Direction?): Int
Link copied to clipboard
open fun <T : BlockEntity?> getTicker(level: Level?, type: BlockEntityType<T?>?): @Nullable BlockEntityTicker<T?>?
Link copied to clipboard
open fun <T : Comparable<T?>?> getValue(property: Property<T?>?): T?
Link copied to clipboard
open fun <T : Comparable<T?>?> getValueOrElse(property: Property<T?>?, defaultValue: T?): T?
Link copied to clipboard
open fun getVisualShape(level: BlockGetter?, pos: BlockPos?, context: CollisionContext?): VoxelShape?
Link copied to clipboard
open fun handleNeighborChanged(level: Level?, pos: BlockPos?, block: Block?, orientation: @Nullable Orientation?, movedByPiston: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hasProperty(property: Property<*>?): Boolean
Link copied to clipboard
fun <T : Comparable<T>> BlockState.hasProperty(property: Property<T>, value: T): Boolean
Link copied to clipboard
Link copied to clipboard
open fun initCache()
Link copied to clipboard
open fun instrument(): NoteBlockInstrument?
Link copied to clipboard
open fun is(rawType: Block?): Boolean
open fun is(set: HolderSet<Block?>?): Boolean
open fun is(type: Holder<Block?>?): Boolean
open fun is(type: ResourceKey<Block?>?): Boolean
open fun is(tag: TagKey<Block?>?): Boolean
open fun is(tag: TagKey<Block?>?, predicate: Predicate<BlockBehaviour.BlockStateBase?>?): Boolean
Link copied to clipboard
open fun isCollisionShapeFullBlock(level: BlockGetter?, pos: BlockPos?): Boolean
Link copied to clipboard
open fun isFaceSturdy(level: BlockGetter?, pos: BlockPos?, direction: Direction?): Boolean
open fun isFaceSturdy(level: BlockGetter?, pos: BlockPos?, direction: Direction?, supportType: SupportType?): Boolean
Link copied to clipboard
open fun isPathfindable(type: PathComputationType?): Boolean
Link copied to clipboard
open fun isRedstoneConductor(level: BlockGetter?, pos: BlockPos?): Boolean
Link copied to clipboard
open fun isSuffocating(level: BlockGetter?, pos: BlockPos?): Boolean
Link copied to clipboard
open fun isValidSpawn(level: BlockGetter?, pos: BlockPos?, type: EntityType<*>?): Boolean
Link copied to clipboard
open fun isViewBlocking(level: BlockGetter?, pos: BlockPos?): Boolean
Link copied to clipboard
open fun liquid(): Boolean
Link copied to clipboard
open fun mirror(mirror: Mirror?): BlockState?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun moonrise$init(states: Collection<BlockState?>?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onExplosionHit(level: ServerLevel?, pos: BlockPos?, explosion: Explosion?, onHit: BiConsumer<ItemStack?, BlockPos?>?)
Link copied to clipboard
open fun onPlace(level: Level?, pos: BlockPos?, oldState: BlockState?, movedByPiston: Boolean)
open fun onPlace(level: Level?, pos: BlockPos?, oldState: BlockState?, movedByPiston: Boolean, context: @Nullable UseOnContext?)
Link copied to clipboard
open fun onProjectileHit(level: Level?, state: BlockState?, blockHit: BlockHitResult?, entity: Projectile?)
Link copied to clipboard
Link copied to clipboard
open fun randomTick(level: ServerLevel?, pos: BlockPos?, random: RandomSource?)
Link copied to clipboard
Link copied to clipboard
open fun rotate(rotation: Rotation?): BlockState?
Link copied to clipboard
open fun <T : Comparable<T?>?, V : T?> setValue(property: Property<T?>?, value: V?): BlockState?
Link copied to clipboard
open fun shouldChangedStateKeepBlockEntity(oldState: BlockState?): Boolean
Link copied to clipboard
Link copied to clipboard
open fun skipRendering(neighborState: BlockState?, direction: Direction?): Boolean
Link copied to clipboard
open fun spawnAfterBreak(level: ServerLevel?, pos: BlockPos?, tool: ItemStack?, dropExperience: Boolean)
Link copied to clipboard
open fun tags(): Stream<TagKey<Block?>?>?
Link copied to clipboard
open fun tick(level: ServerLevel?, pos: BlockPos?, random: RandomSource?)
Link copied to clipboard
open fun triggerEvent(level: Level?, pos: BlockPos?, b0: Int, b1: Int): Boolean
Link copied to clipboard
open fun <T : Comparable<T?>?, V : T?> trySetValue(property: Property<T?>?, value: V?): BlockState?
Link copied to clipboard
open fun typeHolder(): Holder<Block?>?
Link copied to clipboard
fun updateIndirectNeighbourShapes(level: LevelAccessor?, pos: BlockPos?, updateFlags: Int)
open fun updateIndirectNeighbourShapes(level: LevelAccessor?, pos: BlockPos?, updateFlags: Int, updateLimit: Int)
Link copied to clipboard
fun updateNeighbourShapes(level: LevelAccessor?, pos: BlockPos?, updateFlags: Int)
fun updateNeighbourShapes(level: LevelAccessor?, pos: BlockPos?, updateFlags: Int, updateLimit: Int)
Link copied to clipboard
open fun updateShape(level: LevelReader?, ticks: ScheduledTickAccess?, pos: BlockPos?, directionToNeighbour: Direction?, neighbourPos: BlockPos?, neighbourState: BlockState?, random: RandomSource?): BlockState?
Link copied to clipboard
open fun useItemOn(itemStack: ItemStack?, level: Level?, player: Player?, hand: InteractionHand?, hitResult: BlockHitResult?): InteractionResult?
Link copied to clipboard
open fun useWithoutItem(level: Level?, player: Player?, hitResult: BlockHitResult?): InteractionResult?