Class HTDisplayInfoBuilder
-
- All Implemented Interfaces:
public final class HTDisplayInfoBuilderDisplayInfoのビルダークラスです。
- Since:
0.8.0
Hiiragi Tsubasa
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHTDisplayInfoBuilder.TextHolder
-
Field Summary
Fields Modifier and Type Field Description private final HTItemStackHoldericonStackprivate final HTDisplayInfoBuilder.TextHoldertitleTextprivate final HTDisplayInfoBuilder.TextHolderdescTextprivate ResourceLocationbackGroundprivate AdvancementTypetypeprivate BooleanshowToastprivate BooleanshowChatprivate Booleanhidden
-
Constructor Summary
Constructors Constructor Description HTDisplayInfoBuilder()
-
Method Summary
Modifier and Type Method Description final HTItemStackHoldergetIconStack()final HTDisplayInfoBuilder.TextHoldergetTitleText()final HTDisplayInfoBuilder.TextHoldergetDescText()final ResourceLocationgetBackGround()final UnitsetBackGround(ResourceLocation value)final AdvancementTypegetType()final UnitsetType(AdvancementType value)final BooleangetShowToast()final UnitsetShowToast(Boolean value)final BooleangetShowChat()final UnitsetShowChat(Boolean value)final BooleangetHidden()final UnitsetHidden(Boolean value)final DisplayInfobuild()final static DisplayInfocreate(Function1<HTDisplayInfoBuilder, Unit> builderAction)-
-
Method Detail
-
getIconStack
final HTItemStackHolder getIconStack()
-
getTitleText
final HTDisplayInfoBuilder.TextHolder getTitleText()
-
getDescText
final HTDisplayInfoBuilder.TextHolder getDescText()
-
getBackGround
final ResourceLocation getBackGround()
-
setBackGround
final Unit setBackGround(ResourceLocation value)
-
getType
final AdvancementType getType()
-
getShowToast
final Boolean getShowToast()
-
setShowToast
final Unit setShowToast(Boolean value)
-
getShowChat
final Boolean getShowChat()
-
setShowChat
final Unit setShowChat(Boolean value)
-
build
final DisplayInfo build()
-
create
final static DisplayInfo create(Function1<HTDisplayInfoBuilder, Unit> builderAction)
-
-
-
-