Package net.minecraft.data.client.model
Class MultipartBlockStateSupplier
java.lang.Object
net.minecraft.data.client.model.MultipartBlockStateSupplier
- All Implemented Interfaces:
Supplier<JsonElement>,BlockStateSupplier
public class MultipartBlockStateSupplier extends Object implements BlockStateSupplier
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classMultipartBlockStateSupplier.ConditionalMultipart(package private) static classMultipartBlockStateSupplier.Multipart -
Field Summary
Fields Modifier and Type Field Description private Blockblockprivate List<MultipartBlockStateSupplier.Multipart>multiparts -
Constructor Summary
Constructors Modifier Constructor Description privateMultipartBlockStateSupplier(Block block) -
Method Summary
Modifier and Type Method Description static MultipartBlockStateSuppliercreate(Block block)JsonElementget()BlockgetBlock()MultipartBlockStateSupplierwith(List<BlockStateVariant> list)MultipartBlockStateSupplierwith(BlockStateVariant blockStateVariant)MultipartBlockStateSupplierwith(When when, List<BlockStateVariant> list)MultipartBlockStateSupplierwith(When when, BlockStateVariant blockStateVariant)MultipartBlockStateSupplierwith(When when, BlockStateVariant[] blockStateVariant)
-
Field Details
-
block
-
multiparts
-
-
Constructor Details
-
MultipartBlockStateSupplier
-
-
Method Details
-
getBlock
- Specified by:
getBlockin interfaceBlockStateSupplier
-
create
-
with
-
with
-
with
-
with
-
with
-
get
- Specified by:
getin interfaceSupplier<JsonElement>
-