Package net.minecraft.block.pattern
Class BlockPatternBuilder
- java.lang.Object
-
- net.minecraft.block.pattern.BlockPatternBuilder
-
public class BlockPatternBuilder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.google.common.base.Joiner
COMMA_JOINED
private int
height
private java.util.Map<java.lang.Character,java.util.function.Predicate<CachedBlockInfo>>
lookup
private java.util.List<java.lang.String[]>
pattern
private int
width
-
Constructor Summary
Constructors Modifier Constructor Description private
BlockPatternBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockPatternBuilder
aisle(java.lang.String... p_177659_1_)
BlockPattern
build()
private java.util.function.Predicate<CachedBlockInfo>[][][]
createPattern()
private void
ensureAllCharactersMatched()
static BlockPatternBuilder
start()
BlockPatternBuilder
where(char p_177662_1_, java.util.function.Predicate<CachedBlockInfo> p_177662_2_)
-
-
-
Field Detail
-
COMMA_JOINED
private static final com.google.common.base.Joiner COMMA_JOINED
-
pattern
private final java.util.List<java.lang.String[]> pattern
-
lookup
private final java.util.Map<java.lang.Character,java.util.function.Predicate<CachedBlockInfo>> lookup
-
height
private int height
-
width
private int width
-
-
Method Detail
-
aisle
public BlockPatternBuilder aisle(java.lang.String... p_177659_1_)
-
start
public static BlockPatternBuilder start()
-
where
public BlockPatternBuilder where(char p_177662_1_, java.util.function.Predicate<CachedBlockInfo> p_177662_2_)
-
build
public BlockPattern build()
-
createPattern
private java.util.function.Predicate<CachedBlockInfo>[][][] createPattern()
-
ensureAllCharactersMatched
private void ensureAllCharactersMatched()
-
-