Bucketable
Allows filling and emptying fluid containers of TileEntities that implement NetworkEndPoint and have a FluidHolder with buckets.
Functions
Link copied to clipboard
Link copied to clipboard
Retrieves the items that would be dropped when breaking a block of state at pos with the given ctx. Handlers should check BlockBreak.BLOCK_DROPS and BlockBreak.BLOCK_STORAGE_DROPS.
Link copied to clipboard
Retrieves the amount of experience that would be dropped when breaking a block of state at pos with the given ctx. Handlers should check BlockBreak.BLOCK_EXP_DROPS.
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 pickBlockCreative(pos: BlockPos, state: NovaBlockState, ctx: Context<BlockInteract>): ItemStack?
Link copied to clipboard
Whether this behavior implements random-tick logic for the given state. Note that the result of this method will be cached on startup.
Link copied to clipboard
Called when a block at neighborPos changed to update the NovaBlockState of this state at pos.
Link copied to clipboard
Link copied to clipboard
open override fun useItemOn(pos: BlockPos, state: NovaBlockState, ctx: Context<BlockInteract>): InteractionResult