Jump to content

reasure

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by reasure

  1. This is part of the Tutorial Code for Tile Entities with one slot. I want to know the role of each parameter in moveItemStackTo(). (or mergeItemStack() in other mappings.)
  2. I think You've already solved it in a different way, but I changed the Eclipse version to 2020.6 and it worked. (I think intelliJ is better, though.)
  3. { "type": "minecraft:crafting_shapeless", "ingredients": [ { "item": "minecraft:apple" }, { "type": "forge:nbt", "item": "minecraft:potion", "count": 1, "nbt": "{Potion:\"minecraft:poison\"}" } ], "result": { "item": "reasurecraft:poison_apple" } } It worked! Thank you!!!
  4. { "type": "minecraft:crafting_shapeless", "ingredients": [ { "item": "minecraft:apple" }, { "item": "minecraft:potion" } ], "result": { "item": "reasurecraft:poison_apple" } } Here is Json file
  5. ShapelessRecipeBuilder.shapeless(ModItems.POISON_APPLE.get()) .requires(Items.APPLE) .requires(NBTIngredient.of(PotionUtils.setPotion(new ItemStack(Items.POTION), Potions.POISON))) .unlockedBy("has_item", has(Items.APPLE)) .save(consumer); It's not work too
  6. How can I specify potions in recipes? ShapelessRecipeBuilder.shapeless(ModItems.POSION_APPLE.get()) .requires(Items.APPLE) .requires(Ingredient.of(PotionUtils.setPotion(new ItemStack(Items.POTION), Potions.POISON))) .unlockedBy("has_item", has(Items.APPLE)) .save(consumer); It's not work
×
×
  • Create New...

Important Information

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