Jump to content

KidKoderMod033109

Members
  • Posts

    106
  • Joined

  • Last visited

Everything posted by KidKoderMod033109

  1. Hi, I'm am working a on a new mod in Eclipse, but my projects are in the same workspace, and I can't run the new mod. Is it possible to change this Thanks in advance!
  2. Hi, I am working on a custom item, and I want it to lose durability then the item is used , I have used ItemStack#damageItem to damage it and EntityPlayer#getActiveItemStack to get the ItemStack. I don't know why this does not damage the item. How can I do this? Thanks in advance, Kid Koder
  3. Correct me if I'm wrong, but based off this. It appears that the data packs build into the mods/ones that you installed are incompatible with your Minecraft and/or Forge version. Please check to make sure that mods and Forge use the same version. If not, try Making a new world Disabling one mod at a to see if that mod is the problem, you can disable mods by added(.disabled) to the end of the mods name
  4. Couldn't I just overwrite the MC's code? I know it used to be possible in 1.12 Forge.
  5. Oh, ok. Are there any plans to add support, as the PR was confirmed and passed all checks?
  6. Hi, I'm working on a custom elytra for my mod. I can render the elytra and everything, BUT double-tapping space does not start flight. Here is the code I have so far: public class NetheriteElytraArmor extends ElytraItem { public NetheriteElytraArmor(Properties builder) { super(builder); DispenserBlock.registerDispenseBehavior(this, ArmorItem.DISPENSER_BEHAVIOR); } @Override public boolean getIsRepairable(ItemStack toRepair, ItemStack repair) { //netherite_scrap return repair.getItem() == Items.field_234760_kn_; } @Nullable @Override public EquipmentSlotType getEquipmentSlot(ItemStack stack) { return EquipmentSlotType.CHEST; } } I don't know if there is an event or some other way to do it? Thanks in advance, Kid Koder
  7. Great! Got it to work. Now I just have to add the flight ability
  8. I think I found, I'm now putting together the texture
  9. I still don't understand where to put this, is there anywhere where I could find an example
  10. https://github.com/KidKoder09923/Witchcraft-Mod-for-Minecraft-1.16 Here is the mod source
  11. How would I go about doing that? Here is my code: public class NetheriteElytraArmor extends ArmorItem { public NetheriteElytraArmor(IArmorMaterial materialIn, EquipmentSlotType slot, Properties p_i48534_3_) { super(materialIn, slot, p_i48534_3_); } }
  12. Hi, I'm trying to make a custom Elytra item, I have extended ElytraItem and registered the item, but I can't figure out how to render it/Get it to go in the chestplate shot. Thanks in advance, Kid Koder
  13. Hi, In my mod I would like to get all messages send by the user but, I want to be able to remove the <USERNAME> prefix. I am using an IChatComponent but can not find a way to do this. Thanks in advance, Kid Koder
  14. So, I decided to test my mod, and upon join a world my game crashed with this error message: Execution failed for task ':runClient'. > Process 'command 'C:\Users\Kid Koder\.jdks\corretto-1.8.0_252\bin\java.exe'' finished with non-zero exit value -1 I have a new computer, so this my be the problem. I also got a Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 error. Thanks in Advance, Kid Koder
  15. Hi, When I try to run my mod I get a Caused by: java.lang.IllegalStateException: Failed to resolve consumer event type: net.minecraftforge.fml.network.simple.SimpleChannel$$Lambda$2237/0x00000008013e0c40@722d3ddb error. I have no clue what this means/how to fix it. THanks in advance, KId KOder
×
×
  • Create New...

Important Information

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