Example #1
0
 @Override
 public String getUnlocalizedName(ItemStack stack) {
   return owner.getUnlocalizedName(stack, super.getUnlocalizedName(stack));
 }
Example #2
0
 @Override
 public int getColorFromItemStack(ItemStack stack, int renderPass) {
   return getBlock().getRenderColor(owner.getBlockState(type, owner.getVariant(stack)));
 }