-
Posts
3284 -
Joined
-
Last visited
-
Days Won
62
Everything posted by ChampionAsh5357
-
If you only want this logic on the player, override Item#inventoryTick on your item, check if on server via Level#isClientSide, then check if the stack is in the mainhand offhand through the Entity, then apply the effect via Entity#addEffect (you'll probably need to check if the entity is an instance of the player). If you want the logic to be applied on all entities, then listen to the LivingTickEvent, check the mainhand and offhand, then apply the effect. You can use Player#turtleHelmetTick as an example for checking the hand and applying the effect.
-
[1.18]How do I find player position on a server?
ChampionAsh5357 replied to lordurel's topic in Modder Support
It appears that your IDE or the jvm itself does not have the ability to access files on your computer. You can probably search on the internet how to fix that. -
Again, use RenderHandEvent and check if you are rendering the offhand. Cancel the event if the hand has your item in the mainhand and no item in the current hand. Then, render the offhand. You are given the variables necessary to properly render it since you are currently neglecting two values. You could if you wanted, makes no difference as long as the logic is correct.
-
Attributes on armor for max healt 1.19.2
ChampionAsh5357 replied to pixelcaft's topic in Modder Support
How familiar are you with Java and your IDE? -
[1.19.2] consistenly get BlockPos from Vec3 value
ChampionAsh5357 replied to perromercenary00's topic in Modder Support
There's no such thing as -0. The corners of each block represent the BlockPos. The center of the block is offset by 0.5. -
Following a tutorial is not the same as learning a language, but your choice. Regardless, I gave the answer above, use a capability on the level and create a timer method to handle the destroying. If you are using a block entity to destroy the block, then use that instead of a capability on the level. There are docs, wikis, and tutorials on capabilities if you are unsure of their system.
-
Don't know why my server keeps crashing :(
ChampionAsh5357 replied to GNMarci's topic in Support & Bug Reports
Could you provide the entire debug.log in a gist or pastebin? The error itself is not descriptive enough to find where the issue originates from. -
[1.18]How do I find player position on a server?
ChampionAsh5357 replied to lordurel's topic in Modder Support
What are you attempting to do with this? What guide are you trying to use for this? -
Attributes on armor for max healt 1.19.2
ChampionAsh5357 replied to pixelcaft's topic in Modder Support
Extend the class that you want and override getDefaultAttributeModifiers with your attribute modifiers to apply. You can see how to apply an attribute through the ArmorItem's constructor and its implementation. -
please help. i cant find which mode had crashed.
ChampionAsh5357 replied to GRAYwolf's topic in Support & Bug Reports
Try removing the desolation mod. -
You need to add more memory to your game. You can search how to do this on the internet.
-
Me crashea a cada rato la 1.12.2 forge
ChampionAsh5357 replied to CesarMatias112's topic in Support & Bug Reports
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.3 (Latest), 1.19.2, and 1.18.2 (LTS). -
Need help with game crash
ChampionAsh5357 replied to LightningLemonTart's topic in Support & Bug Reports
Whoops, my bad. For some reason I didn't see the message. Looking at the new one, it seems to be an issue with flywheel and your graphics driver. You can either try removing flywheel and any dependents (e.g., create) or you can try using a different version of your graphics driver (maybe a downgrade, though I'm not too familiar with AMD). -
Forge 1.16.5 crashing on launch
ChampionAsh5357 replied to Ikoniczero's topic in Support & Bug Reports
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.3 (Latest), 1.19.2, and 1.18.2 (LTS). -
Game crashed on startup with forge 1.19.3
ChampionAsh5357 replied to Mtrigzzz's topic in Support & Bug Reports
Remove OptiFine; it is currently not compatible with 1.19.3 Forge. -
I would really appreciate help.
ChampionAsh5357 replied to ImUncreative's topic in Support & Bug Reports
This would be something you can search on the internet by specifying your operating system and asking where is the .minecraft folder located. -
Remove OptiFine; it currently does not support Forge 1.19.3.