nucleation 0.3.15

A high-performance Minecraft schematic parser and utility library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! V4533 (1.21.8 + 93) — schematic-relevant subset of
//! `DataConverterJava/.../versions/V4533.java`.
//!
//! Registers a TILE_ENTITY walker for `minecraft:shelf` that recurses its
//! `Items` item-list so contained item stacks are themselves converted
//! (V4533.java:12). Nothing non-schematic is present in this version.
//!
//! VERSION = MCVersions.V1_21_8 (4440) + 93 = 4533.

use super::super::registry::RegistryBuilder;
use super::super::walker::item_lists;

const VERSION: i32 = 4533;

pub fn register(reg: &mut RegistryBuilder) {
    reg.tile_entity
        .add_walker(VERSION, 0, "minecraft:shelf", item_lists(&["Items"]));
}