中文介绍看这里
laowu meme
一款关于猫咪的 Minecraft 模因模组!当一只名为 Laowu(老吴)的猫靠近任何其他猫时,它们会眼神交汇,以镜像般的歪头动作互碰额头,弓起背部并变大,同时随机播放一段背景音乐。右键点击任意一只猫可以将其分开,它们会自然走开。支持单人游戏和多人游戏——服务器拥有最终权限,因此每位玩家看到的效果完全一致。
功能特性
- 一只名为“Laowu”的猫 + 6 格内的任意猫 → 它们会一起行走、面对面,做出镜像歪头+弓背哈气姿势+体型增大的效果
- 随机播放选定的背景音乐之一(16 格内可听见)
- 右键点击任意一只猫可将它们分开;它们会自然离开
- 分开的配对在 3 分钟内不会再次触发
- Milkcat 换肤:将任何猫命名为“奶猫”(Milkcat),即可将其纹理替换为可爱的黄色卡通猫(所有毛色共用同一皮肤,仅限成年猫)
- 铲子压扁:用任意铲子右键点击猫,将其压扁成“干”字形(身体被压扁,四肢张开)——8 秒后恢复原状;同时取消任何正在进行的互碰配对
Maodie Cat (多区块结构)
还有第二个功能:Maodie Cat(耄耋)。使用任何木质方块(橡木、云杉木、白桦木、丛林木、金合欢木、深色橡木、 Cherry 木、红树林木、诡异木等——混合使用均可)建造一堵墙结构,附近名为 Maodie 的猫会被召唤出来坐在它的座位上。坐下后,当玩家在 5 格范围内时,猫会循环哈气,并转动头部追踪最近的玩家。破坏该结构即可释放它。

工作原理
- 一旦检测到结构,服务器会在 10 格内寻找名为 Maodie 的猫,将其传送至锚定台阶顶部并使其坐下(AI 不冻结)。
- 坐下的猫:玩家在 5 格范围内 → 循环播放哈气声 (
maodie.ogg,16 格内可听见,带有自然衰减);猫会用头部追踪最近的玩家。离开范围后停止。
- 破坏结构的任何部分(尤其是锚定台阶)→ 释放猫;它会站起来走开。
- 基于名称的换肤:任何名为 Maodie 的猫都会获得与其自身毛色匹配的“Hakimi 风格”纹理(仅限成年猫;幼猫保留原版纹理以避免错误)。纯客户端侧、基于名称,与结构无关。
建造结构
这是一个“猫屋墙”:在地面上铺设一个 6 宽 (x:0–5) × 6 高 (y:0–5) 的垂直面,所有方块位于相同的 z 层(厚度为 1 个方块)。任何木质方块均可使用(木板 / 台阶 / 活板门 / 半砖);不同木材类型可以混合。
仰视图(y 从上到下,x 从左到右;原点 [0,0,0] 是左下角的地面方块):
y\x 0 1 2 3 4 5
5 [ ] [ ] [T] [T] [ ] [ ]
4 [ ] [S] [T] [S] [S] [ ]
3 [T] [T] [ ] [S] [ ] [T]
2 [T] [L] [S] [ ] [T] [T]
1 [ ] [S] [T] [S] [S] [ ] ← x=4,y=1 处的锚定台阶(猫坐在此上方)
0 [ ] [T] [P] [P] [T] [ ]
图例:S=台阶 T=活板门 P=木板 L=半砖 [ ]=空气(空位)
方块列表(共 23 个方块,相对于原点 [0,0,0]):
| 坐标 (x,y,z) |
方块 |
关键状态 |
| 1,0,0 |
活板门 |
下半部分,打开 |
| 2,0,0 |
木板 |
— |
| 3,0,0 |
木板 |
— |
| 4,0,0 |
活板门 |
下半部分,打开 |
| 1,1,0 |
台阶 |
上半部分,直线 |
| 2,1,0 |
活板门 |
上半部分,关闭 |
| 3,1,0 |
台阶 |
上半部分,直线 |
| 4,1,0 |
台阶 |
上半部分,直线(锚定点 / 猫座位) |
| 0,2,0 |
活板门 |
上半部分,打开 |
| 1,2,0 |
半砖 |
上半部分 |
| 2,2,0 |
台阶 |
上半部分,直线 |
| 4,2,0 |
活板门 |
下半部分,打开 |
| 5,2,0 |
活板门 |
上半部分,打开 |
| 0,3,0 |
活板门 |
下半部分,打开 |
| 1,3,0 |
活板门 |
下半部分,打开 |
| 3,3,0 |
台阶 |
下半部分,直线 |
| 5,3,0 |
活板门 |
上半部分,打开 |
| 1,4,0 |
台阶 |
下半部分,直线 |
| 2,4,0 |
活板门 |
下半部分,关闭 |
| 3,4,0 |
台阶 |
下半部分,直线 |
| 4,4,0 |
台阶 |
下半部分,直线 |
| 2,5,0 |
活板门 |
下半部分,关闭 |
| 3,5,0 |
活板门 |
下半部分,关闭 |
任意木材类型:木板/台阶/活板门/半砖可替换为任何木材变体(橡木、云杉木、白桦木、丛林木、金合欢木、深色橡木、Cherry 等),位置间可自由混合。模组仅检查方块类型(台阶就是台阶),不区分具体木材种类。
懒人设置:仓库中包含一个 Litematica 示意图 docs/耄耋的家.litematic —— 使用 Litematica 模组加载,即可一次性放置整个结构。(示意图中 [3,2,0] 处的黑色蜡烛是可选的;模组不检查它。)
规则与提示
- 锚定台阶
[4,1,0]:猫会传送到其上方一格 [4,2,0],坐在台阶顶部(而非活板门上)。
- 活板门朝向随意 —— 模组在匹配时忽略活板门朝向;但打开/关闭状态和上下半必须与列表匹配。
- 整个结构可以旋转 90°/180°/270° —— 模组自动检测所有 4 种方向;台阶朝向只需与结构旋转保持一致(模组会比较旋转后的朝向)。活板门朝向仍然不重要。
- 名为 Maodie 的猫必须在结构 10 格范围内;服务器每 20 刻扫描一次,识别后召唤猫。
- 破坏任何部分(尤其是锚定台阶)→ 释放猫。
服务器权威架构
在多人游戏服务器上,服务器必须安装此模组(所有逻辑均在服务器端运行);客户端也需要它来渲染歪头/体型增大/哈气/音乐效果。在单人游戏中,一份副本自动覆盖双方。
音频
内置音频
音频文件(laowu2.ogg / qiliang.ogg)未包含在仓库中——如果从源代码构建,请将其放入 src/main/resources/assets/laowu_meme/sounds/。必须使用 Ogg Vorbis 格式(Minecraft 仅支持 ogg);可使用 ffmpeg 将 mp3 转换:
ffmpeg -i input.mp3 -c:a libvorbis -q:a 4 -ar 44100 -ac 1 output.ogg
导入的音频(运行时热加载)
在游戏中打开模组的配置界面(触发 meme 后按 Escape 或通过模组菜单),点击 “打开音频文件夹” 以打开 config/laowu_meme/sounds/。将 .ogg 文件放入其中,重新打开配置界面 即可查看并启用它们——它们将加入内置音频池用于随机播放。无需重启或 F3+T。
- 导入的音频 必须是
.ogg(Ogg Vorbis) 格式——Minecraft 不会播放 mp3/wav。
- 有 mp3?请先在线转换,然后将
.ogg 文件放入该文件夹。
- 每个音频条目可在配置界面中单独启用/禁用;状态会在会话之间持久化到
config/laowu_meme/enabled.properties。
依赖项
致谢
- 猫纹理来自 一A化三哈(Bilibili:)制作的 maocraft 资源包。他的全套猫毛皮纹理已作为名为 "Maodie" 的猫的专属外观打包在内。感谢授权!
许可证
MIT
中文介绍看这里
laowu meme
A Minecraft meme mod about cats! When a cat named Laowu (老吴) gets close to any other cat, they lock eyes, bump heads with mirrored head-tilts, arch their backs, grow bigger, and a random BGM starts playing. Right-click either cat to break it up and they walk away naturally. Works in singleplayer and multiplayer — the server is authoritative, so every player sees the exact same thing.
Features
- A cat named "Laowu" + any cat within 6 blocks → they walk together, face each other, mirrored head-tilt + arched-back hissing pose + size boost
- Randomly plays one of the selected BGMs (audible within 16 blocks)
- Right-click either cat to break them up; they walk off naturally
- The broken-up pair won't retrigger for 3 minutes
- Milkcat reskin: name any cat "奶猫" (Milkcat) to swap its texture to a cute yellow cartoon cat (same skin for all coat colors, adults only)
- Shovel flatten: right-click a cat with any shovel to flatten it into a "干" shape (body squashed, legs splayed) — it pops back after 8 seconds; also cancels any active head-bump pairing
Maodie Cat (multi-block structure)
There's a second feature: Maodie Cat (耄耋). Build a wall structure from any wood-type blocks (oak, spruce, birch, jungle, acacia, dark oak, cherry, mangrove, warped, etc. — mixing is fine), and a nearby cat named Maodie will be summoned to sit on its seat. While seated, the cat hisses on loop when a player is within 5 blocks and turns its head to track the nearest player. Breaking the structure releases it.

How it works
- Once the structure is detected, the server finds a cat named Maodie within 10 blocks, teleports it onto the anchor stair top and makes it sit (AI not frozen).
- Seated cat: player within 5 blocks → looping hiss sound (
maodie.ogg, audible within 16 blocks with natural falloff); the cat tracks the nearest player with its head. Stops when you leave the range.
- Breaking any part of the structure (especially the anchor stair) → releases the cat; it stands up and walks away.
- Name-based reskin: any cat named Maodie gets a "Hakimi-style" texture matching its own coat color (adult cats only; kittens keep vanilla textures to avoid errors). Purely client-side, name-based, independent of the structure.
Building the structure
This is a "cat house wall": lay a 6-wide (x:0–5) × 6-tall (y:0–5) vertical face on the ground, all blocks on the same z layer (1 block thick). Any wood-type blocks work (planks / stairs / trapdoors / slabs); different wood types can be mixed.
Elevation view (y top-to-bottom, x left-to-right; origin [0,0,0] is the bottom-left ground block):
y\x 0 1 2 3 4 5
5 [ ] [ ] [T] [T] [ ] [ ]
4 [ ] [S] [T] [S] [S] [ ]
3 [T] [T] [ ] [S] [ ] [T]
2 [T] [L] [S] [ ] [T] [T]
1 [ ] [S] [T] [S] [S] [ ] ← anchor stair at x=4,y=1 (cat sits on top)
0 [ ] [T] [P] [P] [T] [ ]
Legend: S=stairs T=trapdoor P=planks L=slab [ ]=air (empty)
Block list (23 blocks total, relative to origin [0,0,0]):
| Coords (x,y,z) |
Block |
Key state |
| 1,0,0 |
Trapdoor |
bottom half, open |
| 2,0,0 |
Planks |
— |
| 3,0,0 |
Planks |
— |
| 4,0,0 |
Trapdoor |
bottom half, open |
| 1,1,0 |
Stairs |
top half, straight |
| 2,1,0 |
Trapdoor |
top half, closed |
| 3,1,0 |
Stairs |
top half, straight |
| 4,1,0 |
Stairs |
top half, straight (anchor / cat seat) |
| 0,2,0 |
Trapdoor |
top half, open |
| 1,2,0 |
Slab |
top half |
| 2,2,0 |
Stairs |
top half, straight |
| 4,2,0 |
Trapdoor |
bottom half, open |
| 5,2,0 |
Trapdoor |
top half, open |
| 0,3,0 |
Trapdoor |
bottom half, open |
| 1,3,0 |
Trapdoor |
bottom half, open |
| 3,3,0 |
Stairs |
bottom half, straight |
| 5,3,0 |
Trapdoor |
top half, open |
| 1,4,0 |
Stairs |
bottom half, straight |
| 2,4,0 |
Trapdoor |
bottom half, closed |
| 3,4,0 |
Stairs |
bottom half, straight |
| 4,4,0 |
Stairs |
bottom half, straight |
| 2,5,0 |
Trapdoor |
bottom half, closed |
| 3,5,0 |
Trapdoor |
bottom half, closed |
Any wood type: planks/stairs/trapdoors/slabs can be replaced with any wood variant (oak, spruce, birch, jungle, acacia, dark oak, cherry, etc.), mixed freely across positions. The mod only checks block type (a stair is a stair), not the wood species.
Lazy setup: the repo includes a Litematica schematic docs/耄耋的家.litematic — load it with the Litematica mod to place the whole structure in one go. (A black candle at [3,2,0] in the schematic is optional; the mod doesn't check it.)
Rules & tips
- Anchor stair
[4,1,0]: the cat teleports to one block above it [4,2,0], sitting on the stair top (not on the trapdoor).
- Trapdoor facing is free — the mod ignores trapdoor facing when matching; but open/closed and half must match the list.
- The whole structure can be rotated 90°/180°/270° — the mod auto-detects all 4 orientations; stair facing just needs to be consistent with the structure's rotation (the mod compares rotated). Trapdoor facing still doesn't matter.
- A cat named Maodie must be within 10 blocks of the structure; the server scans every 20 ticks and summons the cat once recognized.
- Breaking any part (especially the anchor stair) → releases the cat.
Server-authoritative architecture
On multiplayer servers, the server must have this mod installed (all logic runs server-side); clients need it too for the head-tilt / size boost / hiss / music rendering. In singleplayer, one copy covers both sides automatically.
Audio
Built-in audio
The audio files (laowu2.ogg / qiliang.ogg) are not bundled in the repo — put them in src/main/resources/assets/laowu_meme/sounds/ if building from source. Must be Ogg Vorbis (MC only supports ogg); convert mp3 with ffmpeg:
ffmpeg -i input.mp3 -c:a libvorbis -q:a 4 -ar 44100 -ac 1 output.ogg
Imported audio (hot-swap at runtime)
Open the mod's config screen in-game (press Escape or via the Mods menu after triggering a meme), click "Open audio folder" to open config/laowu_meme/sounds/. Drop .ogg files in there, reopen the config screen to see and enable them — they'll join the built-in audio pool for random playback. No restart or F3+T needed.
- Imported audio must be
.ogg (Ogg Vorbis) — MC won't play mp3/wav.
- Have an mp3? Convert online first ,then drop the
.ogg into the folder.
- Each audio entry can be individually enabled/disabled in the config screen; the state persists to
config/laowu_meme/enabled.properties across sessions.
Requirements
Credits
- Cat textures from the maocraft resource pack by 一A化三哈 (Bilibili:). His full set of cat coat textures is bundled as the exclusive look for "Maodie"-named cats. Thanks for the permission!
License
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧