Newer
Older
void-pack-super-server / work / decompile-ee3ecae0 / net / minecraft / server / BlockPropertyTrackPosition.java
Simon Lindgren on 26 Mar 2020 896 bytes first commit
package net.minecraft.server;

public enum BlockPropertyTrackPosition implements INamable {

    NORTH_SOUTH("north_south"), EAST_WEST("east_west"), ASCENDING_EAST("ascending_east"), ASCENDING_WEST("ascending_west"), ASCENDING_NORTH("ascending_north"), ASCENDING_SOUTH("ascending_south"), SOUTH_EAST("south_east"), SOUTH_WEST("south_west"), NORTH_WEST("north_west"), NORTH_EAST("north_east");

    private final String k;

    private BlockPropertyTrackPosition(String s) {
        this.k = s;
    }

    public String toString() {
        return this.k;
    }

    public boolean b() {
        return this == BlockPropertyTrackPosition.ASCENDING_NORTH || this == BlockPropertyTrackPosition.ASCENDING_EAST || this == BlockPropertyTrackPosition.ASCENDING_SOUTH || this == BlockPropertyTrackPosition.ASCENDING_WEST;
    }

    @Override
    public String getName() {
        return this.k;
    }
}