net.minecraft.world.level.block.state.pattern

public class BlockPatternBuilder

cyz
net.minecraft.world.level.block.state.pattern.BlockPatternBuilder
net.minecraft.class_2697
net.minecraft.block.pattern.BlockPatternBuilder
net.minecraft.src.C_2074_
net.minecraft.world.level.block.state.pattern.ShapeDetectorBuilder

Field summary

Modifier and TypeField
private static final com.google.common.base.Joiner
a
COMMA_JOINED
field_12340
JOINER
f_61236_
private final List<String[]>
b
pattern
field_12344
aisles
f_61237_
private final Map<Character, Predicate<BlockInWorld>>
c
lookup
field_12343
charMap
f_61238_
private int
d
height
field_12342
height
f_61239_
private int
e
width
field_12341
width
f_61240_

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public BlockPatternBuilder
a(String... arg0)
aisle(String... arg0)
method_11702(String... arg0)
aisle(String... pattern)
m_61247_(String... arg0)
public static BlockPatternBuilder
a()
start()
method_11701()
start()
m_61243_()
public BlockPatternBuilder
a(char arg0, Predicate<cyx> arg1)
where(char arg0, Predicate<BlockInWorld> arg1)
method_11700(char arg0, Predicate<class_2694> arg1)
where(char key, Predicate<CachedBlockPosition> predicate)
m_61244_(char p_61246_, Predicate<C_2070_> arg1)
public BlockPattern
b()
build()
method_11704()
build()
m_61249_()
private Predicate<BlockInWorld>[][][]
c()
createPattern()
method_11703()
bakePredicates()
m_61250_()
private void
d()
ensureAllCharactersMatched()
method_11705()
validate()
m_61251_()