Jump to content

SolidCraft

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by SolidCraft

  1. Yeah I just used Items.GLASS_BOTTLE I don't really know why I got stuck on this haha. Thanks for the support
  2. Hello, I am trying to do a quick little override with a custom item so that it gives you back a glass bottle when you craft with my item (similar to crafting with a milk bucket). According to various wiki's the glass bottle's numeric Id is 374 but when I use that I get a lilac back instead? I'm not sure if this is due to Minecraft steering away from the numeric Id's but I couldn't figure out how to use the namespaced id since I am still new to this. Thanks in advance. Here's part of the code: @Override public boolean hasContainerItem(ItemStack stack) { return true; } @Override public ItemStack getContainerItem(ItemStack itemStack) { ItemStack cm = new ItemStack(getItemById(374)); return cm;
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.