Dinnerbone Cushions 图标

Dinnerbone Cushions

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/dinnerbone-cushions
资源信息

Minecraft 版本: 26.3-snapshot-5

平台: fabric

标签: cursed game-mechanics magic

资源介绍

Dinnerbone cushions

Dinnerbone Cushions

Put a name tag reading Dinnerbone on a cushion and it turns upside down, exactly like a mob would.

Cushions can already be renamed in vanilla, but the joke stops there — the name does nothing. This mod finishes it: a
cushion called Dinnerbone flips over, hangs from the ceiling, and can still be sat on, upside down and all.

How to use it

  1. Rename a name tag to Dinnerbone in an anvil.
  2. Right click a placed cushion with it.

That's it. Grumm works too, and unlike vanilla's mobs, capitalisation does not matter — dinnerbone is fine.

Renaming the cushion item in an anvil before placing it works as well, which is how vanilla already let you name a
cushion.

What actually changes

It hangs from the ceiling. A flipped cushion moves up to the top of its block space and turns over. It is a real
move, not just a repaint: the hitbox follows, so you break it and click it where you see it.

What holds it up flips too. A normal cushion needs a block underneath. A flipped one hangs from the block above
instead — take that block away and it drops. The block it was originally placed on no longer matters, so you can dig it
out and leave the cushion hanging.

You can sit on it upside down. Sitting on a flipped cushion turns you over with it, seat against the cushion and
head hanging below. The camera stays where it belongs in both first and third person.

Name tags work on cushions at all. In vanilla a name tag only applies to living entities, and a cushion is not one —
right clicking it with a name tag just sits you down. This mod handles the name tag first, so it renames the cushion
instead. Creative mode does not consume the tag.

Requirements

Minecraft 26.3 snapshot 5
Loader Fabric
Dependencies Fabric API
Java 25 or newer

On a server

Install it on both sides. The server owns the renaming, the hitbox and where you sit; the client owns the flipped
rendering. With it on the server only, cushions rename but nobody sees them turn over. With it on the client only, name
tags do not apply to cushions at all.

How it works

Everything is done with mixins, no new blocks, items or entities:

  • CushionRendererMixin lifts the cushion a block and flips it, reusing the transform vanilla applies to upside down
    mobs.
  • CushionMixin moves the hitbox to match and reverses the support check so the cushion hangs from above.
  • CushionNameTagMixin intercepts the name tag before the cushion seats you.
  • EntityCushionMixin rebuilds the hitbox when the name changes and places riders under the cushion.
  • EntityRendererMixin and AvatarRendererMixin flip the rider and draw it against the cushion while leaving the
    camera in open air.

The vertical tuning values all live in DinnerboneCushions.java.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
ProxLib

价格:0 墨喵币
下载量:0

查看详情
Abyss+

价格:0 墨喵币
下载量:0

查看详情
EnderBan

价格:0 墨喵币
下载量:0

查看详情
Conifgure-Furnace-Speed

价格:0 墨喵币
下载量:0

查看详情