Class Equipment
java.lang.Object
com.github.darksoulq.abyssallib.server.resource.asset.Equipment
- All Implemented Interfaces:
Asset
Represents a resource pack equipment JSON:
assets/<namespace>/equipment/<id>.json.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreate empty equipment JSON programmatically.Autoload existing equipment JSON from plugin JARresourcepack/<namespace>/equipment/<id>.json. -
Method Summary
-
Constructor Details
-
Equipment
public Equipment(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, @NotNull @NotNull String namespace, @NotNull @NotNull String id) Autoload existing equipment JSON from plugin JARresourcepack/<namespace>/equipment/<id>.json. -
Equipment
Create empty equipment JSON programmatically. -
Equipment
-
-
Method Details
-
addLayer
public Equipment addLayer(@NotNull @NotNull String layerType, @NotNull @NotNull Equipment.LayerEntry entry) Adds a layer entry under the specified entity layer (e.g. "humanoid", "wings"). -
emit
Description copied from interface:AssetEmits the asset's files into the provided output map.
-