From 9ae5f30da95a1a11a62185116628c1f2cf02dc36 Mon Sep 17 00:00:00 2001 From: C4 <29991504+TheIllusiveC4@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:18:26 -0700 Subject: [PATCH] Fix conditions documentation on NeoForge --- .../{entity-register.md => entity-register.mdx} | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) rename docs/curios/slots/{entity-register.md => entity-register.mdx} (85%) diff --git a/docs/curios/slots/entity-register.md b/docs/curios/slots/entity-register.mdx similarity index 85% rename from docs/curios/slots/entity-register.md rename to docs/curios/slots/entity-register.mdx index 09317d6..65353b4 100644 --- a/docs/curios/slots/entity-register.md +++ b/docs/curios/slots/entity-register.mdx @@ -1,6 +1,8 @@ --- sidebar_position: 3 --- +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; # Entity Slot Types @@ -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[]) + + +

**conditions** (string[])

An array of `ICondition` implementations that must all pass before these slots are loaded into these entities. * **default:** `[]` +
+ +

**neoforge:conditions** (string[])

+An array of `ICondition` implementations that must all pass before these slots are loaded into these entities. +* **default:** `[]` +
+
All the listed slots will be associated to all the listed entities.