Test Guide - MarkusBordihn/BOs-Easy-NPC GitHub Wiki
๐งช Easy NPC Test Guide
This guide helps you test the core features of the Easy NPC mod in a structured, beginner-friendly way โ whether you're a seasoned developer or testing for the first time.
๐ง Step 1: Spawn a Test NPC
- Launch your test world. Not sure how? Follow the Test-Modpack-Setup.
- Switch to Creative Mode:
- Press and hold
F3
, then tapF4
to cycle through game modes. - Stop when
Creative
is selected and release both keys.
- Press and hold
- Open your inventory and search for:
- ๐ญ Humanoid NPC Spawn Egg
- Place the egg on the ground to spawn your test NPC.
๐ Best Practice: Use a world with natural terrain (e.g., default world type) to better test behaviors like following, walking, pathfinding, and positioning.
๐ช Step 2: Open the NPC Editor
- Search for the Easy NPC Wand in your inventory.
- Right-click directly on the NPC to open the configuration screen.
๐ก Tip: No need to sneak! Just right-click while holding the wand.
๐ Step 3: Perform UI Tests
Work through each section of the configuration UI and verify that settings apply correctly.
โ Test Workflow
- ๐ง Make a change
- ๐ Observe the result in the world
- ๐พ Save the configuration
- ๐ Reopen the UI or reload the world
- ๐งช Check that the change persisted
โ๏ธ Basic Information
- Name: Change it and check if the name appears above the NPC.
- Name Color: Try different color codes. Is the color shown as expected?
- Visibility: Toggle name visibility on/off and verify it's reflected in-game.
๐จ Appearance Settings
- Skin: Assign a player or custom skin. Check for proper rendering.
- Model: Switch between player and custom models. Does the model update correctly?
๐ง Behavior and Attributes
- Attributes: Modify health, movement speed, and attack damage. Test in survival mode.
- Dialog: Add custom lines or use presets (see next section).
- Equipment: Equip armor or items. Confirm they visually appear on the NPC.
- Objectives: Set movement targets, follow behavior, or guarding behavior. Test these live.
๐ฅ Step 4: Load Presets for Advanced Tests
Use the Import feature to test preconfigured NPCs.
- In the NPC UI, go to the Import tab.
- Choose
default_professor_quiz
or other available presets. - Interact with the NPC:
- Test dialog trees with multiple choices
- Confirm correct text display, selection handling, and response flow
๐ Presets are great for quickly testing full features like dialogs, trading, and logic conditions.
๐ฏ Step 5: Create Simple Testing Scenarios
While testing features individually is helpful, it's also important to verify how they work together.
๐งช Example Scenario:
- Create an NPC with:
- Custom skin and model
- Equipment in hand and armor slots
- Name, color, and visibility settings
- Objectives to follow or guard
- A simple dialog or trading setup
๐ Walk around, interact with the NPC, and see if all configured features behave correctly in combination.
This helps to detect edge cases or bugs that only occur when multiple systems are used together.
โ Step 6: Full Feature Checklist
Use this checklist to ensure all key areas are tested:
- Name
- Skin
- Model
- Import / Export
- Actions
- Attributes
- Dialog
- Equipment
- Objectives
- Pose
- Position
- Rotation
- Scaling
- Trading
โ๏ธ Optional: Test with Commands
Some advanced features and configurations can also be tested using commands instead of the UI.
๐ Command Reference (Optional)
โ ๏ธ Note: Using commands may require a deeper understanding of Minecraft command syntax and is best suited for experienced testers or developers.
๐งช General QA Tips
- ๐งญ Explore edge cases: What happens if you set extreme values (e.g., very high speed)?
- ๐ Watch for visual glitches: Scaling, equipment display, name clipping, etc.
- ๐พ Persistence check: Are changes saved after leaving and rejoining the world?
- ๐ Cross-feature consistency: Does equipment still show correctly after changing the model?
- ๐งฑ Terrain interaction: Try pathing, following, or objectives on different terrain (hills, caves).
- ๐ง Interaction feedback: Dialog responses, trade clicks โ do they behave as expected?
๐ For detailed behavior descriptions, check out the full BOs-Easy-NPC Wiki.
๐ Happy testing โ and thank you for helping improve the mod!