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 class
MultipartBlockStateSupplier.ConditionalMultipart
(package private) static class
MultipartBlockStateSupplier.Multipart
-
Field Summary
Fields Modifier and Type Field Description private Block
block
private List<MultipartBlockStateSupplier.Multipart>
multiparts
-
Constructor Summary
Constructors Modifier Constructor Description private
MultipartBlockStateSupplier(Block block)
-
Method Summary
Modifier and Type Method Description static MultipartBlockStateSupplier
create(Block block)
JsonElement
get()
Block
getBlock()
MultipartBlockStateSupplier
with(List<BlockStateVariant> list)
MultipartBlockStateSupplier
with(BlockStateVariant blockStateVariant)
MultipartBlockStateSupplier
with(When when, List<BlockStateVariant> list)
MultipartBlockStateSupplier
with(When when, BlockStateVariant blockStateVariant)
MultipartBlockStateSupplier
with(When when, BlockStateVariant[] blockStateVariant)
-
Field Details
-
block
-
multiparts
-
-
Constructor Details
-
MultipartBlockStateSupplier
-
-
Method Details
-
getBlock
- Specified by:
getBlock
in interfaceBlockStateSupplier
-
create
-
with
-
with
-
with
-
with
-
with
-
get
- Specified by:
get
in interfaceSupplier<JsonElement>
-