Jump to content

Collecter128

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Collecter128

  1. OH I misread something. I didn't see the I at the beginning of Item Colors. I got an error when I tried ti implements ItemColors without realizing they were two different things.I feel like a dummy now. I'll change it.
  2. ... I'm sorry but I don't get it. I really want to learn but I don't think I know what I'm doing. MegamanArmorMod/java/com/collecter128/megamanarmormod/core at code · Collecter128/MegamanArmorMod (github.com) CustomItemColors and CustomItemColors2 are my attempts at making this thing work but I have been getting errors trying to implement things.
  3. Sorry, I'm back. Updating to 1.16.5 may take a while but I started it. I tried to get this working in 1.16.4 to see if I could understand what to do but I don't know how to use your information. I assume I need a new class that extends ItemColors and that I have to somehow use ColorHandlerEvent.Item. Am I warm or cold on how this works?
  4. hmmmm... I have a lot more to learn about programming. Got it. Update the mod... um... I think I understand maybe? So I use this new ColorHandlerEvent.Item class to to register the Custom Item Colors? I'm gonna try some things out. Thanks for the direction in which to look, but I may be back if I need help with how this works.
  5. I'm working on a mod, the Megaman Armor Mod, and I can't seem to add customcolors to modded items. It works if I make the item froma vanilla type that is already colored, but when making my own custom item it just stays gray. "IdyeablearmorItem" doesn't seem to do anything when implemented and "getColor" doesn't help either. Do I need to register them or something to have these properties? I wanted something with multiple layers like a spawn egg, but I will take only one dye color if that's all I can do. My code is free to do whatever with on github if anyone wants to take a look at it: GitHub - Collecter128/MegamanArmorMod: This is a mod adding megaman things to Minecraft
  6. Hello, I have made custom armor for a mod I have been working on: https://www.curseforge.com/minecraft/mc-mods/megaman-armor-mod And I saw something that I used to help make the custom armor models. I followed some of the advice on this thread here: I tried to make it move but the arms and legs do not follow the player model like normal armor. Maybe I forgot something??? MegamanArmorFeet.java edit: After looking around some I found someone who had trouble and it seems like the answer is here somewhere, but I haven't figured it out and can't get it to work: https://mcreator.net/forum/51185/tutorial-how-make-3d-rendered-armor-moving-arms-legs-and-head I still don't know how it works, but I feel the answer is in here somewhere for someone to find. Edit: I Discovered the solution! So you add some lines to the "render" in the armor model file. this will "attatch" the parts to the legs. this.RightLeg.copyModelAngles(this.bipedRightLeg); this.LeftLeg.copyModelAngles(this.bipedLeftLeg); RightLeg.render(matrixStack, buffer, packedLight, packedOverlay); LeftLeg.render(matrixStack, buffer, packedLight, packedOverlay);
  7. Using the tutorials at http://www.minecraftforge.net/wiki/Tutorials and http://www.youtube.com/user/ScratchForFun I was trying to make a combiner device in Minecraft 1.6.4, using the furnace as a base. When you click the block to open the GUI, the background displays as the missing texture purple and black design. The code I use to load the texture is: public static final ResourceLocation gui = new ResourceLocation("MixerDivider", "textures/gui/CombinerasFurnace.png"); I have also tried: public static final ResourceLocation gui = new ResourceLocation("MixerDivider", "/gui/CombinerasFurnace.png"); Substituting the texture of my GUI with the Furnace GUI works correctly, but I want to make a different one when the custom device no longer works like a furnace. Important to note is that I had trouble getting the block texture to appear, so I used the tutorial here to fix it: http://www.minecraftforge.net/wiki/Eclipse#Fixing_textures_not_being_copied I am not sure if this changes anything with the way the GUI should load or not.
×
×
  • Create New...

Important Information

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