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

ISenseHostility

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

1 Neutral

About ISenseHostility

  • Rank
    Tree Puncher

Converted

  • Gender
    Male
  • Location
    Netherlands
  • Personal Text
    I feel like I'm doing something wrong, but without the 'I feel like' part.

Recent Profile Visitors

173 profile views
  1. Here is a clip to explain: https://streamable.com/5xjofu Basically, when I walk out of range, I get a NullPointerException at LookController#setLookAt when it's being called from MeleeAttackGoal#tick. Here is the log: https://privatebin.net/?05d1c1f8826d8bb2#79SvshoEzUji3NxL2oqTR2fi3CVzq66JPfps4HV1xTDb Here is the class of the entity in question: package com.isensehostility.entity_testing.entities; import net.minecraft.entity.*; import net.minecraft.entity.ai.attributes.AttributeModifierMap; import net.minecraft.entity.ai.attributes.Attributes; import net.minecraft.entity.a
  2. I forgot to say, this fixed the attribute problem.
  3. I am having a problem with entity attributes. I feel like have set them correctly, but when I launch the game I get multiple errors stating that I, in fact, have not. I'm not sure where the problem lies, so I was hoping someone could help me. Here is the log: https://privatebin.net/?0938f12eb189ae59#H5EKLWjp8BL2iZ6tAgVFmAyheUSmJDVhBgMcbHS12G79 Here is the entity class: Here is the registry class: Here is the main class: If more info is needed tell me and I will add it.
  4. It works now, I made a stupid spelling mistake in the global_loot_modifiers.json so it wasnt registering. Thank you for trying to help despite my dumb mistake.
  5. Oh my god sorry for wasting your time I see the spelling mistake in global_loot_modifiers.json
  6. global_loot_modifiers.json: { "replace": false, "entries": [ "enchantment_enchancements:midas_modifier" ] }
  7. Oops, I forgot to start the world there. This should be the correct one: https://privatebin.net/?642aefdf9db0e663#2KBFD9ZU3o57RkDcFYQQHyjU9p1yDpAtrK4B7NV3sVYu
  8. Link to a pastebin for the full log: https://privatebin.net/?88a5d5a33b23f589#3FDdN327mqNbckkHUsejGkMUuEVJcKhzbQrJ8qJbbsEp
  9. I was wondering if anyone knows what is causing this error / how to fix it. The full error: The modifier JSON: { "type": "enchantment_enhancements:midas_modifier", "conditions": [ { "condition": "minecraft:match_tool", "predicate": { "enchantments": [ { "enchantment": "enchantment_enhancements:midas", "levels": { "min": 1 } } ] } } ], "curseItem": "minecraft:gold_nugget" } How I'm registering the modifier serializer: package com.is
×
×
  • Create New...

Important Information

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