Added paintings

This commit is contained in:
Wolren 2024-04-29 18:09:28 +02:00
parent 5a4396d106
commit eed57050a0
20 changed files with 56 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import gay.pridecraft.joymod.entity.ModEntities;
import gay.pridecraft.joymod.block.ModBlocks;
import gay.pridecraft.joymod.item.ModItemGroups;
import gay.pridecraft.joymod.item.ModItems;
import gay.pridecraft.joymod.painting.ModPaintings;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.object.builder.v1.entity.FabricDefaultAttributeRegistry;
import net.minecraft.entity.attribute.EntityAttributes;
@ -21,6 +22,7 @@ public class JoyMod implements ModInitializer {
ModItems.registerModItems();
ModBlocks.registerModBlocks();
ModEntities.registerBlockEntities();
ModPaintings.registerPaintings();
registerEntityAttributes();
}

View File

@ -0,0 +1,34 @@
package gay.pridecraft.joymod.painting;
import gay.pridecraft.joymod.JoyMod;
import net.minecraft.entity.decoration.painting.PaintingVariant;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.util.Identifier;
public class ModPaintings {
public static final PaintingVariant ACE = registerPainting("ace", new PaintingVariant(32, 16));
public static final PaintingVariant AGENDER = registerPainting("agender", new PaintingVariant(16, 16));
public static final PaintingVariant ARO = registerPainting("aro", new PaintingVariant(32, 16));
public static final PaintingVariant AROACE = registerPainting("aroace", new PaintingVariant(64, 48));
public static final PaintingVariant BIGENDER = registerPainting("bigender", new PaintingVariant(16, 16));
public static final PaintingVariant BISEXUAL = registerPainting("bisexual", new PaintingVariant(32, 32));
public static final PaintingVariant ENBY = registerPainting("enby", new PaintingVariant(32, 32));
public static final PaintingVariant GAY = registerPainting("gay", new PaintingVariant(32, 32));
public static final PaintingVariant INTERSEX = registerPainting("intersex", new PaintingVariant(64, 64));
public static final PaintingVariant LESBIAN = registerPainting("lesbian", new PaintingVariant(64, 48));
public static final PaintingVariant MLM = registerPainting("mlm", new PaintingVariant(16, 16));
public static final PaintingVariant PAN = registerPainting("pan", new PaintingVariant(32, 32));
public static final PaintingVariant PROGRESS = registerPainting("progress", new PaintingVariant(64, 64));
public static final PaintingVariant QUEER = registerPainting("queer", new PaintingVariant(16, 16));
public static final PaintingVariant STRAIGHT_ALLY = registerPainting("straight_ally", new PaintingVariant(32, 32));
public static final PaintingVariant TRANS = registerPainting("trans", new PaintingVariant(32, 32));
private static PaintingVariant registerPainting(String name, PaintingVariant paintingVariant) {
return Registry.register(Registries.PAINTING_VARIANT, new Identifier(JoyMod.MOD_ID, name), paintingVariant);
}
public static void registerPaintings() {
JoyMod.LOGGER.info("Registering Paintings for " + JoyMod.MOD_ID);
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

View File

Before

Width:  |  Height:  |  Size: 307 B

After

Width:  |  Height:  |  Size: 307 B

View File

Before

Width:  |  Height:  |  Size: 302 B

After

Width:  |  Height:  |  Size: 302 B

View File

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 B

View File

Before

Width:  |  Height:  |  Size: 723 B

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

View File

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 492 B

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 288 B

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

View File

Before

Width:  |  Height:  |  Size: 405 B

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 495 B

View File

@ -0,0 +1,20 @@
{
"values": [
"joymod:ace",
"joymod:agender",
"joymod:aro",
"joymod:aroace",
"joymod:bigender",
"joymod:bisexual",
"joymod:enby",
"joymod:gay",
"joymod:intersex",
"joymod:lesbian",
"joymod:mlm",
"joymod:pan",
"joymod:progress",
"joymod:queer",
"joymod:straight_ally",
"joymod:trans"
]
}