All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.minecraft.server.BlockStateBoolean Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package net.minecraft.server;

import com.google.common.collect.ImmutableSet;

import java.util.Collection;

public class BlockStateBoolean extends BlockState {

  private final ImmutableSet a = ImmutableSet.of(true, false);

  protected BlockStateBoolean(String s) {
    super(s, Boolean.class);
  }

  public static BlockStateBoolean of(String s) {
    return new BlockStateBoolean(s);
  }

  public Collection c() {
    return this.a;
  }

  public String a(Boolean obool) {
    return obool.toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy