| Package | Description |
|---|---|
| com.sk89q.worldedit.blocks | |
| com.sk89q.worldedit.internal | |
| com.sk89q.worldedit.world |
| Modifier and Type | Method and Description |
|---|---|
BaseItemStack[] |
ContainerBlock.deserializeInventory(List<CompoundTag> items) |
BaseItemStack |
ContainerBlock.deserializeItem(Map<String,Tag> data) |
static BaseItemStack |
BlockType.getBlockDrop(int id,
short data)
Get the block drop for a block.
|
BaseItemStack |
BlockType.getBlockDrop(short data)
Get the block drop for this type given a data value.
|
BaseItemStack[] |
ContainerBlock.getItems()
Get the list of items.
|
| Modifier and Type | Method and Description |
|---|---|
List<CompoundTag> |
ContainerBlock.serializeInventory(BaseItemStack[] items) |
Map<String,Tag> |
ContainerBlock.serializeItem(BaseItemStack item) |
void |
ContainerBlock.setItems(BaseItemStack[] items)
Set the list of items.
|
| Constructor and Description |
|---|
ChestBlock(int data,
BaseItemStack[] items)
Construct the chest block with a custom data value and a list of items.
|
DispenserBlock(int data,
BaseItemStack[] items)
Construct a dispenser block with the given orientation and inventory.
|
FurnaceBlock(int type,
int data,
BaseItemStack[] items)
Construct an furnace block with a given orientation and inventory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LocalWorldAdapter.dropItem(Vector position,
BaseItemStack item) |
void |
LocalWorldAdapter.dropItem(Vector position,
BaseItemStack item,
int count) |
| Modifier and Type | Method and Description |
|---|---|
void |
NullWorld.dropItem(Vector position,
BaseItemStack item) |
void |
World.dropItem(Vector position,
BaseItemStack item)
Drop one stack of the item at the given position.
|
void |
AbstractWorld.dropItem(Vector pt,
BaseItemStack item,
int times) |
void |
World.dropItem(Vector position,
BaseItemStack item,
int count)
Drop an item at the given position.
|
Copyright © 2010-2014. All Rights Reserved.