BambooLeaves .java

net.minecraft.world.level.block.state.properties.BambooLeaves (enum): members: NONE, SMALL, LARGE, getSerializedName, name. strings: "small", "large".

net.minecraft.world.level.block.state.propertiesenum26 linescommon439 B

Implements

API Surface (2)

String toString()
String getSerializedName()

Fields & Constants (1)

name

String literals (3)

"none"
"small"
"large"

Code Graph: Dependencies (1)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

BambooLeaves.java26 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.block.state.properties;
2
3
import net.minecraft.util.StringRepresentable;
4
5
public enum BambooLeaves implements StringRepresentable {
6
	NONE("none"),
7
	SMALL("small"),
8
	LARGE("large");
9
10
	private final String name;
11
12
	BambooLeaves(final String name) {
13
		this.name = name;
14
	}
15
16
	@Override
17
	public String toString() {
18
		return this.name;
19
	}
20
21
	@Override
22
	public String getSerializedName() {
23
		return this.name;
24
	}
25
}
26

Decompiled Minecraft 26.3 source of BambooLeaves (net/minecraft/world/level/block/state/properties/BambooLeaves.java) with Mojang official mappings, stored verbatim on the site.