Everything posted by TheRPGAdventurer
-
1.10.2 How to add Loot tables for mobs
I updated it but it still doesn't drop anything can you see what's wrong with it?https://pastebin.com/HAKGmKp3
-
1.10.2 How to add Loot tables for mobs
I actually based on the sheep's the second pool never existed and what probably causing the bug.
-
1.10.2 How to add Loot tables for mobs
Wait, you don't need to register it just like minecraft's loottablelist and the location is in the JSON itself?
-
1.10.2 How to add Loot tables for mobs
what second pool?
-
1.10.2 How to add Loot tables for mobs
Here is one of the loot tables JSON, I made 5 per breed, https://pastebin.com/E1BkEF05
-
1.10.2 How to add Loot tables for mobs
I did
-
1.10.2 How to add Loot tables for mobs
So there's nothing wrong in the class I made?
-
1.10.2 How to add Loot tables for mobs
I did, I mean in the loot table class.
-
1.10.2 How to add Loot tables for mobs
So you're telling me that minecraft van put anything without name property but modders need to? Am I forgetting something? package com.TheRPGAdventurer; import static com.TheRPGAdventurer.RealmOfTheDragonsLootTables.RegistrationHandler.create; import com.TheRPGAdventurer.RealmOfTheDragons; import java.util.HashSet; import java.util.Set; import net.minecraft.util.ResourceLocation; import net.minecraft.world.storage.loot.LootTable; import net.minecraft.world.storage.loot.LootTableList; public class RealmOfTheDragonsLootTables { public static final ResourceLocation ENTITIES_DRAGON_AMETHYST = create("amethsyt"); public static final ResourceLocation ENTITIES_DRAGON_GARNET = create("garnet"); public static final ResourceLocation ENTITIES_DRAGON_JADE = create("jade"); public static final ResourceLocation ENTITIES_DRAGON_RUBY = create("ruby"); public static final ResourceLocation ENTITIES_DRAGON_SAPPHIRE = create("sapphire"); /** * Register this mod's {@link LootTable}s. */ public static void registerLootTables() { RegistrationHandler.LOOT_TABLES.forEach(LootTableList::register); } public static class RegistrationHandler { /** * Stores the IDs of this mod's {@link LootTable}s. */ private static final Set<ResourceLocation> LOOT_TABLES = new HashSet<>(); /** * Create a {@link LootTable} ID. * * @param id The ID of the LootTable without the testmod3: prefix * @return The ID of the LootTable */ protected static ResourceLocation create(String id) { final ResourceLocation lootTable = new ResourceLocation(RealmOfTheDragons.MODID, id); RegistrationHandler.LOOT_TABLES.add(lootTable); return lootTable; } } }
-
1.10.2 How to add Loot tables for mobs
So you're telling me that minecraft van put anything without name property but modders need to?
-
1.10.2 How to add Loot tables for mobs
Here is one of the lootables, I based with sheep's. https://pastebin.com/BeJD1GQN
-
1.10.2 How to add Loot tables for mobs
Do I have to extend my lootable list to minecraft's LootTableList?
-
1.10.2 How to add Loot tables for mobs
Hi everyone, I wondered why my mob doesn't drop anything, so I used the loot tables for the sheep and it works, I returned to the webpage where I learned to make loot tables it turns out it was posted 5 years ago, HAHA Idiot me, so I was looking for a tutorial on making custom loot tables thanks a bunch.
-
1.10.2 How do I make my entity drop multiple items,
Nothing happened, I'm in the middle of the night still figuring it out. Say what country do you live in?
-
1.10.2 How do I make my entity drop multiple items,
what if I removed the getSheared() method will it still be evaluated?
-
1.10.2 How do I make my entity drop multiple items,
Thanks a lot man, i'll try that out if i can run my program tho cause I updated my java to 131 thinking eclipse is smart that it knew that I updated java, how can I access preferences by the way.
-
1.10.2 How do I make my entity drop multiple items,
well yes they are, but the problem is when I make the dragon drop the same item it works but when I make them drop different items per breed it will disappear in the world as if it was never there.
-
1.10.2 How do I make my entity drop multiple items,
I will post the source codes, this is the main Entity Class, It's called EntityTameableDragon https://pastebin.com/nMZRYnBE. this is the DragonBreedClass, https://pastebin.com/NYRZus6D an example of dragon breed the original mod based it's breeds on elements like water fire but I based mine with gemstones https://pastebin.com/jUwkX7KP another example of a breed https://pastebin.com/XtgrUwqg the class that enumerates each breed EnumDragonbreed https://pastebin.com/Lqk6jKKS what I want is that each breed has different drops, I am really struggling for this mod is not originally mine. He just gave us the source code as if he was giving gold for free.
-
1.10.2 How do I make my entity drop multiple items,
also what is DyeDamage in EnumDyeColor?
-
1.10.2 How do I make my entity drop multiple items,
Oh I mean the loot tables, just like the one's in the sheep, you know multiple methods.
-
1.10.2 How do I make my entity drop multiple items,
Just like in the sheep class?
-
1.10.2 How do I make my entity drop multiple items,
Oh it's you again Sir! I also want it shearable i don't want it to be used by ordianary shears i mean diamond shears for shearing the tough scales of the dragon.
-
1.10.2 How do I make my entity drop multiple items,
Hi everyone, I have a dragon mod using BarracudaATA's dragon mounts source code and the dragon has different breeds and each breed Has it's own class and I want my dragon with different breeds drop different items, Do I need a custom Drop Item? or something.
-
[1.10.2] How do I disable the oversized head on the baby version of my mob.
thank you for your time sir, I will try your advices. I will still ask questions tho if you don't mind. btw where is the location of RenderLivingBase ?
-
[1.10.2] How do I disable the oversized head on the baby version of my mob.
how do I do this exception?
IPS spam blocked by CleanTalk.