minecraft-src/net/minecraft/world/level/block/entity/BeaconBeamOwner.java
2025-07-04 03:45:38 +03:00

29 lines
486 B
Java

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 color) {
this.color = color;
this.height = 1;
}
public void increaseHeight() {
this.height++;
}
public int getColor() {
return this.color;
}
public int getHeight() {
return this.height;
}
}
}