feat: Add branding rosettes
Co-authored-by: WorldWidePixel <worldwidepxl@gmail.com>
@ -128,6 +128,10 @@ public class JoyModelProvider extends FabricModelProvider {
|
||||
gen.register(bundle, Models.GENERATED);
|
||||
}
|
||||
|
||||
for (final var rosette : JoyItems.ROSETTES) {
|
||||
gen.register(rosette, Models.GENERATED);
|
||||
}
|
||||
|
||||
gen.register(JoyItems.TOTEM_OF_PRIDE, Models.GENERATED);
|
||||
gen.register(JoyItems.PRIDE_ELYTRA, Models.GENERATED);
|
||||
gen.register(JoyItems.PRIDE_BRUSH, Models.GENERATED);
|
||||
|
@ -114,6 +114,10 @@ public final class JoyItemGroups {
|
||||
}
|
||||
);
|
||||
|
||||
public static final ItemGroup ROSETTES = register("rosettes",
|
||||
JoyItems.PLURAL_ROSETTE::getDefaultStack,
|
||||
(ctx, entries) -> JoyItems.ROSETTES.forEach(entries::add));
|
||||
|
||||
private static ItemGroup register(String name, Supplier<ItemStack> icon, ItemGroup.EntryCollector collector) {
|
||||
return Pivot.INSTANCE.register(RegistryKeys.ITEM_GROUP, name, Pivot.itemGroupBuilder()
|
||||
.displayName(Text.translatable("itemgroup.joy." + name))
|
||||
|
@ -125,6 +125,34 @@ public final class JoyItems {
|
||||
|
||||
// endregion
|
||||
|
||||
// region rosette
|
||||
|
||||
public static final Item
|
||||
GAY_ROSETTE = registerDummy("gay_rosette"),
|
||||
ENBY_ROSETTE = registerDummy("enby_rosette"),
|
||||
BISEXUAL_ROSETTE = registerDummy("bisexual_rosette"),
|
||||
MLM_ROSETTE = registerDummy("mlm_rosette"),
|
||||
ACE_ROSETTE = registerDummy("ace_rosette"),
|
||||
ARO_ROSETTE = registerDummy("aro_rosette"),
|
||||
PAN_ROSETTE = registerDummy("pan_rosette"),
|
||||
TRANS_ROSETTE = registerDummy("trans_rosette"),
|
||||
LESBIAN_ROSETTE = registerDummy("lesbian_rosette"),
|
||||
PLURAL_ROSETTE = registerDummy("plural_rosette");
|
||||
|
||||
public static final List<Item> ROSETTES = List.of(
|
||||
GAY_ROSETTE,
|
||||
ENBY_ROSETTE,
|
||||
BISEXUAL_ROSETTE,
|
||||
MLM_ROSETTE,
|
||||
ACE_ROSETTE,
|
||||
ARO_ROSETTE,
|
||||
PAN_ROSETTE,
|
||||
TRANS_ROSETTE,
|
||||
LESBIAN_ROSETTE,
|
||||
PLURAL_ROSETTE
|
||||
);
|
||||
// endregion
|
||||
|
||||
// Currently inaccessible, only exists to serve as an example.
|
||||
public static final Item
|
||||
DOUGLAS_DISC = registerDisc("douglas"),
|
||||
@ -138,6 +166,10 @@ public final class JoyItems {
|
||||
));
|
||||
}
|
||||
|
||||
private static Item registerDummy(String name) {
|
||||
return registerItem(name, new Item(new Item.Settings()));
|
||||
}
|
||||
|
||||
private static Item registerItem(String name, Item item) {
|
||||
return Pivot.INSTANCE.register(RegistryKeys.ITEM, name, item);
|
||||
}
|
||||
|
@ -9,6 +9,7 @@
|
||||
"itemgroup.joy.misc": "Joy Misc",
|
||||
"itemgroup.joy.food": "Joy Food",
|
||||
"itemgroup.joy.flowers": "Joy Flowers",
|
||||
"itemgroup.joy.rosettes": "Pridecraft Rosettes",
|
||||
|
||||
"block.joy.gay_bed": "Gay Bed",
|
||||
"block.joy.enby_bed": "Enby Bed",
|
||||
@ -78,6 +79,17 @@
|
||||
"item.joy.lesbian_bundle": "Lesbian Bundle",
|
||||
"item.joy.progress_bundle": "Progress Bundle",
|
||||
|
||||
"item.joy.gay_rosette": "Gay Rosette",
|
||||
"item.joy.enby_rosette": "Enby Rosette",
|
||||
"item.joy.bisexual_rosette": "Bisexual Rosette",
|
||||
"item.joy.mlm_rosette": "MLM Rosette",
|
||||
"item.joy.ace_rosette": "Ace Rosette",
|
||||
"item.joy.aro_rosette": "Aro Rosette",
|
||||
"item.joy.pan_rosette": "Pan Rosette",
|
||||
"item.joy.trans_rosette": "Trans Rosette",
|
||||
"item.joy.lesbian_rosette": "Lesbian Rosette",
|
||||
"item.joy.plural_rosette": "Plural Rosette",
|
||||
|
||||
"item.joy.sock_fox_spawn_egg": "Thigh-High Fox Spawn Egg",
|
||||
"item.joy.bii_spawn_egg": "Bii Spawn Egg",
|
||||
"item.joy.enbee_spawn_egg": "Enbee Spawn Egg",
|
||||
|
After Width: | Height: | Size: 388 B |
After Width: | Height: | Size: 386 B |
After Width: | Height: | Size: 391 B |
After Width: | Height: | Size: 388 B |
After Width: | Height: | Size: 396 B |
After Width: | Height: | Size: 388 B |
After Width: | Height: | Size: 396 B |
After Width: | Height: | Size: 391 B |
After Width: | Height: | Size: 416 B |
After Width: | Height: | Size: 391 B |