Added paintings
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
BIN
src/main/resources/assets/joymod/textures/painting/ace.png
Normal file
After Width: | Height: | Size: 213 B |
BIN
src/main/resources/assets/joymod/textures/painting/agender.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
src/main/resources/assets/joymod/textures/painting/aro.png
Normal file
After Width: | Height: | Size: 244 B |
BIN
src/main/resources/assets/joymod/textures/painting/aroace.png
Normal file
After Width: | Height: | Size: 476 B |
BIN
src/main/resources/assets/joymod/textures/painting/bigender.png
Normal file
After Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B |
BIN
src/main/resources/assets/joymod/textures/painting/intersex.png
Normal file
After Width: | Height: | Size: 872 B |
Before Width: | Height: | Size: 723 B After Width: | Height: | Size: 723 B |
BIN
src/main/resources/assets/joymod/textures/painting/mlm.png
Normal file
After Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 492 B After Width: | Height: | Size: 492 B |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 288 B |
After Width: | Height: | Size: 624 B |
Before Width: | Height: | Size: 405 B After Width: | Height: | Size: 405 B |
Before Width: | Height: | Size: 495 B |
@ -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"
|
||||
]
|
||||
}
|