Package net.minecraft.data
Class FinishedMultiPartBlockState
- java.lang.Object
-
- net.minecraft.data.FinishedMultiPartBlockState
-
- All Implemented Interfaces:
java.util.function.Supplier<com.google.gson.JsonElement>
,IFinishedBlockState
public class FinishedMultiPartBlockState extends java.lang.Object implements IFinishedBlockState
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
FinishedMultiPartBlockState.ConditionalPart
(package private) static class
FinishedMultiPartBlockState.Part
-
Field Summary
Fields Modifier and Type Field Description private Block
block
private java.util.List<FinishedMultiPartBlockState.Part>
parts
-
Constructor Summary
Constructors Modifier Constructor Description private
FinishedMultiPartBlockState(Block p_i232524_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonElement
get()
Block
getBlock()
static FinishedMultiPartBlockState
multiPart(Block p_240106_0_)
FinishedMultiPartBlockState
with(java.util.List<BlockModelDefinition> p_240112_1_)
FinishedMultiPartBlockState
with(BlockModelDefinition p_240111_1_)
FinishedMultiPartBlockState
with(IMultiPartPredicateBuilder p_240109_1_, java.util.List<BlockModelDefinition> p_240109_2_)
FinishedMultiPartBlockState
with(IMultiPartPredicateBuilder p_240108_1_, BlockModelDefinition p_240108_2_)
FinishedMultiPartBlockState
with(IMultiPartPredicateBuilder p_240110_1_, BlockModelDefinition... p_240110_2_)
-
-
-
Field Detail
-
block
private final Block block
-
parts
private final java.util.List<FinishedMultiPartBlockState.Part> parts
-
-
Constructor Detail
-
FinishedMultiPartBlockState
private FinishedMultiPartBlockState(Block p_i232524_1_)
-
-
Method Detail
-
getBlock
public Block getBlock()
- Specified by:
getBlock
in interfaceIFinishedBlockState
-
multiPart
public static FinishedMultiPartBlockState multiPart(Block p_240106_0_)
-
with
public FinishedMultiPartBlockState with(java.util.List<BlockModelDefinition> p_240112_1_)
-
with
public FinishedMultiPartBlockState with(BlockModelDefinition p_240111_1_)
-
with
public FinishedMultiPartBlockState with(IMultiPartPredicateBuilder p_240109_1_, java.util.List<BlockModelDefinition> p_240109_2_)
-
with
public FinishedMultiPartBlockState with(IMultiPartPredicateBuilder p_240110_1_, BlockModelDefinition... p_240110_2_)
-
with
public FinishedMultiPartBlockState with(IMultiPartPredicateBuilder p_240108_1_, BlockModelDefinition p_240108_2_)
-
get
public com.google.gson.JsonElement get()
- Specified by:
get
in interfacejava.util.function.Supplier<com.google.gson.JsonElement>
-
-