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

hypov

Members
  • Content Count

    14
  • Joined

  • Last visited

Community Reputation

0 Neutral

About hypov

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Entity Code: package io.github.withonetee.entities; import io.github.withonetee.init.ModEntity; import net.minecraft.block.BlockState; import net.minecraft.enchantment.Enchantments; import net.minecraft.entity.*; import net.minecraft.entity.ai.attributes.AttributeModifierMap; import net.minecraft.entity.ai.attributes.Attributes; import net.minecraft.entity.ai.goal.*; import net.minecraft.inventory.EquipmentSlotType; import net.minecraft.item.IDyeableArmorItem; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.util.DamageSource; import net.minecraft
  2. I need help rendering my armor. It's rendering weirdly. I apply my armor via setItemStackToSlot: public final ItemStack leather_helmet = new ItemStack(Items.LEATHER_HELMET); public NewEntity(EntityType<? extends MonsterEntity> type, World worldIn) { super(type, worldIn); } @Override public void onAddedToWorld() { super.onAddedToWorld(); this.setSprinting(true); ((IDyeableArmorItem) leather_helmet.getItem()).setColor(leather_helmet, 0xBFA290); this.setItemStackToSlot(EquipmentSlotType.MAINHAND, new ItemStack(Items.; thisHEAD, leather_helmet; P
  3. Uhm yes, I have problems though 1. How do I check if there's ground below an entity? 2. I'm registering the event handler in another class, so how would I set the item of the entity in the other class?
  4. Okay Basically if an entity is falling, the entity would place a water bucket below them to counteract the fall damage
  5. oh right How would I fix this? Also I'm trying to add mlg features to the entity.. how would I do that? Thank you!
  6. I'm confused What does that mean?
  7. Why can't I re-use ItemStack instances?
  8. The entity class? DreamEntity.java
  9. My mod keeps crashing the client. Can anyone help? crash-2020-11-10_22.15.47-server.txt
  10. @Override public void setItemStackToSlot(EquipmentSlotType slotIn, ItemStack stack) { this.setItemStackToSlot(EquipmentSlotType.MAINHAND, netherite_axe); }
  11. Doesn't work for some reason? I put it in my entity java class, and it's not rendering help please
  12. Oh, cool thanks. I'll try it out!
  13. I need help making a MonsterEntity hold an item (netherite_axe) Thank you!
×
×
  • Create New...

Important Information

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