Jump to content

GttiqwT

Members
  • Posts

    18
  • Joined

  • Last visited

Recent Profile Visitors

1175 profile views

GttiqwT's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. THANK YOU SM ❤️ this helped me fix my issue. if(player.tickCount % 40 == 0)
  2. "we dont support 1.12.2" now you dont suppoert 1.14. come on.
  3. bruh really. how am I supposed to get any support...
  4. heres some more info: > [K[33;1m[07:12:53] [Server thread/WARN] [minecraft/NetworkSystem]: Failed to handle packet for / (server ip) net.minecraft.util.ReportedException: Ticking player at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:459) ~[oq.class:?] at net.minecraft.network.NetHandlerPlayServer.update(NetHandlerPlayServer.java:173) ~[pa.class:?] at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:209) ~[NetworkDispatcher$1.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:285) ~[gw.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:180) [oz.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:790) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:397) [nz.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211] Caused by: java.lang.NoSuchMethodError: net.minecraft.entity.player.InventoryPlayer.func_70440_f(I)Lnet/minecraft/item/ItemStack; at mod.gttiqwt.emeraldobsidian.init.items.FlamingArmor.onArmorTick(FlamingArmor.java:37) ~[FlamingArmor.class:?] at net.minecraft.entity.player.InventoryPlayer.decrementAnimations(InventoryPlayer.java:371) ~[aec.class:?] at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:511) ~[aed.class:?] at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2179) ~[vp.class:?] at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:234) ~[aed.class:?] at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:382) ~[oq.class:?] ... 9 more [39;0m> [K[07:12:53] [Server thread/INFO] [Astral Sorcery]: [Astral Sorcery] Synchronizing baseline information to GttiqwT > [K[07:12:53] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: GttiqwT lost connection: Internal server error
  5. Hello I made a mod with custom armor (flaming obsidian armor) and when I equip it in my server I get kicked for "Internal server error" This is the log that I can find about my mod: at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211] Caused by: java.lang.NoSuchMethodError: net.minecraft.entity.player.InventoryPlayer.func_70440_f(I)Lnet/minecraft/item/ItemStack; at mod.gttiqwt.emeraldobsidian.init.items.FlamingArmor.onArmorTick(FlamingArmor.java:37) ~[FlamingArmor.class:?] idk how to put spoilers sorry for the long text.. how do I fix this? I think its because its rendering the armor on client side or something and I've had to fix this for an older mod but dont know how to. thanks here's my class for the armor also: (The armor just extends "ArmorItem" basically and adds some potion effects when the full set it worn. works in singeplayer) { public UpgradedArmor(IArmorMaterial materialIn, EquipmentSlotType slot, Properties builder) { super(materialIn, slot, builder); } @Override public void onArmorTick(ItemStack stack, World world, PlayerEntity player) { if(player.getItemStackFromSlot(EquipmentSlotType.HEAD).getItem() == ItemList.jewelled_emerald_helmet && player.getItemStackFromSlot(EquipmentSlotType.CHEST).getItem() == ItemList.jewelled_emerald_chestplate && player.getItemStackFromSlot(EquipmentSlotType.LEGS).getItem() == ItemList.jewelled_emerald_leggings && player.getItemStackFromSlot(EquipmentSlotType.FEET).getItem() == ItemList.jewelled_emerald_boots) { player.addPotionEffect(new EffectInstance(Effects.REGENERATION)); player.addPotionEffect(new EffectInstance(Effects.HERO_OF_THE_VILLAGE)); //instead of luck, better trades forever! player.addPotionEffect(new EffectInstance(Effects.WATER_BREATHING)); player.addPotionEffect(new EffectInstance(Effects.HASTE)); } if(player.getItemStackFromSlot(EquipmentSlotType.HEAD).getItem() == ItemList.flaming_obsidian_helmet && player.getItemStackFromSlot(EquipmentSlotType.CHEST).getItem() == ItemList.flaming_obsidian_chestplate && player.getItemStackFromSlot(EquipmentSlotType.LEGS).getItem() == ItemList.flaming_obsidian_leggings && player.getItemStackFromSlot(EquipmentSlotType.FEET).getItem() == ItemList.flaming_obsidian_boots) { player.addPotionEffect(new EffectInstance(Effects.FIRE_RESISTANCE)); player.addPotionEffect(new EffectInstance(Effects.RESISTANCE)); player.addPotionEffect(new EffectInstance(Effects.STRENGTH)); //new } } } and then registered like this in the main class: ItemList.flaming_obsidian_helmet = new UpgradedArmor(ArmorMaterialList.flaming_obsidian, EquipmentSlotType.HEAD, new Item.Properties().group(itemTab)).setRegistryName(location("flaming_obsidian_helmet")), ItemList.flaming_obsidian_chestplate = new UpgradedArmor(ArmorMaterialList.flaming_obsidian, EquipmentSlotType.CHEST, new Item.Properties().group(itemTab)).setRegistryName(location("flaming_obsidian_chestplate")), ItemList.flaming_obsidian_leggings = new UpgradedArmor(ArmorMaterialList.flaming_obsidian, EquipmentSlotType.LEGS, new Item.Properties().group(itemTab)).setRegistryName(location("flaming_obsidian_leggings")), ItemList.flaming_obsidian_boots = new UpgradedArmor(ArmorMaterialList.flaming_obsidian, EquipmentSlotType.FEET, new Item.Properties().group(itemTab)).setRegistryName(location("flaming_obsidian_boots"))
  6. Hello, I made a custom mob but when I breed them together the "child" that spawns isnt smaller, its the exact same size as the fully grown animal. How do I fix this? it makes the baby/childs sounds (I used the default pig noises for now) and that worked, but it doesn't change in size, but other than that it works. Thanks
  7. Hello, im trying to figure out how to add a config setting that determines which recipes to use. I have 2 recipes, one thats easier and one thats harder and I want it to use one depending on the config setting. I've looked on the forums here and people are saying something about a "IRecipeSerializer" but im unsure of where to start or how to code something that would work for what I want. Thanks in advanced for the help.
  8. Nevermind I fixed it. You have to reference/register the item using the "HorseArmorItem.class" thats given to you. You cannot use your own custom class. (only thing is now im going to run into problems with getting the textures to work.) public boolean isArmor(ItemStack stack) { return stack.getItem() instanceof HorseArmorItem; } If you override that I believe you can fix it so you can make your own class..
  9. Hello, im trying to figure out how to create my own custom horse armor for my mod. I made the item and checked thehorseArmorItem class and copied exactly and it shows up in game but I can't put it on a tamed horse. How can I fix this? Thanks
  10. Yeah I get where you're coming from. I also watched harry talk's tutorial and at first it worked but then I got the problem that it wont spawn more than one structure otherwise it'll overlap and only spawn the latest one added. I tried to follow this tutorial again and it just didnt seem to work at all now. When I get more time ill have to do it again and then afterwards try and fix the issues with spawning more than one structure. I'm currently trying to fix the issue where it causes cascading gen lag but I dont know how to fix that quite yet either.
  11. How did you fix it? edit: nvm I believed I fixed it too, just had to tweak a few things to use "name" instead of "structureName"...
  12. Okay I've done that, but im getting into issues at the .DirtType and .VARIANT parts I believe. I did replace all of the parts where it references and block dirt or grass and made my own DirtType and whatnot but it isnt seeming to grow.
  13. I've looked at their classes it doesn't help me. I dont understand what I have to change to get it to work...
×
×
  • Create New...

Important Information

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