Jump to content

warjort

Members
  • Posts

    5420
  • Joined

  • Last visited

  • Days Won

    175

Everything posted by warjort

  1. Looks like you don't have a PlacedFeature only a ConfiguredFeature?
  2. Issue with flywheel, probably a conflict with another mod, most likely optifine. Check you have the latest version then contact the mod author.
  3. You don't need to write your own biome modifer for this. Forge already has builtin modifiers for standard stuff: https://forge.gemwire.uk/wiki/Biome_Modifiers#Builtin_Biome_Modifier_Types The rest of your question is unanswerable since you don't show the error message.
  4. Issue with the domum_ornamentum mod. Check you have the latest version then contact the mod author.
  5. One of your mods has broken recipe serialization. Here's where it has been reported before on github: https://github.com/search?q=p_130086_&type=issues Otherwise, you will need to experiment with removing mods until you find the problem mod.
  6. As you say, it is a problem with the EpicFight mod. Check you have the latest version then contact mod author.
  7. Use java 17, mixin doesn't like java 19
  8. And events are explained on that same wiki: https://forge.gemwire.uk/wiki/Main_Page
  9. https://forge.gemwire.uk/wiki/Mob_Effects For an example look at WitherSkeleton.doHurtTarget()
  10. https://forge.gemwire.uk/wiki/Biome_Modifiers
  11. Your question is unanswerable. "It does not work" style statements contain no useful information. Show what you tried. Preferably by posting your code to github where we can see the full context.
  12. Update forge, you have mods that want a later version. e.g. create requires forge 40.1.60 or later.
  13. Use java 17. Mixin doesn't like java 19
  14. Update your java to a recent version.
  15. Jump Boost is a potion effect, it doesn't apply to items. The correct way to do this is to add your own net.minecraft.world.entity.ai.attributes.Attribute for this (unfortunately for you, Jump Boost doesn't use an Attribute). There is one for horse jumping. The quick and dirty alternate is to subscribe to LivingEquipmentChangeEvent and add/remove the mob effect yourself.
  16. mob effects (potion effects) apply to entities, you don't apply them to items. you can add enchantments using the enchant_with_levels loot item function if you want examples just look at the loot tables in the minecraft jar
  17. This command already exists: https://minecraft.fandom.com/wiki/Commands/effect
  18. WolfModel.prepareMobModel() Those data types you mention just mean the data is automagically synched to the client.
  19. Why do you need to use the name? Typically, you only need to do that with commands, e.g. see the GiveCommand and how it uses "targets". For adding effects to entities see WitherSkeleton.doHurtTarget() If you were going to do this outside of the context of commands, it would be something like this untested code: public static void setGlowing(ServerLevel level, String name) { var player = level.getServer().getPlayerList().getPlayerByName(name); if (player != null) { player.addEffect(new MobEffectInstance(MobEffects.GLOWING)); } }
  20. Your current code responds to every screen event. Look at all its subclasses. Use the one I told you to use.
  21. You can do what you like. But always remember that other mods will do what like as well. 🙂
  22. Duplicate post also with no useful information.
  23. Not without you showing some relevant information. Never paraphrase errors. Post a link to the full debug.log
  24. See: https://forums.minecraftforge.net/topic/115993-how-to-remove-the-sight-cross-in-the-center-of-the-screen/#comment-512635 Except you want VanillaGuiOverlay.PLAYER_HEALTH and you want to do some replacement rendering.
×
×
  • Create New...

Important Information

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