Package net.minecraft.data
Class BlockModelDefinition
- java.lang.Object
-
- net.minecraft.data.BlockModelDefinition
-
- All Implemented Interfaces:
java.util.function.Supplier<com.google.gson.JsonElement>
public class BlockModelDefinition extends java.lang.Object implements java.util.function.Supplier<com.google.gson.JsonElement>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<BlockModeInfo<?>,BlockModeInfo.Field>
values
-
Constructor Summary
Constructors Constructor Description BlockModelDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.google.gson.JsonElement
convertList(java.util.List<BlockModelDefinition> p_240199_0_)
com.google.gson.JsonElement
get()
static BlockModelDefinition
merge(BlockModelDefinition p_240197_0_, BlockModelDefinition p_240197_1_)
static BlockModelDefinition
variant()
<T> BlockModelDefinition
with(BlockModeInfo<T> p_240198_1_, T p_240198_2_)
-
-
-
Field Detail
-
values
private final java.util.Map<BlockModeInfo<?>,BlockModeInfo.Field> values
-
-
Method Detail
-
with
public <T> BlockModelDefinition with(BlockModeInfo<T> p_240198_1_, T p_240198_2_)
-
variant
public static BlockModelDefinition variant()
-
merge
public static BlockModelDefinition merge(BlockModelDefinition p_240197_0_, BlockModelDefinition p_240197_1_)
-
get
public com.google.gson.JsonElement get()
- Specified by:
get
in interfacejava.util.function.Supplier<com.google.gson.JsonElement>
-
convertList
public static com.google.gson.JsonElement convertList(java.util.List<BlockModelDefinition> p_240199_0_)
-
-