SulfurSpikeBlock .java

net.minecraft.world.level.block.SulfurSpikeBlock (class, 23 lines): members: MAX_GROWING_LENGTH, getMaxGrowthLength, getStalactiteLandingSound.

net.minecraft.world.level.blockclass23 linescommonextends SpeleothemBlock570 B

API Surface (1)

int getMaxGrowthLength()

Fields & Constants (1)

MAX_GROWING_LENGTH

Code Graph: Dependencies (3)

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

Full Source

SulfurSpikeBlock.java23 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.block;
2
3
import net.minecraft.world.level.block.state.BlockBehaviour;
4
import net.minecraft.world.level.block.state.BlockState;
5
6
public class SulfurSpikeBlock extends SpeleothemBlock {
7
	private static final int MAX_GROWING_LENGTH = 2;
8
9
	public SulfurSpikeBlock(final BlockState blockToGrowOn, final BlockBehaviour.Properties properties) {
10
		super(blockToGrowOn, properties);
11
	}
12
13
	@Override
14
	protected @LevelEvent.Value int getStalactiteLandingSound() {
15
		return 1052;
16
	}
17
18
	@Override
19
	protected int getMaxGrowthLength() {
20
		return 2;
21
	}
22
}
23

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