Missing Annotation
This commit is contained in:
parent
4632d38d46
commit
60237175ff
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ package org.betterx.bclib.api.v2.levelgen.structures;
|
||||||
import com.mojang.serialization.Codec;
|
import com.mojang.serialization.Codec;
|
||||||
import net.minecraft.util.StringRepresentable;
|
import net.minecraft.util.StringRepresentable;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
public enum StructurePlacementType implements StringRepresentable {
|
public enum StructurePlacementType implements StringRepresentable {
|
||||||
FLOOR, WALL, CEIL, LAVA, UNDER;
|
FLOOR, WALL, CEIL, LAVA, UNDER;
|
||||||
|
|
||||||
|
@ -13,7 +15,7 @@ public enum StructurePlacementType implements StringRepresentable {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getSerializedName() {
|
public @NotNull String getSerializedName() {
|
||||||
return this.name().toLowerCase();
|
return this.name().toLowerCase();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue