@Deprecated public abstract class BlockBag extends Object
| Constructor and Description |
|---|
BlockBag()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addSingleSourcePosition(WorldVector position)
Deprecated.
Adds a position to be used a source.
|
abstract void |
addSourcePosition(WorldVector position)
Deprecated.
Adds a position to be used a source.
|
void |
fetchBlock(int id)
Deprecated.
Get a block.
|
void |
fetchItem(BaseItem item)
Deprecated.
Get a block.
|
void |
fetchPlacedBlock(int id)
Deprecated.
Use
fetchPlacedBlock(int,int) instead |
void |
fetchPlacedBlock(int id,
int data)
Deprecated.
Sets a block as if it was placed by hand.
|
abstract void |
flushChanges()
Deprecated.
Flush any changes.
|
boolean |
peekBlock(int id)
Deprecated.
Checks to see if a block exists without removing it.
|
void |
storeBlock(int id)
Deprecated.
Store a block.
|
void |
storeDroppedBlock(int id)
Deprecated.
Use
storeDroppedBlock(int, int) instead |
void |
storeDroppedBlock(int id,
int data)
Deprecated.
Stores a block as if it was mined.
|
void |
storeItem(BaseItem item)
Deprecated.
Store a block.
|
@Deprecated public void storeDroppedBlock(int id) throws BlockBagException
storeDroppedBlock(int, int) insteadid - the ID of the blockBlockBagException - thrown on a errorpublic void storeDroppedBlock(int id,
int data)
throws BlockBagException
id - the ID of the blockdata - the data value of the blockBlockBagException - thrown on a error@Deprecated public void fetchPlacedBlock(int id) throws BlockBagException
fetchPlacedBlock(int,int) insteadid - the ID of the blockBlockBagExceptionpublic void fetchPlacedBlock(int id,
int data)
throws BlockBagException
id - the ID of the blockdata - the data value of the blockBlockBagExceptionpublic void fetchBlock(int id)
throws BlockBagException
id - the ID of the blockBlockBagExceptionpublic void fetchItem(BaseItem item) throws BlockBagException
item - the itemBlockBagExceptionpublic void storeBlock(int id)
throws BlockBagException
id - the ID of the blockBlockBagExceptionpublic void storeItem(BaseItem item) throws BlockBagException
item - the itemBlockBagExceptionpublic boolean peekBlock(int id)
id - the ID of the blockpublic abstract void flushChanges()
public abstract void addSourcePosition(WorldVector position)
position - the position of the sourcepublic abstract void addSingleSourcePosition(WorldVector position)
position - the position of the sourceCopyright © 2010-2014. All Rights Reserved.