Skip to content

Commit

Permalink
Merge pull request #699 from fabriziodsp-ransom/wiki
Browse files Browse the repository at this point in the history
Fixed missing link.
  • Loading branch information
MedicalJewel105 authored Aug 16, 2023
2 parents e684656 + 79d8a84 commit b376597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/loot/trading-behavior.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ For a simple trading UI, `trade_table` + `trade_with_player` components should d
```

3. Now make sure the component group is added to the entity via an event. It's a good idea to add it in `minecraft:entity_spawned` event, since it triggers on spawn.
If you don't feel confident with events and component groups, make sure you're familiar with entity definition rules/concepts: {LINK TO CUSTOM ENTITY BEHAVIOR DEFINITION SUBGUIDE}.
If you don't feel confident with events and component groups, make sure you're familiar with entity definition rules/concepts. See the [Intro to Entities](/entities/entity-intro-bp).

:::warning
If you add the component in components, it will cause all kinds of problems, including blank trading UIs for all entities in the world. Because of an issue with the trading AI goals, they must be added in component groups.
:::
:::

0 comments on commit b376597

Please sign in to comment.