aea-1.6.6+mc1.20.1.jar
Curse Maven Snippet
What's new
Added
aea:mind_control(bi-entity action) [1.6.6]- The actor (a player) takes over the target (a player or any mob). The controller becomes a spectator whose camera is locked to the target, so it works at any distance and in other dimensions.
- A body with the controller's skin, armour and held items stands where they were. Damage to the body goes to the controller. A hit that would kill them ends the session first, so they die back in their own body.
- Where they stood and their game mode are saved in their player data, so a crash or a disconnect puts them back on their next login.
- Mobs:
- Their AI is paused, and the server moves them from the controller's keys.
- Left click attacks.
- Right click ignites a creeper, shoots a ghast's or blaze's fireball, or fires a ranged mob's attack at what the controller is looking at.
- Players: their client presses the relayed keys, so they move normally. Their own keys for the controlled parts are ignored.
- Fields:
controls: one name or a list, default all. The names aremove,look,jump,sneak,sprint,attack,use,hotbar,drop,swap_hands,chatandcommands.- With
chat, the controller's messages are sent as the target, and the target's own messages are blocked. - With
commands, the controller's commands run as the target, and the target's own commands are blocked.
- With
duration: in ticks.release_condition: a bi-entity condition (controller → target).struggle: how many presses of taken keys free a player target. They see a bar.kill_credit(default false): the target's kills count as the controller's, and the death message adds "(controlled by …)".close_screens(default false): keeps a player target out of containers.body_damage(default true): false makes the body unhurtable, except by the void or/kill.share_damage(default 0): the part of what the target takes that also hits the controller.on_startandon_release: bi-entity actions.
- A session ends when:
- its duration runs out, or its release condition passes;
- the target dies;
- either side uses
aea:release_mind_control; - either side logs out;
- the controller's game mode is changed (the new game mode stays).
- Mind control needs AEA on the controller's client, and on the target's client when the target is a player.
aea:release_mind_control(entity action): ends the session the entity is in, from either side. [1.6.6]aea:mind_controlled,aea:mind_controlling(entity conditions) andaea:mind_controls(bi-entity condition, controller → target). They work in conditions checked on the client too. [1.6.6]aea:prevent_spawn_point(power) [1.6.5]- Beds, respawn anchors,
/spawnpointand anything else can't set or move the holder's spawn point. source: limit it tobed,respawn_anchor,commandorother, one or a list. The default is all of them. A source that doesn't exist makes the power fail to load.message: text shown above the hotbar when a spawn point is refused.- Sleeping still works, clearing a spawn point (a broken bed, an empty anchor) still works, and respawning keeps the spawn point the holder already had.
- Beds, respawn anchors,
aea:see_invisible(power) [1.6.1, final form 1.6.4]- The holder sees invisible entities, drawn see-through. Only drawing changes: the entity is still invisible to mobs, and
apoli:invisibleis still true for it. - Armour hidden by
apoli:invisibilityshows too. opacity: 0 is fully visible and 1 is fully transparent. The default is0.5.bientity_condition: the actor is the holder and the target is the invisible entity.source: which invisibility it sees through, one or a list.- Strings:
"any"(the default),"effect"(the Invisibility effect or theInvisibledata tag), a power ID, or"#<tag>"(powers with that tag in their owntagsfield). - Objects:
{"type": "effect", "effect": "<effect id>"},{"type": "power", "power": "<power id>"},{"type": "power_tag", "tag": "<tag>"}("tag"also works as the type), and{"type": "any"}.
- Strings:
- The power's
conditionis checked on the server. A revealed entity doesn't count as hidden from the holder on the server either.
- The holder sees invisible entities, drawn see-through. Only drawing changes: the entity is still invisible to mobs, and
aea:milk_immunity(power) [1.6.1]- Milk can't remove the listed effects:
effect,effectsand/oreffect_type. inverted: true: milk removes only the listed effects.- With no list, milk removes nothing.
- It works for any food or drink that clears all effects the way milk does.
/effect clearstill clears everything.
- Milk can't remove the listed effects:
effect_typefield [1.6.1]"beneficial","harmful"or"neutral", or a list of them. It matches every effect of those kinds, modded ones included.apoli:effect_immunity: immune to every effect of those kinds, together witheffect/effects.invertedapplies to all of them.apoli:status_effect(entity condition): checks for any effect of those kinds. It needs eithereffectoreffect_type, not both and not neither [1.6.2]. The amplifier and duration limits still apply.aea:milk_immunitytakes it too.
- Data pack game rules [1.6.1, final form 1.6.2]
- Define a rule in
data/<namespace>/gamerules/<name>.json, for example{ "type": "boolean", "default": true }or{ "type": "integer", "default": 3, "min": 1, "max": 10 }.- The rule is
<namespace>:<file name>, in lowercase. typeis required and must bebooleanorinteger.
- The rule is
- Change a rule with the vanilla command:
/gamerule example:creeper_break_blocks false. Values are saved with the world and kept if the pack is removed for a while. /gamerule <rule>returns the value, so/execute store result … run gamerule <rule>works in functions.aea:gamerulecondition:- Works as an entity, bi-entity, block, item, damage, fluid, biome and static condition [static: 1.6.4].
{ "type": "aea:gamerule", "gamerule": "example:creeper_break_blocks" }is true while the rule is true.- Add
comparisonandcompare_totogether for number rules. - Vanilla rules work too (
"gamerule": "mobGriefing"). A rule that doesn't exist counts as 0.
- Expressions:
gamerule(example:blast_power), where true is 1 and false is 0. For example, in thescaleofapoli:scale. - Players are sent the current values, so conditions checked on the client (keys, HUD, rendering) see the same values as the server.
- Define a rule in
Fixed
apoli:zoom,apoli:modify_fov,apoli:modify_cameraandapoli:modify_hearing_range(from Overgrown's Apoli) never turned on, because the server never told the player's game which of these powers were active. It does now. [1.6.4]aea:mob_ai: when the same power came from two sources, removing one of them undid its changes to the mob. They now stay until the last source is gone. [1.6.4]
Notes
- New mixin config
aea-mindcontrol.mixins.json[1.6.6]. Like the rest of AEA, it uses no@Redirect,@ModifyConstantor@Overwrite.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects