Grind Enchantments

Grind Enchantments

3M Downloads

enchanted book not appearing and cannot collect

targuh opened this issue · 3 comments

commented

Hey, just curious as to why my 1.21 version of grind enchantments mod isn't working for my fabric server. I enter the grindstone and insert the enchanted tool (it stays in the slot), and I try to place the book underneath and all I see in the final slot is my enchanted book and level cost appear and disappear within a split second (only when I try to insert book). I can keep spamming the book, but the enchanted book will never fully generate for me to pick up. The book gets booted out of the grindstone immediately after being placed. Any help would be appreciated, Thank you! Let me know if you need anything from my side! The mod has been installed on the client side and the server side. other player also has mod installed client side. I'm just having an issue with the server side and its causing both players to not be able to use this mod. all players have the same mods.

commented

Hello! This sounds like the mod isn't that working on the server side – but you said it is installed there, so it should be working. Can you test whether it works in singleplayer?
While I unfortunately can't reproduce this for a few days, could you show the exact Minecraft and mod version (or the server logs)?

commented

i have confirmed it works in single player. I typed in the command in the server to see if it can find the grind enchantments mod but it cant find the config file. ( /config grindenchantments server) usually how I enable my other server sided mods and to see if it recognizes it. im on fabric 1.21 and the grind echantment mod that was installed was the latest one made for 1.21.
here is the latest server log:

 [01:22:06] [ServerMain/WARN]: Invalid registry value type detected for PerfOS counters. Should be REG_DWORD. Ignoring: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfOS\Performance\Disable Performance Counters.
[01:22:08] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[01:22:10] [ServerMain/INFO]: Loaded 1297 recipes
[01:22:10] [ServerMain/ERROR]: Couldn't load advancements: [minecraft:wander_add_map, minecraft:give_quest_trader_trade]
[01:22:10] [ServerMain/INFO]: Loaded 1496 advancements
[01:22:10] [Server thread/INFO]: Starting minecraft server version 1.21
[01:22:10] [Server thread/INFO]: Loading properties
[01:22:10] [Server thread/INFO]: Default game type: SURVIVAL
[01:22:10] [Server thread/INFO]: Generating keypair
[01:22:10] [Server thread/INFO]: Starting Minecraft server on *:25565
[01:22:10] [Server thread/INFO]: Using default channel type
[01:22:11] [Server thread/INFO]: Preparing level "world"
[01:22:11] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[01:22:12] [Worker-Main-14/INFO]: Preparing spawn area: 0%
[01:22:12] [Worker-Main-14/INFO]: Preparing spawn area: 0%
[01:22:12] [Server thread/INFO]: Time elapsed: 814 ms
[01:22:12] [Server thread/INFO]: Done (1.372s)! For help, type "help"
[01:22:15] [User Authenticator #1/INFO]: UUID of player targuh is c7a38e17-d3f6-4f75-9899-ba0a41131673
[01:22:16] [Server thread/INFO]: targuh[/127.0.0.1:55547] logged in with entity id 31 at (1001.7654956281611, 68.0, -2572.4409497508595)
[01:22:16] [Server thread/INFO]: targuh joined the game
[01:27:21] [Server thread/INFO]: targuh lost connection: Disconnected
[01:27:21] [Server thread/INFO]: targuh left the game
[01:27:36] [Server thread/INFO]: Stopping the server
[01:27:36] [Server thread/INFO]: Stopping server
[01:27:36] [Server thread/INFO]: Saving players
[01:27:36] [Server thread/INFO]: Saving worlds
[01:27:36] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[01:27:36] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[01:27:36] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[01:27:36] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[01:27:36] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[01:27:36] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[01:27:36] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved

here is the grind enchantments mod config file:

{
  "filter": {
    "enabled": true,
    "item": {
      "enchantments": [],
      "action": "deny"
    },
    "enchantment": {
      "enchantments": [],
      "action": "ignore"
    },
    "cursed_enchantments": "ignore"
  },
  "dedicated_server_options": {
    "alternative_cost_display_enabled": false
  },
  "client_options": {
    "show_enchantment_cost": true
  },
  "disenchant_to_book": {
    "enabled": true,
    "consume_enchanted_item": false,
    "cost_function": {
      "function": {
        "function": {
          "type": "grindenchantments:count_min_power"
        },
        "factor": 0.3,
        "offset": 8.0,
        "type": "grindenchantments:transform"
      },
      "type": "grindenchantments:filter"
    }
  },
  "move_enchantments": {
    "enabled": true,
    "cost_function": {
      "function": {
        "function": {
          "function": {
            "normal_factor": 3.0,
            "treasure_factor": 8.0,
            "type": "grindenchantments:count_levels"
          },
          "factor": 0.5,
          "offset": 0.5,
          "type": "grindenchantments:transform"
        },
        "type": "grindenchantments:first_enchantment"
      },
      "type": "grindenchantments:filter"
    }
  },

let me know if there is anything else you need! also do you have a list of mods that you commonly see that arent compatible with this mod? Thank you for the assistance!

commented

command in the server to see if it can find the grind enchantments mod but it cant find the config file. ( /config grindenchantments server) usually how I enable my other server sided mods and to see if it recognizes it.

Do you have another mod that adds this functionality? This mod does not add a /config command by itself.

Also, are you sure the server has Fabric installed? It should print out a list of loaded mods at the start (I'm assuming your log file got cut off). I've never seen a Minecraft server log Windows registry entries, either.

do you have a list of mods that you commonly see that arent compatible with this mod?

There used to be some, but most commonly used mods should now be compatible.

Also, I edited your comment to use code blocks, so it's a bit easier to read. I hope that's fine!