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

java.lang.Object
com.simibubi.create.foundation.block.DyedBlockList<T>
All Implemented Interfaces:
Iterable<com.tterrag.registrate.util.entry.BlockEntry<T>>

public class DyedBlockList<T extends net.minecraft.world.level.block.Block> extends Object implements Iterable<com.tterrag.registrate.util.entry.BlockEntry<T>>
  • 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()
    • iterator

      public Iterator<com.tterrag.registrate.util.entry.BlockEntry<T>> iterator()
      Specified by:
      iterator in interface Iterable<T extends net.minecraft.world.level.block.Block>