Ejemplo n.º 1
0
 @Override
 public boolean overrideBlock(Block block, CustomBlock customBlock) {
   block.setTypeId(customBlock.getRawId());
   return overrideBlock(block, customBlock.getCustomID(), customBlock.getCustomMetaData());
 }
Ejemplo n.º 2
0
 public ItemStack getCustomItemStack(CustomBlock block, int size) {
   return new ItemStack(block.getRawId(), size, (short) block.getCustomID());
 }