Mob Grinding Utils

Mob Grinding Utils

83M Downloads

Mob masher doesnt work with PMMO

troopertate opened this issue ยท 5 comments

commented

so I am playing a custom version of RAD 2 that I made and the Mon Masher does not work. i did some research and found that the mob masher makes a fake player that uses a sword to hit the mobs. knowing this I removed all the level requirements for all the Minecraft swords in hopes it would fix it and allow the fake player to use the sword but it didn't. I did take PMMO out and tried the mob masher and it worked. how do I fix this?

commented

so I actually fixed it, I went into PMMO config and went into the weapons requirement and added the null sword with a requirement of 0
Files / config / pmmo / req_weapon.json
add this to the bottom

"mob_grinding_utils:null_sword":
{
"combat": 0
}

make sure the last entry has a comma(,) on its last bracket for example for me it looks like this

"spartantwilight:scythe_fiery":
{
"combat": 34
},
"mob_grinding_utils:null_sword":
{
"combat": 0
}
}

commented

This didn't work for me I had to go a step further.

Based on the Mob Grinding Utils codebase I wrote a small Java app to spit out the UUID for the fake player:

import java.util.UUID;

public class MyClass {
  public static void main(String args[]) {
    UUID uuid = UUID.nameUUIDFromBytes("fakeplayer.mob_masher".getBytes());

    System.out.println(uuid);
  }
}

And then added an entry to PMMO's player_specific.json file using that UUID to make it ignore requirements for that player:

{
	"b18836e2-b89d-3cde-a2b0-b130b0af3bdb":
	{
		"ignoreReq": 1
	}
}
commented

what mc version was this one? the 1.20 and 1.21 versions of MGU clone the uuid of the player who places it so it shouldnt be an issue in modern mc versions.

commented

It was on 1.16.5, so well before that change.

commented

gotcha, just checking making sure nothing is broken ๐Ÿ‘