Package net.minecraft.data
Class FinishedMultiPartBlockState.ConditionalPart
- java.lang.Object
-
- net.minecraft.data.FinishedMultiPartBlockState.Part
-
- net.minecraft.data.FinishedMultiPartBlockState.ConditionalPart
-
- All Implemented Interfaces:
java.util.function.Supplier<com.google.gson.JsonElement>
- Enclosing class:
- FinishedMultiPartBlockState
static class FinishedMultiPartBlockState.ConditionalPart extends FinishedMultiPartBlockState.Part
-
-
Field Summary
Fields Modifier and Type Field Description private IMultiPartPredicateBuilder
condition
-
Constructor Summary
Constructors Modifier Constructor Description private
ConditionalPart(IMultiPartPredicateBuilder p_i232525_1_, java.util.List<BlockModelDefinition> p_i232525_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decorate(com.google.gson.JsonObject p_230526_1_)
void
validate(StateContainer<?,?> p_230525_1_)
-
Methods inherited from class net.minecraft.data.FinishedMultiPartBlockState.Part
get
-
-
-
-
Field Detail
-
condition
private final IMultiPartPredicateBuilder condition
-
-
Constructor Detail
-
ConditionalPart
private ConditionalPart(IMultiPartPredicateBuilder p_i232525_1_, java.util.List<BlockModelDefinition> p_i232525_2_)
-
-
Method Detail
-
validate
public void validate(StateContainer<?,?> p_230525_1_)
- Overrides:
validate
in classFinishedMultiPartBlockState.Part
-
decorate
public void decorate(com.google.gson.JsonObject p_230526_1_)
- Overrides:
decorate
in classFinishedMultiPartBlockState.Part
-
-