-
Notifications
You must be signed in to change notification settings - Fork 0
Config
This is a description of how the config works. You probably don't want to change it anyway unless you know what you're doing.
The config will be generated in your minecraft folder under the config directory. It's called "realplayer-config.json".
The default config looks like this (https://github.com/ton185/RealPlayer/blob/main/src/main/resources/default-config.json):
{
"shadows/apotheosis/ench/enchantments/IcyThornsEnchant": {
"0-all-enabled": false
},
"mob_grinding_utils/mixin/ZombieMixin": {
"hurtMixin": false
},
"mob_grinding_utils/MobGrindingUtils": {
"effectApplicable": false
},
"mob_grinding_utils/events/EntityHeadDropEvent": {
"dropEvent": false
},
"dev/shadowsoffire/apotheosis/tiers/WorldTier": {
"getTier": false
},
"dev/ftb/mods/ftbchunks/FTBChunks": {
"enterSection": false
},
"dev/ftb/mods/ftbchunks/data/ClaimedChunkManagerImpl": {
"shouldPreventInteraction": false
},
"dev/ftb/mods/ftbchunks/data/ChunkTeamDataImpl": {
"canPlayerUse": false
},
"dev/architectury/hooks/level/entity/forge/PlayerHooksImpl": {
"isFake": false
}
}true means that modifications for that method/class are enabled, AKA the FakePlayer checks will be disabled. Change it to false if you want to keep the FakePlayer checks for a certain class/method.
So, here is the format:
{
"fully/qualified/class/name": {
"0-all-enabled": true, // This is a special key. It controls modifications for the entire class. If this is set to false, no FakePlayer checks will be disabled. If it is set to true, then the FakePlayer checks are controlled on a per-method basis.
"methodName": true // Whether to disable all FakePlayer checks in a method called "methodName"
}
}If you don't want to disable all FakePlayer checks, or if you want to selectively keep them for a few mods, you can tweak the config to your liking.
In the future, I would like to add a config which supports configuring per modid, but this is not as easy as it sounds, so unless I get a lot of requests for it, I'll probably not bother with it.