Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

vassdeniss

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About vassdeniss

  • Rank
    Tree Puncher
  1. I assume this is wha you mean? I just want to be sure. @Override public void onArmorTick(ItemStack stack, World world, PlayerEntity player) { ItemStack boots = player.getItemStackFromSlot(EquipmentSlotType.FEET); ItemStack legs = player.getItemStackFromSlot(EquipmentSlotType.LEGS); ItemStack chest = player.getItemStackFromSlot(EquipmentSlotType.CHEST); ItemStack helmet = player.getItemStackFromSlot(EquipmentSlotType.HEAD); if (boots != null && boots.getItem() == RegistryHandler.RU_BOOTS.get() && legs != null &
  2. A few weeks ago I made custom armor for my mod and after finally being able to craft it in my server my friend placed it on causing a crash. I have no idea idea what's the issue. I tried some things myslef but nothing worked. Help appriicated! I've attached the relevant crash report alongside my ArmorHelmet class as stated in the crash report. package com.vassdeniss.makoru.items; import com.vassdeniss.makoru.util.RegistryHandler; import net.minecraft.enchantment.Enchantments; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.inventory.EquipmentSlotT
  3. I see. Thank you for the help and explanation!
  4. Yup that was exactly it! It's all good now! Thank you! I didn't even looked at those 2 classes
  5. I saw that in the tutorial i was watching. Oh but wait Only in client means that it will not work on the server side i presume? That must be the problem I was looking for.
  6. If you do ask for the first ModArmorMaterial its the same only diffrent values package com.vassdeniss.makoru.armor; import com.vassdeniss.makoru.MakoRuMod; import com.vassdeniss.makoru.util.RegistryHandler; import net.minecraft.inventory.EquipmentSlotType; import net.minecraft.item.IArmorMaterial; import net.minecraft.item.crafting.Ingredient; import net.minecraft.util.SoundEvent; import net.minecraft.util.SoundEvents; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import java.util.function.Supplier; public enum ModArmorMaterial2 impleme
  7. Gotcha package com.vassdeniss.makoru.util; import com.vassdeniss.makoru.MakoRuMod; import com.vassdeniss.makoru.armor.ModArmorMaterial; import com.vassdeniss.makoru.armor.ModArmorMaterial2; import com.vassdeniss.makoru.items.*; import com.vassdeniss.makoru.tools.ModItemTier; import net.minecraft.inventory.EquipmentSlotType; import net.minecraft.item.ArmorItem; import net.minecraft.item.Item; import net.minecraft.item.SwordItem; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import net.minecraftforge.registries.DeferredRegi
  8. Thank god you replied! You solved all the other problems i had with your answers made in the past Here it is package com.vassdeniss.makoru.items; import com.vassdeniss.makoru.util.RegistryHandler; import net.minecraft.enchantment.Enchantments; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.inventory.EquipmentSlotType; import net.minecraft.item.ArmorItem; import net.minecraft.item.IArmorMaterial; import net.minecraft.item.ItemStack; import net.minecraft.potion.EffectInstance; import net.minecraft.potion.Effects; import net.minecraft.world.World; public class
  9. Hello, i have made myself a minecraft mod a month ago maybe and slowly learning how to make mods. It was all flying colors until i got a server error when testing the mod and I tried to read the log and debug it myslef but to no avail. I also tried surfing here for an answer also to no avail. So i am asking if anyone can lend me a hand please? I will attach the log file. latest.log
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.