Implement BlockStack in Teleposer related areas
This commit is contained in:
parent
31d41d06ab
commit
c3beb48499
5 changed files with 34 additions and 30 deletions
|
@ -43,6 +43,11 @@ public class ItemStackWrapper
|
|||
this(block, 1, 0);
|
||||
}
|
||||
|
||||
public ItemStackWrapper(BlockStack blockStack)
|
||||
{
|
||||
this(blockStack.getBlock(), 1, blockStack.getMeta());
|
||||
}
|
||||
|
||||
public static ItemStackWrapper getHolder(ItemStack stack)
|
||||
{
|
||||
return new ItemStackWrapper(stack.getItem(), stack.stackSize, stack.getItemDamage());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue