-
Posts
642 -
Joined
-
Last visited
Everything posted by TheRPGAdventurer
-
I live in a 3rd world country where 25 dollars is 1000 PHP to us and worth like my 3 months allowance, I pursued programming classes consuming my saturday weekends of time only to be uneducated by 3rd world quality programming teachers, the teacher would often just read the lesson in english which isnt our mother tongue language making it hard for majority of the students to understand, our lesson is takes 8 hours per saturday doing nothing,my classmates would usually sorround me in my computer to get help from me during the lessons, sometimes in each exam where we will need to build a program, my other colleagues would consume the 8 hour time and ask for more cus it aint enough, Me however who have experience in programming due to forge would just take 30 minutes to do it and leave my class and just save my allowance. I learned it all in programming with forge. So thank you forge, thank you forge staff, your sacrifices mean a lot to some people like me,
-
- 2
-
I have a dragon inventory that when opened has its own chest inventory while it also has the inventory slot for the items, what its missing is the slot for the player's armor being worn, i really want this so every time i open my dragon inventory while riding the dragon i dont have to dismount on my dragon just to equip my new armor its very trouble some to fly down high in the sky just to equip your armor and change your mind in just a few minutes of flying. ContainerDragon: https://pastebin.com/J5VYJMsn I dont think you will find it here but anyways here you go: GuiDragon: https://pastebin.com/QQPV9TQM
-
Something like this, if i click gender the values change from male to female "interchange" is the right word? now i want to do this in breed, if i press next it will change to the next breed and the next one and the next one and the skins already change on its own with its breed. About my code: I dont know what to put in there to get your attention,
-
This problem is more related to java than minecraft itself. SO i made a dragon wand item that when a dragon is right clicked with it it opens a secondary inventory and gui, then you can edit its gender, breed, skin, owner etc. my problem is that the breed characteristic is on enum and how do interchange it, interchanging the breed also interchanges the dragon's skin texture. GuiDragonWand: https://pastebin.com/Ewa3ybS0 EnumDragonBreed: https://pastebin.com/eCxLDzYs
-
So my idea is to render a banner into the side of the dragon if there is a banner in the dragon's inventory, I already made the inventory but i dont know how to render a tile entity on the side of the dragon entity, I know its possiblee because if yooru replace a banner in the helmet slot on the payer via commands the banner would render on the player and follow with it, my guess is world.addTileEntity()? best regards
-
@SubscribeEvent public void missingMapping(RegistryEvent.MissingMappings<Item> event) { for (MissingMappings.Mapping<Item> entry : event.getAllMappings()) { if (entry.key.toString().equals(DragonMounts.MODID + ":ender_dragonscales")) { ResourceLocation newTotem = new ResourceLocation(DragonMounts.MODID + ":ender_dragonscales1"); entry.remap(ForgeRegistries.ITEMS.getValue(newTotem)); } } } I renamed an item fro an experiment, I clearly have no idea how to use RegistryEvent.MissingMappings
-
How do you deal with block / item ID changes?
TheRPGAdventurer replied to Insane96MCP's topic in Modder Support
Hey guys I tried to make my own, but it failed, Where did I make my mistake @SubscribeEvent public void missingMapping(RegistryEvent.MissingMappings<Item> event) { for (MissingMappings.Mapping<Item> entry : event.getAllMappings()) { if (entry.key.toString().equals(DragonMounts.MODID + ":ender_dragonscales")) { ResourceLocation newTotem = new ResourceLocation(DragonMounts.MODID + ":ender_dragonscales1"); entry.remap(ForgeRegistries.ITEMS.getValue(newTotem)); } } } -
Hi yall, I need help for this is my first time to attempt DataFixing my mod rely heavily on metadata, one example is my dragon egg block that is split into custom breeds by metadata, so I want to make it it's own block but the world saves might remember it's old name, all egg breeds are registered as dragonEgg but I have to make each block and fix it. BlockDragonBreedEgg.class:https://github.com/TheRPGAdventurer/dragonmounts2-1.12.2/blob/master/src/main/java/com/TheRPGAdventurer/ROTD/client/blocks/BlockDragonBreedEgg.java
-
{ "type": "minecraft:crafting_shaped", "pattern": [ "X X", "###" ], "key": { "#": { "item": "minecraft:leather" }, "X": { "item": "minecraft:oak_planks" } }, "result": { "item": "dragonmounts:dragon_carriage" } } In this recipe i used oak planks, so if I craft it it has to be oak planks how do i make it just use any kind of planks.
-
Why are people still coding for 1.7.10/1.8?
TheRPGAdventurer replied to nocot's topic in General Discussion
It's sad that some of my favorite mods in 1.7.10 are left and abandoned one of my favorite abandoned mods is Dragon Mounts, you can hatch the ender dragon egg and tame it as your own, it's a bummer minecraft had a dragon egg item yet you cannot hatch it, Dragon Mounts didnt have firebreathing and dragon armors before, but the ability to hatch the dragon egg was more than enough, when it was abandoned, I learned java myself and updated it as my own then added firebreathing and dragon armors on it. -
how to get the direction the player is eye 1.12
TheRPGAdventurer replied to Niinnnnnn's topic in Modder Support
EntityLook helper or Entity#getLookHelper()