Made by McJty, AdLf0208. Its authors own it and answer for it. Not made or endorsed by the Horizon project. Mod policy
A port of Restrictions (MIT, by McJty) for Horizon. This first slice is the Attractor and the Pusher: blocks that pull or push the mobs in front of them.
Implemented so far
pos + facing*1 … pos + facing*signal (the block's own cell excluded), where signal is the strongest neighbouring redstone signal (0 means off). Each server tick, every mob whose bounding box intersects one of those cells gets a velocity impulse along the facing: −0.1 blocks/tick for the attractor (toward the block) and +0.1 for the pusher (away). A cell is tested by intersection when the entity has a bounding box, with the feet-cell test as the fallback for entity kinds that have none — so a tall mob is drawn in even when its feet are a cell lower. No line-of-sight test (upstream has none).block_entity hook and ticks through block_entity_ticks; the facing is read from the block's facing property, and the redstone signal from the neighbouring cells each tick..hnmod./restrictions readout commands for the harness.Not yet ported
noCollission() and applies its push on entityInside. Horizon's content format couples outline and collision and has no per-entity collision shape, and there is no neutral no-collision template with a block entity — deferred to an engine API.MIT; the original copyright and permission notices travel inside the archive at mixins/restrictions/LICENSE.
A native mod is Rust code that the launcher compiles into a game of its own, the Native mods instance. It is not sandboxed: it can do anything you can on this computer. The launcher builds it only after a warning that names it, and a reviewer read its source before it was listed. Read the source yourself before you build it. How native mods work
0.2.12026-11-10 · for Minecraft 26.3 · made on Horizon 0b14f8a
First release