Carrier

Carrier

9M Downloads

[suggestion] Config Additions/changes

milkev opened this issue ยท 2 comments

commented

What I want

Config descriptions. Its hard to know exactly what to do with the config without searching curseforge or discord for it.

Config options for;
-Entity whitelist/blacklist config seperate from blocks
-Ability to add mobs/blocks to the list without having to list all blocks and entities in a whitelist

What the current config looks like

{
  "enableGloves": false,
  "slownessLevel": 2,
  "hungerExhaustion": 0.05,
  "type": "BLACKLIST",
  "list": []
}

What the config might look like with my proposed changes and additions

{
  //whether or not the player requires the gloves item to pickup blocks and entities. default=false
  "enableGloves": false,
  //level of slowness the player gets while carrying a block or entity. default=2
  "slownessLevel": 2,
  //how fast the players hunger exhausts while carrying a block or entity. default=0.05
  "hungerExhaustion": 0.05,
  //add blocks to the carry-able list, respects blacklists and whitelists. default=none. usage: ["modname:blockname"]
  "additionalBlocks": [],
  //add entities to the carry-able list, respects blacklists and whitelists. default=none. usage: ["modname:entityname"]
  "additionalEntities": [],
  //mode for the block whitelist/blacklist. accepts either BLACKLIST or WHITELIST. default=BLACKLIST
  "typeBlock": "BLACKLIST",
  //list for the above whitelist or blacklist. default=none. usage: ["modname:blockname"]
  "listBlock": [],
  //mode for the entity whitelist/blacklist. accepts either BLACKLIST or WHITELIST. default=BLACKLIST
  "typeEntity": "BLACKLIST",
  //list for the above whitelist or blacklist. default=none. usage: ["modname:entityname"]
  "listEntity": []
}
commented

yes please, and maybe instead of a blacklist populate a whitelist with the current allowed entities and blocks, so that players can turn it into an empty blacklist instead if they want to be allowed to pick up literally everything.

commented

I was looking for documentation on this as well and just couldn't find anything. I had to read through the code. It looks like there is currently no way to add new entities...only blocks. I'm not a Java guy, so I could be wrong. I would like this feature add so we can pick up the snails from Lovely Snails. I can currently leash them with the Fish On a Leash mod, but I can't pick them up.