JavaScript is disabled on your browser.
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 Summary
Constructors
DyedBlockList (Function <net.minecraft.world.item.DyeColor,com.tterrag.registrate.util.entry.BlockEntry<? extends T >> filler)
Method Summary
All Methods Instance Methods Concrete Methods
boolean
contains (net.minecraft.world.level.block.Block block)
com.tterrag.registrate.util.entry.BlockEntry<T >
get (net.minecraft.world.item.DyeColor color)
Iterator <com.tterrag.registrate.util.entry.BlockEntry<T >>
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 ()
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>