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 void
configure()
T
getConfig()
@NotNull String
getData()
@Nullable PackObject
getPackObject()
default boolean
isCustom()
void
setData(@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()
-
-