Class CustomAdderImpl
java.lang.Object
com.github.imdabigboss.easydatapack.api.CustomAdder
com.github.imdabigboss.easydatapack.backend.CustomAdderImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregister(CustomBlock block)Registers a custom block.voidregister(CustomDimension dimension)Registers a custom dimension.voidregister(CustomEnchantment enchantment)Registers a custom enchantment.voidregister(CustomItem item)Registers a custom item.voidregister(org.bukkit.inventory.Recipe recipe)Registers a custom recipe.
-
Constructor Details
-
CustomAdderImpl
-
-
Method Details
-
register
Description copied from class:CustomAdderRegisters a custom block.- Specified by:
registerin classCustomAdder- Parameters:
block- the block to register
-
register
Description copied from class:CustomAdderRegisters a custom dimension.- Specified by:
registerin classCustomAdder- Parameters:
dimension- the dimension to register- Throws:
CustomDimensionException- if something goes wrong while registering the dimension
-
register
Description copied from class:CustomAdderRegisters a custom enchantment.- Specified by:
registerin classCustomAdder- Parameters:
enchantment- the enchantment to register- Throws:
CustomEnchantmentException- if something goes wrong while registering the enchantment
-
register
Description copied from class:CustomAdderRegisters a custom item.- Specified by:
registerin classCustomAdder- Parameters:
item- the item to register- Throws:
EasyDatapackException- if something goes wrong while registering the item
-
register
Description copied from class:CustomAdderRegisters a custom recipe.- Specified by:
registerin classCustomAdder- Parameters:
recipe- the recipe to register- Throws:
CustomRecipeException- if something goes wrong while registering the recipe
-