RakambdaOrg / FallingTree

Minecraft mod to make the trees fall in one cut
https://www.curseforge.com/minecraft/mc-mods/falling-tree
GNU Lesser General Public License v3.0
84 stars 32 forks source link

Unable to run on a 1.21.1 java server #750

Closed 500ke30 closed 3 weeks ago

500ke30 commented 2 months ago

Describe the bug

I can't for the life of me get this mod to work on my server that I run for me and my brothers. I've installed it client side only, server side only and both along with the dependency of the Fabric API.

Minecraft version

1.21.1

Fabric API version

0.102.1

Mod version

1.21.1

Configuration

I'm not sure where to find this. All I have is the .jar file that is in my client side mods folder.

Relevant log output

No response

Obsolet3 commented 1 month ago

When I changed the name of the field in "enchantment" in the configuration file from "requireEnchantment" to "requireEnchant" the modification works but after starting the server another process overwrites the file, as a result the field name is back to "requireEnchantment".

Minecraft version: 1.21.1 NeoForge version: 21.0.167 Mod version: 1.21-1.21.0.7

Rakambda commented 1 month ago

Please provide the logs. It is in the logs folder inside the server.

Obsolet3 commented 1 month ago

latest.log

Rakambda commented 1 month ago

Logs seems to be fine. What did you try to do? Cut a vanilla tree with a vanilla axe ?

Obsolet3 commented 1 month ago

Yes, I tested it with vanilla objects.

The issue was with the field's value, not its name. So, even after a server restart, "requireEnchantment": false continues to work. However, when the value is true, it doesn't work because the Chopper enchantment is missing. I couldn't find this one. The example configuration file does not contain the registerEnchant flag, so my config does not either.

Obsolet3 commented 1 month ago

My version of Valhelsia lacks the FallingTree Enchantments mod, which is probably why it didn't work with the flag set to true.

Rakambda commented 1 month ago

With 1.21+ enchants are added through a FallingTree Enchantment datapack, this is not a mod.

Rakambda commented 1 month ago

Datapacks are installed inside your world, and not really "globally" on the server : https://minecraft.fandom.com/wiki/Tutorials/Installing_a_data_pack#Multiplayer

Obsolet3 commented 1 month ago

Yes, I checked the world data and there were no files from falling tree enchantments. Thank you for having a look at that and useful links