Skip to content

Commit

Permalink
Fix conditions documentation on NeoForge
Browse files Browse the repository at this point in the history
  • Loading branch information
TheIllusiveC4 committed Jul 2, 2024
1 parent ff8f73b commit 9ae5f30
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
sidebar_position: 3
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Entity Slot Types

Expand Down Expand Up @@ -50,9 +52,18 @@ An array of registry names of entity types or entity type tags.
An array of `identifier` names for registered slot types.
* **default:** `[]`

### **conditions** (string[])
<Tabs groupId="modloader">
<TabItem value="forge" label="Forge" default>
<h2> **conditions** (string[]) </h2>
An array of `ICondition` implementations that must all pass before these slots are loaded into these entities.
* **default:** `[]`
</TabItem>
<TabItem value="neoforge-2" label="NeoForge 1.20.2+">
<h2> **neoforge:conditions** (string[]) </h2>
An array of `ICondition` implementations that must all pass before these slots are loaded into these entities.
* **default:** `[]`
</TabItem>
</Tabs>

All the listed slots will be associated to all the listed entities.

Expand Down

0 comments on commit 9ae5f30

Please sign in to comment.