diff --git a/src/main/kotlin/com/lop/devtools/monstera/files/beh/entitiy/BehEntityComponents.kt b/src/main/kotlin/com/lop/devtools/monstera/files/beh/entitiy/BehEntityComponents.kt index fd17395..b7293cc 100644 --- a/src/main/kotlin/com/lop/devtools/monstera/files/beh/entitiy/BehEntityComponents.kt +++ b/src/main/kotlin/com/lop/devtools/monstera/files/beh/entitiy/BehEntityComponents.kt @@ -2838,6 +2838,10 @@ class BehEntityComponents : MonsteraFile { entityLifeSpan = 1.1f soundEvent = "prepare.attack" /* or use the sound {} api */ } + sequence { + summonCap = 8 + summonCapRadius = 16 + } } //other doCasting = true diff --git a/src/main/kotlin/com/lop/devtools/monstera/files/beh/entitiy/components/ComponentSummonChoice.kt b/src/main/kotlin/com/lop/devtools/monstera/files/beh/entitiy/components/ComponentSummonChoice.kt index d00159f..f70f792 100644 --- a/src/main/kotlin/com/lop/devtools/monstera/files/beh/entitiy/components/ComponentSummonChoice.kt +++ b/src/main/kotlin/com/lop/devtools/monstera/files/beh/entitiy/components/ComponentSummonChoice.kt @@ -18,7 +18,6 @@ class ComponentSummonEntity : MonsteraFile { } } - var priority: Int = 0 set(value) { unsafe.general["priority"] = value @@ -144,6 +143,23 @@ class SummonSequence : MonsteraFile { } } + /** + * ``` + * sequence { + * shape = "circle" + * target = Subject.SELF + * baseDelay = 1f + * delayPerSummon = 0f + * numEntitiesSpawned = 5 + * entityType = "minecraft:evocation_fang" + * size = 1.5f + * entityLifeSpan = 1.1f + * soundEvent = "prepare.attack" /* or use the sound {} api */ + * summonCap = 3 + * summonCapRadius = 16 + * } + * ``` + */ fun sequence(data: SummonSeqCom.() -> Unit) { unsafe.general.add(SummonSeqCom().apply(data).unsafe.getData()) } @@ -208,12 +224,12 @@ class SummonSeqCom : MonsteraFile { var summonCap: Int = 0 set(value) { - unsafe.general["summon_cap"] + unsafe.general["summon_cap"] = value field = value } var summonCapRadius: Number = 0 set(value) { - unsafe.general["summon_cap_radius"] + unsafe.general["summon_cap_radius"] = value field = value } } \ No newline at end of file