Brama 1.3.0
Curse Maven Snippet
What's new
The quality-of-life release: wood variants, gates that shut themselves on an enemy, and a hole in the permission system closed.
Added
- Eleven woods for the Medieval Gate, the Drawbridge and the Bascule Drawbridge: oak, spruce, birch, jungle, acacia, dark oak, mangrove, cherry, bamboo, crimson and warped. Each has its own artwork at every one of the eleven gate sizes and in every wear stage, and is crafted from its own logs. Balance is identical across woods on purpose.
- Gates that shut themselves. An enemy walking up to an open gate closes it. Configured under
siegein the server config, and off the momentautoCloseis false. /gate enemy add|remove|list— your own list of who you are at war with, applying to every gate you own rather than to one doorway at a time.- Claim mod integration. FTB Chunks (with FTB Teams for alliances) and Open Parties and Claims
are read through their own APIs; everything else that protects blocks is covered by a generic
probe. None of it is a dependency. Allies of a gate's owner can open it without being trusted
individually, which
siege.trustClaimAlliesturns off. /gate infonow reports the gate's footprint.- Defenders nearby are told when one of their gates shuts itself on somebody
(
siege.warnDefenders).
Changed
- Operators only override a gate's access list in creative mode. Permission level alone used to
be enough, which made a moderator playing the server's own survival world a skeleton key: every
locked gate on the map opened to them, and nothing told the owner. The rule covers the
/gatecommands as well as opening the gate, because an operator who could still run/gate opin survival would simply grant themselves the gate.general.adminBypassRequiresCreativerestores the old behaviour. - The oak gate and bridges now need oak logs, not any log. Each wood is crafted from its own, the way vanilla doors are.
- The gate's footprint moved from the blockstate onto the block entity. No visible effect, and the reason is arithmetic: eleven footprints times eleven woods would have come to roughly 1.9 million blockstates, each of which Minecraft builds a shape cache for at startup. The mod now registers about 169,000 — fewer than version 1.2 did with four gates and one wood — and builds no caches at all, because its shapes are declared dynamic.
- Gates saved by an older version are measured from their own parts the first time they load, so existing castles keep their owners, their access lists and their shape. A gate whose parts no longer add up to a valid footprint is taken apart into loose blocks and logged, rather than left standing as the wrong size.
- Wear artwork for the oak gate and the decks now stops at stage 3, which is as far as the new artwork goes; a fifth stage, if configured, reuses it rather than showing the old mismatched texture.
- The mod is open source under the MIT licence, and the per-wood resources are generated by
tools/generate_resources.pyrather than written by hand.
Fixed
- A gate could be opened by an operator in survival mode even while locked.
This mod has no additional files