Class BlockChoice

java.lang.Object
net.ixdarklord.folios.internal.client.build.BlockChoice

public final class BlockChoice extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    equals(Object other)
     
    int
     
    boolean
     
    int
     
    static int
    items(net.minecraft.world.level.block.state.BlockState state)
     
    key()
     
    boolean
    matches(net.minecraft.world.level.block.state.BlockState there)
     
    net.minecraft.network.chat.Component
    name(float time)
     
    of(String written)
     
    of(net.minecraft.world.level.block.state.BlockState state)
     
    List<net.minecraft.world.level.block.state.BlockState>
     
    @Nullable net.minecraft.world.level.block.state.BlockState
    shown(float time)
     
    net.minecraft.world.item.ItemStack
    stack(float time, int count)
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • of

      public static BlockChoice of(String written)
    • of

      public static BlockChoice of(net.minecraft.world.level.block.state.BlockState state)
    • isTag

      public boolean isTag()
    • options

      public List<net.minecraft.world.level.block.state.BlockState> options()
    • shown

      @Nullable public @Nullable net.minecraft.world.level.block.state.BlockState shown(float time)
    • cycles

      public boolean cycles()
    • matches

      public boolean matches(net.minecraft.world.level.block.state.BlockState there)
    • key

      public Object key()
    • items

      public int items()
    • items

      public static int items(net.minecraft.world.level.block.state.BlockState state)
    • stack

      public net.minecraft.world.item.ItemStack stack(float time, int count)
    • name

      public net.minecraft.network.chat.Component name(float time)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object