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