Code/net/minecraft/world/level/block/entity/BeaconBeamOwner.java

29 lines
607 B
Java
Raw Permalink Normal View History

2025-07-01 06:20:03 +00:00
package net.minecraft.world.level.block.entity;
import java.util.List;
public interface BeaconBeamOwner {
List<BeaconBeamOwner.Section> getBeamSections();
public static class Section {
private final int color;
private int height;
public Section(int p_396213_) {
this.color = p_396213_;
this.height = 1;
}
public void increaseHeight() {
this.height++;
}
public int getColor() {
return this.color;
}
public int getHeight() {
return this.height;
}
}
}