Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0a6fd851c1 | |||
| c635de501a |
@@ -0,0 +1,32 @@
|
|||||||
|
// Brass and Sigil -- disable specific Alex's Mobs features
|
||||||
|
//
|
||||||
|
// 1. Transmutation Table
|
||||||
|
// Competes with Ars Nouveau's crafting depth and bypasses the
|
||||||
|
// Numismatics-based player economy by offering free item-to-item
|
||||||
|
// conversion. Remove the crafting recipe so no one can make one.
|
||||||
|
// Existing tables (none yet) are left as-is.
|
||||||
|
//
|
||||||
|
// 2. Shattered Dimensional Carver
|
||||||
|
// Teleports the player 1,000,000 blocks in a random direction on
|
||||||
|
// use. Breaks any server-side world-boundary or chunk-loading
|
||||||
|
// assumptions, drops the player into an unloaded chunk far from
|
||||||
|
// anyone else. Cancel right-click on the item so it does nothing.
|
||||||
|
//
|
||||||
|
// We can't easily prevent the Capsid-shatters-Carver interaction
|
||||||
|
// (it is a block contact reaction, not a recipe), so the player
|
||||||
|
// can still produce the item -- it just won't fire.
|
||||||
|
|
||||||
|
ServerEvents.recipes(event => {
|
||||||
|
event.remove({ output: 'alexsmobs:transmutation_table' });
|
||||||
|
console.info('[bns/disable_alexsmobs_features] removed transmutation_table crafting recipe');
|
||||||
|
});
|
||||||
|
|
||||||
|
ItemEvents.firstRightClicked('alexsmobs:shattered_dimensional_carver', event => {
|
||||||
|
event.cancel();
|
||||||
|
const player = event.player;
|
||||||
|
if (player && !event.level.isClientSide()) {
|
||||||
|
player.tell('The Shattered Dimensional Carver is disabled on this server.');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
console.info('[bns/disable_alexsmobs_features] loaded');
|
||||||
+2
-2
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing",
|
"$schema": "Brass-and-Sigil pack.lock.json - generated, do not edit by hand unless you know what you are doing",
|
||||||
"name": "Brass and Sigil",
|
"name": "Brass and Sigil",
|
||||||
"version": "0.30.1",
|
"version": "0.30.2",
|
||||||
"minecraft": "1.21.1",
|
"minecraft": "1.21.1",
|
||||||
"loader": {
|
"loader": {
|
||||||
"type": "neoforge",
|
"type": "neoforge",
|
||||||
"version": "21.1.228"
|
"version": "21.1.228"
|
||||||
},
|
},
|
||||||
"lockedAt": "2026-05-30T20:06:36Z",
|
"lockedAt": "2026-05-30T20:48:13Z",
|
||||||
"mods": [
|
"mods": [
|
||||||
{
|
{
|
||||||
"source": "modrinth",
|
"source": "modrinth",
|
||||||
|
|||||||
Reference in New Issue
Block a user