Class BlockState
java.lang.Object
com.github.darksoulq.abyssallib.server.resource.asset.BlockState
- All Implemented Interfaces:
Asset
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionBlockState(@NotNull String namespace, @NotNull String id) BlockState(@NotNull String namespace, @NotNull String id, byte[] data) BlockState(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull String namespace, @NotNull String id) -
Method Summary
Modifier and TypeMethodDescriptionvoidEmits the asset's files into the provided output map.multipart(@NotNull BlockState.Multipart multipart) Adds a multipart condition+model objectvariant(@NotNull String variantKey, BlockState.Variant variant) Adds a variant mapping for a variant key (e.g.
-
Constructor Details
-
BlockState
-
BlockState
-
BlockState
-
-
Method Details
-
variant
Adds a variant mapping for a variant key (e.g. "", "axis=x") -
multipart
Adds a multipart condition+model object -
emit
-