Everything posted by warjort
-
How to make my stone generate like Andesite, Diorite, Granite? [1.19]
Looks like you don't have a PlacedFeature only a ConfiguredFeature?
-
i cant open a world
Issue with flywheel, probably a conflict with another mod, most likely optifine. Check you have the latest version then contact the mod author.
-
How to make my stone generate like Andesite, Diorite, Granite? [1.19]
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.
-
Mi game crash when a try open a world
Issue with the domum_ornamentum mod. Check you have the latest version then contact the mod author.
-
403 for URL: https://s3.amazonaws.com/Minecraft.Download/indexes/1.18.json
Use java 17
-
help to solve this
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.
-
game crashes on startup with epic fight- 18.3.5- this is in java
As you say, it is a problem with the EpicFight mod. Check you have the latest version then contact mod author.
-
Server crash on startup with TerraForged [1.18.1/1.18.2]
Use java 17, mixin doesn't like java 19
-
How can you program in a forge mod that the player gets an effect when he wears armour, for example?
And events are explained on that same wiki: https://forge.gemwire.uk/wiki/Main_Page
-
How can you program in a forge mod that the player gets an effect when he wears armour, for example?
https://forge.gemwire.uk/wiki/Mob_Effects For an example look at WitherSkeleton.doHurtTarget()
-
[1.19.2] How do I add Sweet Berry Bush like Bushes?
https://forge.gemwire.uk/wiki/Biome_Modifiers
-
How do you create custom tree trunks and leaves?
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.
-
setting up a forge server on 1.18.2, missing dependencies:forge, forge, forge, forge
Update forge, you have mods that want a later version. e.g. create requires forge 40.1.60 or later.
-
Please help with this
Use java 17. Mixin doesn't like java 19
-
forge 1.19.2 instaler doesn't work
Update your java to a recent version.
-
How can you program in a forge mod that the player gets an effect when he wears armour, for example?
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.
-
Adding effect to an item via JSON
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
-
Running code on a certain player by his name
This command already exists: https://minecraft.fandom.com/wiki/Commands/effect
-
SOLVED [1.19.2] Entity Sitting Pose?
WolfModel.prepareMobModel() Those data types you mention just mean the data is automagically synched to the client.
-
Running code on a certain player by his name
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)); } }
-
custom GUI mod
Your current code responds to every screen event. Look at all its subclasses. Use the one I told you to use.
-
Health Bar Removing
You can do what you like. But always remember that other mods will do what like as well. ๐
-
[Forge 1.18.2] Invalid Player Data Error
Duplicate post also with no useful information.
-
Can someone help?
Not without you showing some relevant information. Never paraphrase errors. Post a link to the full debug.log
-
Health Bar Removing
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.
IPS spam blocked by CleanTalk.