BlockDrop

public final class BlockDrop(source)

Stores information about a block's item drop.

Parameters

pos

The position of the broken block

drop

The item stack dropped by the block

Constructors

Link copied to clipboard
public BlockDrop BlockDrop(BlockPos pos, ItemStack drop)

Properties

Link copied to clipboard
private final ItemStack drop
Link copied to clipboard
private final BlockPos pos

Functions

Link copied to clipboard
public final ItemStack getDrop()
Link copied to clipboard
public final BlockPos getPos()