feat(anthrax-cat): add Maneki-neko lucky cat decoration addon, remove easter egg
All checks were successful
Deploy Addons / deploy (push) Successful in 46s

- New silverlabs:anthrax_cat entity: sitting cat with waving paw animation,
  idle body bob, look-at-player, fortune message + bell sound on interact
- Custom 64x64 texture (cream/white, red bib, gold coin, orange tabby patches)
- Custom geometry: body, head, ears, raised left arm, tail, bib, coin bones
- Removed easter egg addon mounts from all 4 servers (lobby + 3 child worlds)
- Anthrax Cat mounted on all 4 servers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 20:24:26 +01:00
parent 367f46ad8b
commit d552525281
12 changed files with 401 additions and 4 deletions

View File

@@ -0,0 +1,79 @@
{
"format_version": "1.21.0",
"minecraft:entity": {
"description": {
"identifier": "silverlabs:anthrax_cat",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"silverlabs:active": {
"minecraft:interact": {
"interactions": [
{
"interact_text": "action.interact.fortune",
"play_sounds": "note.bell",
"event": "silverlabs:interacted"
}
]
}
}
},
"components": {
"minecraft:type_family": {
"family": ["anthrax_cat", "decoration"]
},
"minecraft:physics": {
"has_gravity": true,
"has_collision": true
},
"minecraft:pushable": {
"is_pushable": false,
"is_pushable_by_piston": false
},
"minecraft:collision_box": {
"width": 0.7,
"height": 0.95
},
"minecraft:knockback_resistance": {
"value": 1.0
},
"minecraft:damage_sensor": {
"triggers": [
{
"cause": "all",
"deals_damage": false
},
{
"cause": "override",
"deals_damage": true
}
]
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:persistent": {},
"minecraft:nameable": {},
"minecraft:behavior.look_at_player": {
"priority": 1,
"target_distance": 8.0,
"look_time": [2, 6],
"probability_per_distance": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 2
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": ["silverlabs:active"]
}
},
"silverlabs:interacted": {}
}
}
}

View File

@@ -0,0 +1,34 @@
{
"format_version": 2,
"header": {
"name": "Anthrax Cat BP",
"description": "Anthrax Cat (Maneki-neko) lucky cat decoration — waving paw, fortune on interact",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"version": [1, 0, 0],
"min_engine_version": [1, 21, 0]
},
"modules": [
{
"type": "data",
"uuid": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"version": [1, 0, 0]
},
{
"type": "script",
"language": "javascript",
"uuid": "e5f6a7b8-c9d0-1234-efab-345678901234",
"version": [1, 0, 0],
"entry": "scripts/main.js"
}
],
"dependencies": [
{
"module_name": "@minecraft/server",
"version": "1.17.0"
},
{
"uuid": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"version": [1, 0, 0]
}
]
}

View File

@@ -0,0 +1,23 @@
import { world } from "@minecraft/server";
const FORTUNES = [
"Great fortune smiles upon you today!",
"Your builds will be legendary.",
"A lucky find awaits you soon.",
"Adventure and treasure lie ahead!",
"The cat's blessing brings you luck.",
"Today is a perfect day to explore.",
"Fortune favors the bold builder!",
"Something wonderful is about to happen.",
"The paw that waves beckons prosperity your way.",
"Keep going — great things await you!",
];
world.afterEvents.playerInteractWithEntity.subscribe((event) => {
if (event.target.typeId !== "silverlabs:anthrax_cat") return;
const player = event.player;
const fortune = FORTUNES[Math.floor(Math.random() * FORTUNES.length)];
player.sendMessage(`§6[✦ Anthrax Cat] §e${fortune}`);
});