Add initial possum implementation

This commit is contained in:
Aria 2023-02-13 02:36:12 -07:00
parent da7898a0c2
commit c7040f83ae
17 changed files with 563 additions and 111 deletions

View file

@ -114,6 +114,11 @@ repositories {
name = "ZNI Creations"
url = "https://maven.zontreck.dev"
}
maven {
name = "GeckoLib"
url = "https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/"
}
}
dependencies {
@ -126,6 +131,9 @@ dependencies {
compileOnly fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}:dev")
runtimeOnly fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}")
implementation fg.deobf('software.bernie.geckolib:geckolib-forge-1.19:3.1.39')
//compileOnly "net.luckperms:api:${luckperms_version}"
// compile against the JEI API but do not include it at runtime
//compileOnly fg.deobf("mezz.jei:jei-${mc_version}-forge-api:${jei_version}")

View file

@ -1,5 +1,5 @@
#Minecraft server properties
#Sun Feb 12 22:34:47 MST 2023
#Mon Feb 13 02:31:07 MST 2023
allow-flight=false
allow-nether=true
broadcast-console-to-ops=true

View file

@ -13,6 +13,7 @@ import com.mojang.logging.LogUtils;
import com.mojang.serialization.Codec;
import net.minecraft.client.gui.screens.MenuScreens;
import net.minecraft.client.renderer.entity.EntityRenderers;
import net.minecraft.network.chat.Component;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.server.MinecraftServer;
@ -36,6 +37,7 @@ import net.minecraftforge.event.server.ServerStoppingEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import software.bernie.geckolib3.GeckoLib;
import org.slf4j.Logger;
@ -51,6 +53,8 @@ import dev.zontreck.otemod.configs.Profile;
import dev.zontreck.otemod.database.Database;
import dev.zontreck.otemod.database.Database.DatabaseConnectionException;
import dev.zontreck.otemod.enchantments.ModEnchantments;
import dev.zontreck.otemod.entities.ModEntityTypes;
import dev.zontreck.otemod.entities.monsters.client.PossumRenderer;
import dev.zontreck.otemod.events.EventHandler;
import dev.zontreck.otemod.events.LoreHandlers;
import dev.zontreck.otemod.implementation.inits.ModMenuTypes;
@ -109,7 +113,6 @@ public class OTEMod
MinecraftForge.EVENT_BUS.register(this);
MinecraftForge.EVENT_BUS.register(new EventHandler());
MinecraftForge.EVENT_BUS.register(new LoreHandlers());
MinecraftForge.EVENT_BUS.register(new ChatServerOverride());
MinecraftForge.EVENT_BUS.register(new CommandRegistry());
@ -121,6 +124,9 @@ public class OTEMod
ModItems.register(bus);
ModEntities.register(bus);
ModEnchantments.register(bus);
ModEntityTypes.register(bus);
GeckoLib.initialize();
//MenuInitializer.register(bus);
}
@ -291,6 +297,8 @@ public class OTEMod
MenuScreens.register(ModMenuTypes.MAGIC_SCRUBBER.get(), MagicalScrubberScreen::new);
//ItemBlockRenderTypes.setRenderLayer(ModBlocks.AURORA_DOOR.get(), RenderType.translucent());
EntityRenderers.register(ModEntityTypes.POSSUM.get(), PossumRenderer::new);
}
}

View file

@ -1,13 +0,0 @@
package dev.zontreck.otemod.entities;
import dev.zontreck.otemod.OTEMod;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.entity.EntityType;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
public class ModEntities {
public static final DeferredRegister<EntityType<?>> ENTITIES = DeferredRegister.create(ForgeRegistries.ENTITY_TYPES, OTEMod.MOD_ID);
}

View file

@ -0,0 +1,27 @@
package dev.zontreck.otemod.entities;
import java.util.function.Supplier;
import dev.zontreck.otemod.OTEMod;
import dev.zontreck.otemod.entities.monsters.PossumEntity;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.entity.Mob;
import net.minecraft.world.entity.MobCategory;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;
public class ModEntityTypes {
public static final DeferredRegister<EntityType<?>> ENTITIES = DeferredRegister.create(ForgeRegistries.ENTITY_TYPES, OTEMod.MOD_ID);
public static final RegistryObject<EntityType<? extends PossumEntity>> POSSUM = ENTITIES.register("possum", ()-> EntityType.Builder.of(PossumEntity::new, MobCategory.CREATURE).sized(1.5f, 0.5f).build(new ResourceLocation(OTEMod.MOD_ID, "possum").toString()));
public static void register(IEventBus bus){
ENTITIES.register(bus);
}
}

View file

@ -1,95 +0,0 @@
// Made with Blockbench 4.6.4
// Exported for Minecraft version 1.17 or later with Mojang mappings
// Paste this class into your mod and generate all required imports
package dev.zontreck.otemod.entities;
import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.blaze3d.vertex.VertexConsumer;
import net.minecraft.client.model.EntityModel;
import net.minecraft.client.model.geom.ModelLayerLocation;
import net.minecraft.client.model.geom.ModelPart;
import net.minecraft.client.model.geom.PartPose;
import net.minecraft.client.model.geom.builders.CubeDeformation;
import net.minecraft.client.model.geom.builders.CubeListBuilder;
import net.minecraft.client.model.geom.builders.LayerDefinition;
import net.minecraft.client.model.geom.builders.MeshDefinition;
import net.minecraft.client.model.geom.builders.PartDefinition;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.entity.Entity;
public class PossumEntity<T extends Entity> extends EntityModel<T> {
// This layer location should be baked with EntityRendererProvider.Context in the entity renderer and passed into this model's constructor
public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(new ResourceLocation("modid", "possum"), "main");
private final ModelPart tail;
private final ModelPart body;
private final ModelPart feet;
private final ModelPart head;
private final ModelPart ears;
public PossumEntity(ModelPart root) {
this.tail = root.getChild("tail");
this.body = root.getChild("body");
this.feet = root.getChild("feet");
this.head = root.getChild("head");
this.ears = root.getChild("ears");
}
public static LayerDefinition createBodyLayer() {
MeshDefinition meshdefinition = new MeshDefinition();
PartDefinition partdefinition = meshdefinition.getRoot();
PartDefinition tail = partdefinition.addOrReplaceChild("tail", CubeListBuilder.create().texOffs(10, 29).addBox(-12.0F, -5.0F, -9.0F, 2.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(10, 29).addBox(-12.0F, -4.0F, -8.0F, 2.0F, 1.0F, 1.0F, new CubeDeformation(0.0F))
.texOffs(14, 25).addBox(-12.0F, -2.0F, -11.0F, 1.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(14, 25).addBox(-12.0F, -1.0F, -12.0F, 2.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(14, 25).addBox(-11.0F, -2.0F, -12.0F, 1.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(14, 25).addBox(-12.0F, -1.0F, -13.0F, 2.0F, 1.0F, 1.0F, new CubeDeformation(0.0F))
.texOffs(0, 0).addBox(-13.0F, -4.0F, -10.0F, 1.0F, 2.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(0, 0).addBox(-12.0F, -4.0F, -9.0F, 1.0F, 2.0F, 1.0F, new CubeDeformation(0.0F))
.texOffs(6, 25).addBox(-12.0F, -4.0F, -11.0F, 2.0F, 2.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(0, 4).addBox(-14.0F, -3.0F, -12.0F, 2.0F, 2.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(0, 32).addBox(-12.0F, -2.0F, -13.0F, 1.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(16, 31).addBox(-13.0F, -1.0F, -16.0F, 1.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(10, 29).addBox(-13.0F, -2.0F, -14.0F, 1.0F, 2.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(14, 25).addBox(-13.0F, 2.0F, -18.0F, 1.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(6, 25).addBox(-12.0F, -1.0F, -15.0F, 2.0F, 2.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(0, 4).addBox(-13.0F, 0.0F, -17.0F, 2.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(0, 4).addBox(-12.0F, 1.0F, -17.0F, 1.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(0, 32).addBox(-13.0F, 1.0F, -18.0F, 1.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(16, 31).addBox(-14.0F, 1.0F, -18.0F, 1.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)), PartPose.offset(5.0F, 23.0F, 10.0F));
PartDefinition body = partdefinition.addOrReplaceChild("body", CubeListBuilder.create().texOffs(14, 14).addBox(-4.0F, -7.0F, 6.0F, 7.0F, 4.0F, 1.0F, new CubeDeformation(0.0F))
.texOffs(0, 0).addBox(-5.0F, -7.75F, -2.0F, 9.0F, 6.0F, 8.0F, new CubeDeformation(0.0F))
.texOffs(20, 19).addBox(-4.0F, -7.0F, -3.0F, 7.0F, 4.0F, 1.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 24.0F, 0.0F));
PartDefinition feet = partdefinition.addOrReplaceChild("feet", CubeListBuilder.create().texOffs(26, 0).addBox(-5.0F, -2.0F, -1.9F, 3.0F, 1.0F, 3.0F, new CubeDeformation(0.0F))
.texOffs(22, 24).addBox(-5.0F, -2.0F, 3.0F, 3.0F, 1.0F, 3.0F, new CubeDeformation(0.0F))
.texOffs(26, 4).addBox(1.0F, -2.0F, -1.9F, 3.0F, 1.0F, 3.0F, new CubeDeformation(0.0F))
.texOffs(23, 28).addBox(1.0F, -2.0F, 3.1F, 3.0F, 1.0F, 3.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 24.0F, 0.0F));
PartDefinition head = partdefinition.addOrReplaceChild("head", CubeListBuilder.create().texOffs(0, 14).addBox(2.0F, -12.0F, -1.0F, 4.0F, 5.0F, 6.0F, new CubeDeformation(0.0F))
.texOffs(0, 25).addBox(6.0F, -10.0F, 0.0F, 1.0F, 3.0F, 4.0F, new CubeDeformation(0.0F))
.texOffs(31, 24).addBox(7.0F, -9.0F, 1.0F, 1.0F, 1.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(16, 24).addBox(1.0F, -11.0F, 0.0F, 1.0F, 3.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 24.0F, 0.0F));
PartDefinition ears = partdefinition.addOrReplaceChild("ears", CubeListBuilder.create().texOffs(30, 14).addBox(3.0F, -13.0F, -2.0F, 1.0F, 2.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(0, 14).addBox(3.0F, -13.0F, 4.0F, 1.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 24.0F, 0.0F));
return LayerDefinition.create(meshdefinition, 64, 64);
}
@Override
public void setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) {
}
@Override
public void renderToBuffer(PoseStack poseStack, VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) {
tail.render(poseStack, vertexConsumer, packedLight, packedOverlay, red, green, blue, alpha);
body.render(poseStack, vertexConsumer, packedLight, packedOverlay, red, green, blue, alpha);
feet.render(poseStack, vertexConsumer, packedLight, packedOverlay, red, green, blue, alpha);
head.render(poseStack, vertexConsumer, packedLight, packedOverlay, red, green, blue, alpha);
ears.render(poseStack, vertexConsumer, packedLight, packedOverlay, red, green, blue, alpha);
}
}

View file

@ -0,0 +1,84 @@
package dev.zontreck.otemod.entities.monsters;
import dev.zontreck.otemod.entities.ModEntityTypes;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.entity.AgeableMob;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.entity.Mob;
import net.minecraft.world.entity.ai.attributes.AttributeSupplier;
import net.minecraft.world.entity.ai.attributes.Attributes;
import net.minecraft.world.entity.ai.goal.FloatGoal;
import net.minecraft.world.entity.ai.goal.WaterAvoidingRandomStrollGoal;
import net.minecraft.world.entity.animal.Animal;
import net.minecraft.world.entity.animal.Cat;
import net.minecraft.world.entity.animal.Cow;
import net.minecraft.world.entity.animal.Fox;
import net.minecraft.world.entity.monster.Monster;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.Items;
import net.minecraft.world.level.Level;
import software.bernie.geckolib3.core.IAnimatable;
import software.bernie.geckolib3.core.PlayState;
import software.bernie.geckolib3.core.builder.AnimationBuilder;
import software.bernie.geckolib3.core.builder.ILoopType;
import software.bernie.geckolib3.core.controller.AnimationController;
import software.bernie.geckolib3.core.event.predicate.AnimationEvent;
import software.bernie.geckolib3.core.manager.AnimationData;
import software.bernie.geckolib3.core.manager.AnimationFactory;
import software.bernie.geckolib3.util.GeckoLibUtil;
public class PossumEntity extends Animal implements IAnimatable
{
public PossumEntity(EntityType<? extends Animal> pEntityType, Level pLevel) {
super(pEntityType, pLevel);
//TODO Auto-generated constructor stub
}
private AnimationFactory factory = GeckoLibUtil.createFactory(this);
@Override
public AnimationFactory getFactory() {
return factory;
}
@Override
public PossumEntity getBreedOffspring(ServerLevel pLevel, AgeableMob pOtherParent) {
return (PossumEntity) ModEntityTypes.POSSUM.get().create(pLevel);
}
@Override
public boolean isFood(ItemStack pStack)
{
return pStack.is(Items.APPLE);
}
public static AttributeSupplier createAttributes() {
return Mob.createMobAttributes().add(Attributes.MAX_HEALTH, 12.0D).add(Attributes.MOVEMENT_SPEED, (double)0.2F).build();
}
private <E extends IAnimatable> PlayState predicate(AnimationEvent<E> ev)
{
if(ev.isMoving())
{
// change anim
return PlayState.CONTINUE;
}
ev.getController().setAnimation(new AnimationBuilder().addAnimation("animation.model.idle", ILoopType.EDefaultLoopTypes.LOOP));
return PlayState.CONTINUE;
}
@Override
public void registerControllers(AnimationData data) {
data.addAnimationController(new AnimationController<IAnimatable>(this, "controller", 0, this::predicate));
}
@Override
public void registerGoals()
{
this.goalSelector.addGoal(0, new FloatGoal(this));
this.goalSelector.addGoal(1, new WaterAvoidingRandomStrollGoal(this, 1));
}
}

View file

@ -0,0 +1,26 @@
package dev.zontreck.otemod.entities.monsters.client;
import dev.zontreck.otemod.OTEMod;
import dev.zontreck.otemod.entities.monsters.PossumEntity;
import net.minecraft.resources.ResourceLocation;
import software.bernie.geckolib3.model.AnimatedGeoModel;
public class PossumModel extends AnimatedGeoModel<PossumEntity>
{
@Override
public ResourceLocation getAnimationResource(PossumEntity animatable) {
return new ResourceLocation(OTEMod.MOD_ID, "animations/possum.animation.json");
}
@Override
public ResourceLocation getModelResource(PossumEntity object) {
return new ResourceLocation(OTEMod.MOD_ID, "geo/possum.geo.json");
}
@Override
public ResourceLocation getTextureResource(PossumEntity object) {
return new ResourceLocation(OTEMod.MOD_ID, "textures/entity/possum_texture.png");
}
}

View file

@ -0,0 +1,40 @@
package dev.zontreck.otemod.entities.monsters.client;
import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.blaze3d.vertex.VertexConsumer;
import dev.zontreck.otemod.OTEMod;
import dev.zontreck.otemod.entities.monsters.PossumEntity;
import net.minecraft.client.renderer.MultiBufferSource;
import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.entity.EntityRendererProvider;
import net.minecraft.client.renderer.entity.EntityRendererProvider.Context;
import net.minecraft.resources.ResourceLocation;
import software.bernie.geckolib3.renderers.geo.GeoEntityRenderer;
public class PossumRenderer extends GeoEntityRenderer<PossumEntity>
{
public PossumRenderer(EntityRendererProvider.Context renderManager) {
super(renderManager, new PossumModel());
this.shadowRadius=0.3f;
}
@Override
public ResourceLocation getTextureLocation(PossumEntity entity)
{
return new ResourceLocation(OTEMod.MOD_ID, "textures/entity/possum_texture.png");
}
@Override
public RenderType getRenderType(PossumEntity animatable, float partialTicks,
PoseStack stack, MultiBufferSource buffer,
VertexConsumer consumer, int packed, ResourceLocation loc)
{
return super.getRenderType(animatable, partialTicks, stack, buffer, consumer, packed, loc);
}
}

View file

@ -4,6 +4,8 @@ import dev.zontreck.otemod.OTEMod;
import dev.zontreck.otemod.configs.OTEServerConfig;
import dev.zontreck.otemod.enchantments.MobEggEnchantment;
import dev.zontreck.otemod.enchantments.ModEnchantments;
import dev.zontreck.otemod.entities.ModEntityTypes;
import dev.zontreck.otemod.entities.monsters.PossumEntity;
import dev.zontreck.otemod.items.tags.ItemStatType;
import dev.zontreck.otemod.items.tags.ItemStatistics;
import net.minecraftforge.eventbus.api.SubscribeEvent;
@ -12,15 +14,17 @@ import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.entity.item.ItemEntity;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.enchantment.Enchantments;
import net.minecraftforge.common.ForgeSpawnEggItem;
import net.minecraftforge.event.entity.EntityAttributeCreationEvent;
import net.minecraftforge.event.entity.living.LivingDropsEvent;
@EventBusSubscriber(modid=OTEMod.MOD_ID, bus=Mod.EventBusSubscriber.Bus.FORGE)
@Mod.EventBusSubscriber(modid=OTEMod.MOD_ID)
public class EventHandler {
/*
@SubscribeEvent(priority = EventPriority.HIGH)
@ -65,4 +69,5 @@ public class EventHandler {
}
}
}
}

View file

@ -0,0 +1,21 @@
package dev.zontreck.otemod.events;
import dev.zontreck.otemod.OTEMod;
import dev.zontreck.otemod.entities.ModEntityTypes;
import dev.zontreck.otemod.entities.monsters.PossumEntity;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.entity.LivingEntity;
import net.minecraftforge.event.entity.EntityAttributeCreationEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;
@Mod.EventBusSubscriber(modid = OTEMod.MOD_ID, bus = Bus.MOD)
public class ModEventBusEvents {
@SubscribeEvent
public static void onMobAttributeCreation(EntityAttributeCreationEvent ev)
{
ev.put((EntityType<? extends LivingEntity>) ModEntityTypes.POSSUM.get(), PossumEntity.createAttributes());
OTEMod.LOGGER.info("/!\\ REGISTERING ATTRIBUTES /!\\");
}
}

View file

@ -1,10 +1,12 @@
package dev.zontreck.otemod.items;
import dev.zontreck.otemod.OTEMod;
import dev.zontreck.otemod.entities.ModEntityTypes;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.SimpleFoiledItem;
import net.minecraftforge.common.ForgeSpawnEggItem;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
@ -42,6 +44,11 @@ public class ModItems {
public static final RegistryObject<Item> POSSUM_SPAWN_EGG = ITEMS.register("possum_spawn_egg", () -> new ForgeSpawnEggItem(ModEntityTypes.POSSUM, 0x938686, 0xc68787, new Item.Properties().tab(CreativeModeTab.TAB_MISC)));
public static void register(IEventBus bus){
ITEMS.register(bus);
}

View file

@ -0,0 +1,9 @@
{
"format_version": "1.8.0",
"animations": {
"animation.model.idle": {
"loop": true
}
},
"geckolib_format_version": 2
}

View file

@ -0,0 +1,321 @@
{
"format_version": "1.12.0",
"minecraft:geometry": [
{
"description": {
"identifier": "geometry.unknown",
"texture_width": 64,
"texture_height": 64,
"visible_bounds_width": 3,
"visible_bounds_height": 2.5,
"visible_bounds_offset": [0, 0.75, 0]
},
"bones": [
{
"name": "tail",
"pivot": [5, 1, 10],
"cubes": [
{
"origin": [-7, 5, 1],
"size": [2, 1, 2],
"uv": {
"north": {"uv": [42, 57], "uv_size": [5, 5]},
"east": {"uv": [28, 58], "uv_size": [5, 6]},
"south": {"uv": [20, 58], "uv_size": [6, 6]},
"west": {"uv": [13, 59], "uv_size": [5, 5]},
"up": {"uv": [6, 59], "uv_size": [7, 5]},
"down": {"uv": [0, 64], "uv_size": [6, -5]}
}
},
{
"origin": [-7, 4, 2],
"size": [2, 1, 1],
"uv": {
"north": {"uv": [31, 59], "uv_size": [5, 5]},
"east": {"uv": [25, 58], "uv_size": [4, 6]},
"south": {"uv": [19, 58], "uv_size": [6, 6]},
"west": {"uv": [13, 59], "uv_size": [5, 5]},
"up": {"uv": [6, 59], "uv_size": [7, 5]},
"down": {"uv": [0, 64], "uv_size": [6, -5]}
}
},
{
"origin": [-7, 2, -1],
"size": [1, 1, 2],
"uv": {
"north": {"uv": [59, 56], "uv_size": [4, 5]},
"east": {"uv": [22, 58], "uv_size": [5, 6]},
"south": {"uv": [16, 58], "uv_size": [5, 6]},
"west": {"uv": [11, 59], "uv_size": [5, 5]},
"up": {"uv": [5, 59], "uv_size": [6, 5]},
"down": {"uv": [0, 64], "uv_size": [5, -5]}
}
},
{
"origin": [-7, 1, -2],
"size": [2, 1, 2],
"uv": {
"north": {"uv": [36, 55], "uv_size": [5, 5]},
"east": {"uv": [27, 58], "uv_size": [5, 6]},
"south": {"uv": [20, 58], "uv_size": [6, 6]},
"west": {"uv": [13, 59], "uv_size": [6, 5]},
"up": {"uv": [6, 59], "uv_size": [7, 5]},
"down": {"uv": [0, 64], "uv_size": [6, -5]}
}
},
{
"origin": [-6, 2, -2],
"size": [1, 1, 2],
"uv": {
"north": {"uv": [36, 58], "uv_size": [4, 5]},
"east": {"uv": [24, 58], "uv_size": [5, 6]},
"south": {"uv": [19, 58], "uv_size": [5, 6]},
"west": {"uv": [11, 59], "uv_size": [6, 5]},
"up": {"uv": [5, 59], "uv_size": [6, 5]},
"down": {"uv": [0, 64], "uv_size": [5, -5]}
}
},
{
"origin": [-7, 1, -3],
"size": [2, 1, 1],
"uv": {
"north": {"uv": [32, 58], "uv_size": [5, 5]},
"east": {"uv": [25, 58], "uv_size": [4, 6]},
"south": {"uv": [18, 58], "uv_size": [6, 6]},
"west": {"uv": [13, 60], "uv_size": [4, 4]},
"up": {"uv": [6, 60], "uv_size": [7, 4]},
"down": {"uv": [0, 64], "uv_size": [6, -4]}
}
},
{
"origin": [-8, 3, 0],
"size": [1, 2, 2],
"uv": {
"north": {"uv": [48, 58], "uv_size": [4, 6]},
"east": {"uv": [25, 57], "uv_size": [5, 7]},
"south": {"uv": [18, 57], "uv_size": [5, 7]},
"west": {"uv": [11, 59], "uv_size": [5, 5]},
"up": {"uv": [5, 59], "uv_size": [6, 5]},
"down": {"uv": [0, 64], "uv_size": [5, -5]}
}
},
{
"origin": [-7, 3, 1],
"size": [1, 2, 1],
"uv": {
"north": {"uv": [30, 57], "uv_size": [4, 6]},
"east": {"uv": [23, 57], "uv_size": [4, 7]},
"south": {"uv": [17, 57], "uv_size": [5, 7]},
"west": {"uv": [11, 60], "uv_size": [4, 4]},
"up": {"uv": [5, 60], "uv_size": [6, 4]},
"down": {"uv": [0, 64], "uv_size": [5, -4]}
}
},
{
"origin": [-7, 3, -1],
"size": [2, 2, 2],
"uv": {
"north": {"uv": [34, 57], "uv_size": [5, 6]},
"east": {"uv": [26, 57], "uv_size": [5, 7]},
"south": {"uv": [19, 57], "uv_size": [6, 7]},
"west": {"uv": [13, 59], "uv_size": [5, 5]},
"up": {"uv": [6, 59], "uv_size": [7, 5]},
"down": {"uv": [0, 64], "uv_size": [6, -5]}
}
},
{
"origin": [-9, 2, -2],
"size": [2, 2, 2],
"uv": {
"north": {"uv": [33, 57], "uv_size": [5, 6]},
"east": {"uv": [25, 57], "uv_size": [5, 7]},
"south": {"uv": [18, 57], "uv_size": [6, 7]},
"west": {"uv": [12, 59], "uv_size": [5, 5]},
"up": {"uv": [6, 59], "uv_size": [7, 5]},
"down": {"uv": [0, 64], "uv_size": [6, -5]}
}
},
{
"origin": [-7, 2, -3],
"size": [1, 1, 2],
"uv": {
"north": {"uv": [29, 56], "uv_size": [4, 5]},
"east": {"uv": [21, 58], "uv_size": [5, 6]},
"south": {"uv": [13, 58], "uv_size": [5, 6]},
"west": {"uv": [3, 59], "uv_size": [5, 5]},
"up": {"uv": [5, 59], "uv_size": [6, 5]},
"down": {"uv": [0, 64], "uv_size": [5, -5]}
}
},
{
"origin": [-8, 1, -6],
"size": [1, 1, 2],
"uv": {
"north": {"uv": [34, 56], "uv_size": [4, 5]},
"east": {"uv": [25, 58], "uv_size": [5, 6]},
"south": {"uv": [19, 58], "uv_size": [5, 6]},
"west": {"uv": [12, 59], "uv_size": [5, 5]},
"up": {"uv": [5, 59], "uv_size": [6, 5]},
"down": {"uv": [0, 64], "uv_size": [5, -5]}
}
},
{
"origin": [-8, 1, -4],
"size": [1, 2, 2],
"uv": {
"north": {"uv": [42, 57], "uv_size": [4, 6]},
"east": {"uv": [24, 57], "uv_size": [5, 7]},
"south": {"uv": [17, 57], "uv_size": [5, 7]},
"west": {"uv": [11, 59], "uv_size": [5, 5]},
"up": {"uv": [5, 59], "uv_size": [6, 5]},
"down": {"uv": [0, 64], "uv_size": [5, -5]}
}
},
{
"origin": [-8, -2, -8],
"size": [1, 1, 2],
"uv": {
"north": {"uv": [48, 57], "uv_size": [4, 5]},
"east": {"uv": [24, 58], "uv_size": [5, 6]},
"south": {"uv": [16, 58], "uv_size": [5, 6]},
"west": {"uv": [10, 60], "uv_size": [5, 4]},
"up": {"uv": [5, 59], "uv_size": [6, 5]},
"down": {"uv": [0, 64], "uv_size": [5, -5]}
}
},
{
"origin": [-7, 0, -5],
"size": [2, 2, 2],
"uv": {
"north": {"uv": [46, 58], "uv_size": [5, 4]},
"east": {"uv": [30, 61], "uv_size": [5, 3]},
"south": {"uv": [23, 58], "uv_size": [6, 6]},
"west": {"uv": [15, 60], "uv_size": [5, 4]},
"up": {"uv": [6, 58], "uv_size": [7, 6]},
"down": {"uv": [0, 64], "uv_size": [6, -6]}
}
},
{
"origin": [-8, 0, -7],
"size": [2, 1, 2],
"uv": {
"north": {"uv": [42, 56], "uv_size": [5, 5]},
"east": {"uv": [26, 58], "uv_size": [5, 6]},
"south": {"uv": [19, 58], "uv_size": [6, 6]},
"west": {"uv": [13, 60], "uv_size": [5, 4]},
"up": {"uv": [6, 59], "uv_size": [7, 5]},
"down": {"uv": [0, 64], "uv_size": [6, -5]}
}
},
{
"origin": [-7, -1, -7],
"size": [1, 1, 2],
"uv": {
"north": {"uv": [54, 59], "uv_size": [4, 5]},
"east": {"uv": [23, 58], "uv_size": [5, 6]},
"south": {"uv": [17, 58], "uv_size": [5, 6]},
"west": {"uv": [10, 60], "uv_size": [5, 4]},
"up": {"uv": [5, 59], "uv_size": [6, 5]},
"down": {"uv": [0, 64], "uv_size": [5, -5]}
}
},
{
"origin": [-8, -1, -8],
"size": [1, 1, 2],
"uv": {
"north": {"uv": [54, 58], "uv_size": [4, 5]},
"east": {"uv": [21, 58], "uv_size": [5, 6]},
"south": {"uv": [15, 58], "uv_size": [5, 6]},
"west": {"uv": [9, 60], "uv_size": [5, 4]},
"up": {"uv": [5, 59], "uv_size": [6, 5]},
"down": {"uv": [0, 64], "uv_size": [5, -5]}
}
},
{
"origin": [-9, -2, -8],
"size": [1, 2, 2],
"uv": {
"north": {"uv": [26, 58], "uv_size": [4, 6]},
"east": {"uv": [31, 57], "uv_size": [5, 7]},
"south": {"uv": [17, 57], "uv_size": [5, 7]},
"west": {"uv": [12, 59], "uv_size": [5, 5]},
"up": {"uv": [5, 59], "uv_size": [6, 5]},
"down": {"uv": [0, 64], "uv_size": [5, -5]}
}
}
]
},
{
"name": "body",
"pivot": [0, 0, 0],
"cubes": [
{
"origin": [-4, 3, 6],
"size": [7, 4, 1],
"uv": {
"north": {"uv": [3, 6], "uv_size": [7, 4]},
"east": {"uv": [7, 0], "uv_size": [3, 7]},
"south": {"uv": [14, 0], "uv_size": [7, 4]},
"west": {"uv": [24, 0], "uv_size": [3, 10]},
"up": {"uv": [11, 6], "uv_size": [12, 4]},
"down": {"uv": [41, 4], "uv_size": [7, -4]}
}
},
{
"origin": [-5, 1.75, -2],
"size": [9, 6, 8],
"uv": {
"north": {"uv": [8, 8], "uv_size": [9, 6]},
"east": {"uv": [0, 8], "uv_size": [8, 6]},
"south": {"uv": [25, 8], "uv_size": [9, 6]},
"west": {"uv": [17, 8], "uv_size": [8, 6]},
"up": {"uv": [8, 0], "uv_size": [9, 8]},
"down": {"uv": [17, 8], "uv_size": [9, -8]}
}
},
{
"origin": [-4, 2, -3],
"size": [7, 4, 1],
"uv": {
"north": {"uv": [10, 0], "uv_size": [10, 8]},
"east": {"uv": [27, 4], "uv_size": [2, 11]},
"south": {"uv": [0, 0], "uv_size": [11, 3]},
"west": {"uv": [22, 2], "uv_size": [3, 8]},
"up": {"uv": [18, 0], "uv_size": [7, 2]},
"down": {"uv": [29, 2], "uv_size": [7, -2]}
}
}
]
},
{
"name": "feet",
"pivot": [0, 0, 0],
"cubes": [
{"origin": [-5, 1, -1.9], "size": [3, 1, 3], "uv": [0, 16]},
{"origin": [-5, 1, 3], "size": [3, 1, 3], "uv": [0, 16]},
{"origin": [1, 1, -1.9], "size": [3, 1, 3], "uv": [0, 16]},
{"origin": [1, 1, 3.1], "size": [3, 1, 3], "uv": [0, 16]}
]
},
{
"name": "head",
"pivot": [0, 0, 0],
"cubes": [
{"origin": [2, 7, -1], "size": [4, 5, 6], "uv": [44, 5]},
{"origin": [6, 7, 0], "size": [1, 3, 4], "uv": [54, 0]},
{"origin": [7, 8, 1], "size": [1, 1, 2], "uv": [42, 5]},
{"origin": [1, 8, 0], "size": [1, 3, 4], "uv": [33, 0]}
]
},
{
"name": "ears",
"pivot": [0, 0, 0],
"cubes": [
{"origin": [3, 11, -2], "size": [1, 2, 2], "uv": [13, 16]},
{"origin": [3, 11, 4], "size": [1, 2, 2], "uv": [12, 16]}
]
}
]
}
]
}

View file

@ -28,6 +28,7 @@
"item.otemod.singularity": "Singularity",
"item.otemod.scrubber_frame_piece": "Scrubber Frame Component",
"item.otemod.scrubber_frame": "Scrubber Frame",
"item.otemod.possum_spawn_egg": "Possum Spawn Egg",
"block.otemod.eternium_ore_block": "Eternium Ore",

View file

@ -0,0 +1,3 @@
{
"parent": "minecraft:item/template_spawn_egg"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB