Added pony paintings
BIN
paintings-2x1.xcf
Normal file
BIN
paintings-2x4.xcf
Normal file
BIN
paintings-3x3.xcf
Normal file
|
@ -15,9 +15,11 @@ import net.minecraft.entity.Entity;
|
|||
import net.minecraft.entity.EntityDimensions;
|
||||
import net.minecraft.entity.EntityType;
|
||||
import net.minecraft.entity.SpawnGroup;
|
||||
import net.minecraft.entity.decoration.painting.PaintingVariant;
|
||||
import net.minecraft.entity.mob.FlyingEntity;
|
||||
import net.minecraft.tag.BiomeTags;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import net.minecraft.util.registry.RegistryKey;
|
||||
import net.minecraft.world.biome.Biome;
|
||||
|
||||
public interface UEntities {
|
||||
|
@ -80,5 +82,26 @@ public interface UEntities {
|
|||
UTradeOffers.bootstrap();
|
||||
EntityBehaviour.bootstrap();
|
||||
UEntityAttributes.bootstrap();
|
||||
Paintings.bootstrap();
|
||||
}
|
||||
|
||||
interface Paintings {
|
||||
private static void register(String id, int width, int height) {
|
||||
Registry.register(Registry.PAINTING_VARIANT, RegistryKey.of(Registry.PAINTING_VARIANT_KEY, Unicopia.id(id)), new PaintingVariant(16 * width, 16 * height));
|
||||
}
|
||||
|
||||
static void bootstrap() {
|
||||
register("bloom", 2, 1);
|
||||
register("chicken", 2, 1);
|
||||
register("bells", 2, 1);
|
||||
register("crystal", 3, 3);
|
||||
register("harmony", 3, 3);
|
||||
register("equality", 2, 4);
|
||||
register("solar", 2, 4);
|
||||
register("platinum", 2, 4);
|
||||
register("hurricane", 2, 4);
|
||||
register("pudding", 2, 4);
|
||||
register("equestria", 2, 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
BIN
src/main/resources/assets/unicopia/textures/painting/bells.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
src/main/resources/assets/unicopia/textures/painting/bloom.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
src/main/resources/assets/unicopia/textures/painting/chicken.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
src/main/resources/assets/unicopia/textures/painting/crystal.png
Normal file
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 2 KiB |
After Width: | Height: | Size: 6.5 KiB |
BIN
src/main/resources/assets/unicopia/textures/painting/harmony.png
Normal file
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 5.7 KiB |
BIN
src/main/resources/assets/unicopia/textures/painting/pudding.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
src/main/resources/assets/unicopia/textures/painting/solar.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"unicopia:bloom",
|
||||
"unicopia:chicken",
|
||||
"unicopia:bells",
|
||||
"unicopia:crystal",
|
||||
"unicopia:harmony",
|
||||
"unicopia:equality",
|
||||
"unicopia:solar",
|
||||
"unicopia:platinum",
|
||||
"unicopia:hurricane",
|
||||
"unicopia:pudding",
|
||||
"unicopia:equestria"
|
||||
]
|
||||
}
|