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