AttachFace .java

net.minecraft.world.level.block.state.properties.AttachFace (enum): members: FLOOR, WALL, CEILING, getSerializedName, name. strings: "ceiling", "floor".

net.minecraft.world.level.block.state.propertiesenum21 linescommon376 B

Implements

API Surface (1)

String getSerializedName()

Fields & Constants (1)

name

String literals (3)

"floor"
"wall"
"ceiling"

Code Graph: Dependencies (1)

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

Full Source

AttachFace.java21 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 AttachFace implements StringRepresentable {
6
	FLOOR("floor"),
7
	WALL("wall"),
8
	CEILING("ceiling");
9
10
	private final String name;
11
12
	AttachFace(final String name) {
13
		this.name = name;
14
	}
15
16
	@Override
17
	public String getSerializedName() {
18
		return this.name;
19
	}
20
}
21

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