Class DyedBlockList<T extends net.minecraft.world.level.block.Block>

java.lang.Object
com.simibubi.create.foundation.block.DyedBlockList<T>

public class DyedBlockList<T extends net.minecraft.world.level.block.Block> extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    DyedBlockList(Function<net.minecraft.world.item.DyeColor,com.tterrag.registrate.util.entry.BlockEntry<? extends T>> filler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(net.minecraft.world.level.block.Block block)
     
    com.tterrag.registrate.util.entry.BlockEntry<T>
    get(net.minecraft.world.item.DyeColor color)
     
    com.tterrag.registrate.util.entry.BlockEntry<T>[]
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DyedBlockList

      public DyedBlockList(Function<net.minecraft.world.item.DyeColor,com.tterrag.registrate.util.entry.BlockEntry<? extends T>> filler)
  • Method Details

    • get

      public com.tterrag.registrate.util.entry.BlockEntry<T> get(net.minecraft.world.item.DyeColor color)
    • contains

      public boolean contains(net.minecraft.world.level.block.Block block)
    • toArray

      public com.tterrag.registrate.util.entry.BlockEntry<T>[] toArray()