Easy NPC

Easy NPC

2M Downloads

[Feature Request] Ability to Use and Configure NPCs in Survival Mode

Lothrazar opened this issue ยท 1 comments

commented

๐Ÿ’ก Check the
Bug Tracker
and Crash Tracker before
reporting a new issue.
There you can find a lot of useful information and solutions for common problems.

Note:
Please make sure to fill out the following template to the best of your ability. This will help us
to identify and fix the issue faster.

Minecraft and Mod version ๐Ÿž
easy_npc-forge-1.20.1-5.5.4

Describe the bug ๐Ÿž
impossible to use mod in survival mode

To Reproduce โš™๏ธ
Steps to reproduce the behavior:

  1. install the mod
  2. Try craft an npc egg. its impossible, no recipes
  3. Survival player gets an egg and spawns an npc
  4. still impossible to interact with the NPC or configure it or use the mod

Expected behavior โœ”๏ธ
I expect a config similar to 'mainConfigurationAllowInCreative' except it would say 'mainConfigurationAllowInSurvival mode'

Right now the mod is not useable by survival players

If i am in survival, and survival config == true, i should be able configure an npc, everything except maybe trading can be unlocked.

commented

Thank you for your report.
To ensure compatibility with Fabric, Forge, and NeoForge, the Forge Config system was removed in version 5.x, as noted in the changelog. Consequently, the current version does not support "allow in creative" or "allow in survival" configuration options.

I will convert this to a feature request to include these settings in a way that works across all versions.

Regarding crafting, you can create your own recipes to provide players with the desired spawn eggs. NPCs spawned from these eggs are owned by the player, allowing them to edit the NPCs.
However, please note that there are limited safeguards for the new NPC features at the moment, which could potentially allow users to create automated systems or duplicators.

Please share more details about your specific use case so I can ensure appropriate safeguards are implemented.