Package dev.linwood.itemmods.api
Interface CustomElement<T extends PackAsset>
-
- All Known Implementing Classes:
CustomBlock,CustomItem
public interface CustomElement<T extends PackAsset>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidconfigure()TgetConfig()@NotNull StringgetData()@Nullable PackObjectgetPackObject()default booleanisCustom()voidsetData(@NotNull String data)
-
-
-
Method Detail
-
getConfig
@Nullable T getConfig()
-
configure
void configure()
-
getData
@NotNull @NotNull String getData()
-
setData
void setData(@NotNull @NotNull String data)
-
getPackObject
@Nullable @Nullable PackObject getPackObject()
-
isCustom
default boolean isCustom()
-
-