Package | Description |
---|---|
net.minecraft.advancements |
Modifier and Type | Field and Description |
---|---|
private FrameType |
DisplayInfo.frame |
Modifier and Type | Method and Description |
---|---|
static FrameType |
FrameType.byName(java.lang.String nameIn) |
FrameType |
DisplayInfo.getFrame() |
static FrameType |
FrameType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FrameType[] |
FrameType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Advancement.Builder |
Advancement.Builder.withDisplay(IItemProvider itemIn,
ITextComponent title,
ITextComponent description,
ResourceLocation background,
FrameType frame,
boolean showToast,
boolean announceToChat,
boolean hidden) |
Advancement.Builder |
Advancement.Builder.withDisplay(ItemStack stack,
ITextComponent title,
ITextComponent description,
ResourceLocation background,
FrameType frame,
boolean showToast,
boolean announceToChat,
boolean hidden) |
Constructor and Description |
---|
DisplayInfo(ItemStack icon,
ITextComponent title,
ITextComponent description,
ResourceLocation background,
FrameType frame,
boolean showToast,
boolean announceToChat,
boolean hidden) |