Friend's Wine Meme

A Chinese Meme Mod.

Mod Overview

Friend's Wine Meme is a Minecraft mod about Chinese memes.

Inspired by the internet, based on the BSD-3 license. Music resources come from the internet; if there is any infringement, please contact me.


Core Gameplay

The game adds an item called Transparent Mode. Hold it, sneak, and right-click any entity or block, and you will see the following animation effect: A gif


Commands and Configuration

In-game commands and out-of-game config settings are synchronized with each other; if the player is on a server, the server's configuration will be used.

All commands require permission level 2 (that is, op or above).

Command Parameter/Min-Max Description
/friendwinememe reload None Reload the configuration.
/friendwinememe stopAll None Stop all effects.
/friendwinememe give seconds 0-999999 Give yourself a "Transparent Mode." If followed by seconds, the duration is set; if not, it is infinite.
/friendwinememe bounce 0.1-10.0 Animation bounce speed.
/friendwinememe maxHeight 0.0-3.0 Animation bounce maximum height multiplier.
/friendwinememe minHeight 0.0-1.0 Animation bounce minimum height multiplier.
/friendwinememe music true/false Music toggle.
/friendwinememe distance 1-100 Music propagation distance.
/friendwinememe rotate true/false Animation rotation toggle.
/friendwinememe rotateSpeed 0.0-3600.0 Animation rotation speed.

Summoning an entity with a timed Transparent Mode duration

Write ForgeData.FriendWineMemeDuration (milliseconds) on the entity; the effect will trigger automatically when the entity joins the world.

Command:

/summon mob ~ ~ ~ {NoAI:1b,ForgeData:{FriendWineMemeDuration:duration (milliseconds)L}}

Summon a slime with an infinite Transparent Mode duration.

/summon minecraft:slime ~ ~ ~ {ForgeData:{FriendWineMemeDuration:-1L}}

Summoning a block disguised as an entity with a timed Transparent Mode duration

Command:

/summon friendwinememe:block_disguise ~ ~ ~ {DurationMs:duration (milliseconds)L,BlockState:{Name:"block registry name"}}

Summon a block entity with an infinite Transparent Mode duration.

/summon friendwinememe:block_disguise ~ ~ ~ {DurationMs:-1L,BlockState:{Name:"minecraft:diamond_block"}}

NBT Fields:

Field Description
DurationMs Duration in milliseconds; -1 means infinite.
EffectStartMs Animation start timestamp; if omitted, the current time is used.
MusicStartMs Music start timestamp; 0 means no music.

Notes

To ensure stability, if the server shuts down/saves the world, all entities and blocks will be restored to their original state.


Credits

GFBS : Auralis for reference in using OpenAL to directly control sound sources, avoiding the limitations and conflicts of the vanilla audio system.

Friend's Wine Meme Team

profile avatar
Owner
  • 1
    Followers
  • 1
    Projects
  • 431
    Downloads