Class LodestoneRarityBuilder
java.lang.Object
team.lodestar.lodestone.modules.toolkit.rarity.LodestoneRarityBuilder
This builder is used to define and format custom rarities.
It returns an EnumProxy which is required for adding a new Rarity entry to the enum through NeoForge's Extensible Enum System.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.neoforged.fml.common.asm.enumextension.EnumProxy<net.minecraft.world.item.Rarity> build()setBold(boolean bold) setItalic(boolean italic) setObfuscated(boolean obfuscated) setStrikethrough(boolean strikethrough) setUnderlined(boolean underlined) withColor(int color) withColor(net.minecraft.ChatFormatting color) withColor(net.minecraft.network.chat.TextColor color) withId(int id)
-
Constructor Details
-
LodestoneRarityBuilder
public LodestoneRarityBuilder(net.minecraft.resources.ResourceLocation name)
-
-
Method Details
-
withId
-
withColor
-
withColor
-
withColor
-
withColor
-
setItalic
-
setBold
-
setObfuscated
-
setUnderlined
-
setStrikethrough
-
build
public net.neoforged.fml.common.asm.enumextension.EnumProxy<net.minecraft.world.item.Rarity> build()
-