Class PylonBlockSchema
-
- All Implemented Interfaces:
-
net.kyori.adventure.key.Keyed,org.bukkit.Keyed
public final class PylonBlockSchema implements Keyed
Stores information about a Pylon block type, including its key, material, and class.
You should not need to use this if you are not working on Pylon Core.
-
-
Constructor Summary
Constructors Constructor Description PylonBlockSchema(NamespacedKey key, Material material, Class<out PylonBlock> blockClass)
-
Method Summary
Modifier and Type Method Description final MaterialgetMaterial()final PylonAddongetAddon()final TranslatableComponentgetNameTranslationKey()final TranslatableComponentgetLoreTranslationKey()final TranslatableComponentgetDefaultWailaTranslationKey()NamespacedKeygetKey()Booleanequals(Object other)IntegerhashCode()-
-
Constructor Detail
-
PylonBlockSchema
PylonBlockSchema(NamespacedKey key, Material material, Class<out PylonBlock> blockClass)
-
-
Method Detail
-
getMaterial
final Material getMaterial()
-
getAddon
final PylonAddon getAddon()
-
getNameTranslationKey
final TranslatableComponent getNameTranslationKey()
-
getLoreTranslationKey
final TranslatableComponent getLoreTranslationKey()
-
getDefaultWailaTranslationKey
final TranslatableComponent getDefaultWailaTranslationKey()
-
getKey
NamespacedKey getKey()
-
-
-
-