java.lang.Object
io.github.thebusybiscuit.slimefun4.core.multiblocks.MultiBlock

public class MultiBlock extends Object
A MultiBlock represents a structure build in a World. A MultiBlock is often linked to a MultiBlockMachine and is used to recognize that machine in a MultiBlockInteractEvent.
Author:
TheBusyBiscuit, Liruxo
See Also:
  • Constructor Details

  • Method Details

    • getSupportedTags

      @Nonnull public static Set<Tag<Material>> getSupportedTags()
    • getSlimefunItem

      @Nonnull public SlimefunItem getSlimefunItem()
    • getStructure

      @Nonnull public Material[] getStructure()
    • getTriggerBlock

      @Nonnull public BlockFace getTriggerBlock()
    • equals

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

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

      public boolean isSymmetric()
      This returns whether this MultiBlock is a symmetric structure or whether the left and right side differ.
      Returns:
      Whether this MultiBlock is a symmetric structure
    • toString

      public String toString()
      Overrides:
      toString in class Object