Package net.minecraft.data
Class FinishedMultiPartBlockState.Part
- java.lang.Object
-
- net.minecraft.data.FinishedMultiPartBlockState.Part
-
- All Implemented Interfaces:
java.util.function.Supplier<com.google.gson.JsonElement>
- Direct Known Subclasses:
FinishedMultiPartBlockState.ConditionalPart
- Enclosing class:
- FinishedMultiPartBlockState
static class FinishedMultiPartBlockState.Part extends java.lang.Object implements java.util.function.Supplier<com.google.gson.JsonElement>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<BlockModelDefinition>
variants
-
Constructor Summary
Constructors Modifier Constructor Description private
Part(java.util.List<BlockModelDefinition> p_i232527_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decorate(com.google.gson.JsonObject p_230526_1_)
com.google.gson.JsonElement
get()
void
validate(StateContainer<?,?> p_230525_1_)
-
-
-
Field Detail
-
variants
private final java.util.List<BlockModelDefinition> variants
-
-
Constructor Detail
-
Part
private Part(java.util.List<BlockModelDefinition> p_i232527_1_)
-
-
Method Detail
-
validate
public void validate(StateContainer<?,?> p_230525_1_)
-
decorate
public void decorate(com.google.gson.JsonObject p_230526_1_)
-
get
public com.google.gson.JsonElement get()
- Specified by:
get
in interfacejava.util.function.Supplier<com.google.gson.JsonElement>
-
-