SculkSensorPhase .java

net.minecraft.world.level.block.state.properties.SculkSensorPhase (enum): members: INACTIVE, ACTIVE, COOLDOWN, getSerializedName, name. strings: "active".

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

Implements

API Surface (2)

String toString()
String getSerializedName()

Fields & Constants (1)

name

String literals (3)

"inactive"
"active"
"cooldown"

Code Graph: Dependencies (1)

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

Full Source

SculkSensorPhase.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 SculkSensorPhase implements StringRepresentable {
6
	INACTIVE("inactive"),
7
	ACTIVE("active"),
8
	COOLDOWN("cooldown");
9
10
	private final String name;
11
12
	SculkSensorPhase(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 SculkSensorPhase (net/minecraft/world/level/block/state/properties/SculkSensorPhase.java) with Mojang official mappings, stored verbatim on the site.