Jump to content

AntoPrime

Members
  • Posts

    6
  • Joined

  • Last visited

AntoPrime's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Hi, I tried to replace the recipe for the stone tools and it didn't work. After testing different recipes, I found that we can replace/override vanilla recipes composed of one item type (e.g. just planks or just cobblestones). But if we want to replace a recipe composed of more than two item types (e.g. planks and cobblestones or redstone and iron ingot), we can't. That's annoying... Have you found this issue before? What do you think about it?
  2. Thank you, I found how to do it, it's really easy! What I didn't get is that I had to make a directory in src/main/resources and name it data.minecraft.loot_tables.blocks and place my JSON file in it. By just naming the package "data.minecraft", it automatically overrides Minecraft's loot tables! To replace the loot table with your custom item, that's how you need to write the JSON file: And name the file oak_log if you want to override the Oak Log loot table for example.
  3. Thanks for the reply. I've read about it, but I don't know how to properly apply it. Do I need to put the loot table file in my mod ressources? What do I need to put in the file?
  4. Hi, I'm new to modding and I would like to drop a custom item from a vanilla block. After several tests, I tested this with just a vanilla item: But even this doesn't drop a stone from dirt. Can you please help me?
  5. Hi, What I want to do is to remove a Mob (Ghasts for example) when a world is created. I tried different things, I know how to code in C and I understand most of Java, but I don't understand everything in all the code I read from various topics in different forums. That is why I'm coming here to seek help. The last thing I tried is this: I put this method in my Main class and I wanted to test this with the Zombie Pigman. (My Mod loads perfectly for 1.12, I followed a tutorial on YouTube to set this up and create blocks and items. But I want to do something else like remove a specific mobs.) I thank you in advance for reading this topic and for your help.
  6. Hi, What I want to do is to remove a Mob (Ghasts for example) when a world is created. I tried different things, I know how to code in C and I understand most of Java, but I don't understand everything in all the code I read from various topics in different forums. That is why I'm coming here to seek help. The last thing I tried is this: I put this method in my Main class and I wanted to test this with the Zombie Pigman. (My Mod loads perfectly for 1.12, I followed a tutorial on YouTube to set this up and create blocks and items. But I want to do something else like remove a specific mobs.) I thank you in advance for reading this topic and for your help.
×
×
  • Create New...

Important Information

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