public class FurnaceMetaImpl extends Object implements FurnaceMeta
Constructor and Description |
---|
FurnaceMetaImpl() |
Modifier and Type | Method and Description |
---|---|
Substance[] |
applyTo(MetaCollection collection)
Invoked to register the meta tag
|
int |
burnTicks() |
Meta<Block> |
decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue)
Decodes the block meta
|
byte |
encode()
Encodes the block metadata into a single byte, which is then combined with the rest of the metadata
|
Item |
fuelSlot() |
TridentInventory |
furnaceInventory() |
Meta<Block> |
make()
Make a new instance of this meta object
|
Item |
resultSlot() |
void |
setBurnTicks(int burnTicks) |
void |
setFuelSlot(Item fuel) |
void |
setResultSlot(Item result) |
void |
setSourceSlot(Item source) |
Item |
sourceSlot() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decodeMeta, dependencies, encodeMeta
public FurnaceMetaImpl()
public Item sourceSlot()
sourceSlot
in interface FurnaceMeta
public Item fuelSlot()
fuelSlot
in interface FurnaceMeta
public Item resultSlot()
resultSlot
in interface FurnaceMeta
public int burnTicks()
burnTicks
in interface FurnaceMeta
public void setSourceSlot(Item source)
setSourceSlot
in interface FurnaceMeta
public void setFuelSlot(Item fuel)
setFuelSlot
in interface FurnaceMeta
public void setResultSlot(Item result)
setResultSlot
in interface FurnaceMeta
public void setBurnTicks(int burnTicks)
setBurnTicks
in interface FurnaceMeta
public byte encode()
BlockMeta
public Meta<Block> decode(Block instance, float yaw, byte direction, byte cx, byte cy, byte cz, short damageValue)
BlockMeta
public Meta<Block> make()
Meta
public Substance[] applyTo(MetaCollection collection)
Meta
public TridentInventory furnaceInventory()
Copyright © 2016. All rights reserved.