your current location:首页 > news>Random JS MineCraft

Random JS MineCraft

2024-12-15 01:46:26|Myriagame |source:minecraft skins

Add a new type of block presets to Kubejs, allowing players to set custom survival rules for the created blocks.(More functions are coming)

Currently added:

Decision of the bottom square

Whether it is adjacent to the face is a complete judgment

The complete method list is as follows:

CUSTOMSURVIVIVILULE (JSON) (using JSON to customize survival rules).

SurviveType (String) (Select the preset block surviving rules, see below for details).

CatChallDirection (Boolean)

Optional JSON statement:

"SetFacesturdy": String [] (set a list of direction to make the square detect whether the adjacent surface of the direction in the list is complete, there is any direction to meet the conditions, the full match needs to open the full match and full match mode) (Optional value: "up" "" "" "" "East" "West" "South" "NORTH")

"SetBelowBlock": String [] (set a block list, so that the block must be placed on the block in the list) (optional value: complete square ID, such as "Minecraft: Stone".Do)

Future plan:

More survival rules and preset types;

Add the registered method of a block entity renderer;

Example:

 StartuPEVENTS.Registry ("block", e => {e.create ("block_name", "super_block") .surviveType ("CUSTOM") .c rsurviverule ({"setfacesturdy":["up", "double"], "setbelowblock": ["minecraft: stone", "minecraft: oak_log", "minecraft: campfire"]}) .CatchallDirection (FALSE)) 

Minecraft images

The goal of MC Encyclopedia (MCMOD.CN) is to provide players with a better environment for MOD learning and research, and accept and cultivate more hardcore players.Provide Minecraft (Minecraft) MOD (module) item data introduction, tutorial strategy and MOD download, and is committed to improving the player's game experience.About the encyclopedia Encyclopedia help development log Donate Encyclopedia to follow the encyclopedia B station = "Fa Fa-Anagle-Right"> Opinions feedback Email © CopyRight Mc Encyclopedia 2013-2024 mcmod.cn |

Minecraft images

Minecraft images

In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.