Class FluidType

java.lang.Object
com.sk89q.worldedit.world.fluid.FluidType
All Implemented Interfaces:
Keyed

public class FluidType extends Object implements Keyed
Minecraft now has a 'fluid' system. This is a stub class to represent what it may be in the future.
  • Field Details

  • Constructor Details

    • FluidType

      public FluidType(String id)
  • Method Details

    • getId

      public String getId()
      Gets the ID of this block.
      Specified by:
      getId in interface Keyed
      Returns:
      The id
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object