跳到正文

Spreadrooms

作者:Sawyer128

The backrooms spread throughout your world.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

They are spreading…

⚠️ DO NOT USE THIS MOD IN A WORLD YOU CARE ABOUT!!! IT WILL DESTROY BLOCKS AUTOMATICALLY!!

This mod adds the ‘backrooms’ into vanilla minecraft that will slowly spread and consume your world!
This mod is only required to be on the SERVER since it doesnt add any new blocks, items, etc.

The mod is very customizable and allows you to change everything about how to rooms spread and what blocks they use.

Information

Currently, the mod creates a worldborder of size 200 (configurable) centered on the player that runs the
/spreadrooms start command. You CANNOT turn this off yet!
The spreading of the rooms can get VERY laggy if you dont configure it right, also, it may be a good idea to let it generate for a bit before you start playing since it can be slow.

Commands

/spreadrooms start
_⮡ starts the spread_
/spreadrooms stop
_⮡ stops the spread_
/spreadrooms reset
_⮡ removes all rooms from memory and resets the worldboard to vanilla_
/spreadrooms reload
_⮡ reloads the config_
/spreadrooms debug rooms_count
_⮡ lists how much of each room type exists_
/spreadrooms debug rooms_ticking
_⮡ returns list of all active rooms_

Configuration

located at /config/spreadrooms.json

areaFromCenter: 100
⮡ _Worldborder size and spreadrooms origin, starts in southeast corner_
timeToSpread : 20
⮡ _Ticks inbetween spread_
timeToSpreadVariation : 0
⮡ _Random variation +/- for timeToSpread, disabled with 0_
timedSpread : true
⮡ _⚠️ HEAVY PERFORMANCE IMPACT IF FALSE! Toggles between spreading every tick and using timeToSpread and timeToSpreadVariation_
strictGeneration : true
⮡ _May impact performance! When true forces rooms to set blocks to air._
generateOnPlane : true
⮡ _Attempts to get rooms on a similar y-level_
connectRooms : true
⮡ _Rooms next to eachother will remove touching walls when generating_
maxGenRooms : 5
⮡ _⚠️ PERFORMANCE IMPACT! Numbers of rooms generating at once_
defaultRoomSize : Size of [ x : 6, y : 4, z : 6]
⮡ _Values x, y, and z define the default room size_
sizeVariation : Size of [ x : 7, y : 1, z : 7]
⮡ _Gets a random number between 0 and the value_
sizeVariationShift : Size of [ x : 1, y : 0, z : 1]
⮡ _Subtracts from the randomized sizeVariation number_
sizeVariationFactor : Size of [ x : 2, y : 2, z : 2]
⮡ _Multiplies by the sizeVariationShift number and adds to the respective value of the rooms size_
roomBlocking : true
⮡ _⚠️ PERFORMANCE IMPACT! Cuts bigger rooms into smaller ones to make big room generation faster_
maxRoomSize : Size of [ x : 8, y : 6, z : 8]
⮡ _Rooms bigger than any of these axis will but cut if roomBlocking is true_
featureStates : Map of [ RoomFeature, BlockID ]
⮡ _Allows users to define what most of the features look like_
⮡ _The features GREEN, CARPET, E_PIPES, and E_CHAINS cant be changed_

How it works

Creates a new record object called a ‘room’ with origin, size, and room features properties. Rooms have a method called search which checks if adjacent blocks are already set to the correct block, and if not it sets the block. It repeats this recursivley until the room is completed. Additionally, if a search returns a position outside the room, it generates a new set of random room properties, checks if that room will fit if places in the position, and if so, places the room. New rooms are added to the queue to be ticked, since only a maximum amount of rooms can be ticked at once. When where a block is placed, a room checks its room features and neighbors. This allows different rooms to connects, and room features allow a large variation of rooms. Room features are easily customizable and editable, and allow for unique walls, floors, patterns, structures, and other things to appear in rooms. Thats basically it so far! if your still curious, you can check out the github repo for youself!

Whats planned

  • Ability to have simple user created features like custom floors, walls, etc
  • Many more “RoomFeatures” to add variation to the rooms, and a reason for entering

常见问题

Spreadrooms 支持哪些 Minecraft 版本?

Spreadrooms 支持 Minecraft Java 版 26.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Spreadrooms 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Sawyer128 的其他作品

查看全部 →