Upload source code, added esa crystal, Esa golem glitched

This commit is contained in:
2023-07-21 14:37:21 -04:00
commit 73d8546a95
25 changed files with 3642 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
package studio.meaningless.esa;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents;
import net.fabricmc.fabric.api.object.builder.v1.entity.FabricDefaultAttributeRegistry;
import net.minecraft.item.Item;
import net.minecraft.item.ItemGroups;
import net.minecraft.item.Items;
import net.minecraft.item.SpawnEggItem;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.util.Identifier;
import studio.meaningless.esa.entity.ModEntities;
import studio.meaningless.esa.entity.custom.EsaGolemEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Esa implements ModInitializer {
// For printing logs
public static final Logger LOGGER = LoggerFactory.getLogger("esa");
// Custom Items
public static final Item ESA_CRYSTAL = Registry.register(Registries.ITEM, new Identifier("esa", "esa_crystal"),
new Item(new FabricItemSettings()));
// Spawn Eggs
public static final Item ESA_GOLEM_SPAWN_EGG = Registry.register(Registries.ITEM,
new Identifier("esa", "esa_golem_spawn_egg"),
new SpawnEggItem(ModEntities.ESA_GOLEM, 0x19BA5D, 0x26158, new FabricItemSettings()));
@Override
public void onInitialize() {
LOGGER.info("Esa Initializing");
// Modify Item Groups
// Add items to Ingredients
ItemGroupEvents.modifyEntriesEvent(ItemGroups.INGREDIENTS).register(content -> {
content.addAfter(Items.AMETHYST_SHARD, ESA_CRYSTAL);
});
// Add Items To Spawn Eggs
ItemGroupEvents.modifyEntriesEvent(ItemGroups.SPAWN_EGGS).register(content -> {
content.add(ESA_GOLEM_SPAWN_EGG);
});
// Register Entities
FabricDefaultAttributeRegistry.register(ModEntities.ESA_GOLEM, EsaGolemEntity.setAttributes());
}
}

View File

@@ -0,0 +1,15 @@
package studio.meaningless.esa;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry;
import studio.meaningless.esa.entity.ModEntities;
import studio.meaningless.esa.entity.client.EsaGolemRenderer;
public class EsaClient implements ClientModInitializer {
@Override
public void onInitializeClient() {
EntityRendererRegistry.register(ModEntities.ESA_GOLEM, EsaGolemRenderer::new);
}
}

View File

@@ -0,0 +1,11 @@
package studio.meaningless.esa;
import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint;
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator;
public class EsaDataGenerator implements DataGeneratorEntrypoint {
@Override
public void onInitializeDataGenerator(FabricDataGenerator fabricDataGenerator) {
}
}

View File

@@ -0,0 +1,19 @@
package studio.meaningless.esa.entity;
import net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder;
import net.minecraft.entity.EntityDimensions;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.SpawnGroup;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.util.Identifier;
import studio.meaningless.esa.entity.custom.EsaGolemEntity;
public class ModEntities {
public static final EntityType<EsaGolemEntity> ESA_GOLEM = Registry.register(
Registries.ENTITY_TYPE, new Identifier("esa", "esa_golem"),
FabricEntityTypeBuilder.create(SpawnGroup.CREATURE, EsaGolemEntity::new)
// Add Hitbox for Esa Golem
// TODO fix hitbox size
.dimensions(EntityDimensions.fixed(1f, 1.5f)).build());
}

View File

@@ -0,0 +1,35 @@
package studio.meaningless.esa.entity.client;
import net.minecraft.util.Identifier;
import software.bernie.geckolib.model.GeoModel;
import studio.meaningless.esa.entity.custom.EsaGolemEntity;
public class EsaGolemModel extends GeoModel<EsaGolemEntity> {
@Override
public Identifier getModelResource(EsaGolemEntity animatable) {
return new Identifier("esa", "geo/esa_golem.geo.json");
}
@Override
public Identifier getTextureResource(EsaGolemEntity animatable) {
return new Identifier("esa", "textures/entity/esa_golem.png");
}
@Override
public Identifier getAnimationResource(EsaGolemEntity animatable) {
return new Identifier("esa", "animations/esa_golem.animation.json");
}
// TODO Figure out if this is neccessary
// @Override
// public void setCustomAnimations(EsaGolemEntity animatable, long instanceId, AnimationState<EsaGolemEntity> animationState) {
// CoreGeoBone head = getAnimationProcessor().getBone("head");
// if (head != null) {
// EntityModelData entityData = animationState.getData(DataTickets.ENTITY_MODEL_DATA);
// head.setRotX(entityData.headPitch() * MathHelper.RADIANS_PER_DEGREE);
// head.setRotY(entityData.netHeadYaw() * MathHelper.RADIANS_PER_DEGREE);
// }
// }
}

View File

@@ -0,0 +1,26 @@
package studio.meaningless.esa.entity.client;
import net.minecraft.client.render.VertexConsumerProvider;
import net.minecraft.client.render.entity.EntityRendererFactory;
import net.minecraft.client.util.math.MatrixStack;
import software.bernie.geckolib.renderer.GeoEntityRenderer;
import studio.meaningless.esa.entity.custom.EsaGolemEntity;
public class EsaGolemRenderer extends GeoEntityRenderer<EsaGolemEntity> {
public EsaGolemRenderer(EntityRendererFactory.Context renderManager) {
super(renderManager, new EsaGolemModel());
}
// TODO Check if this is necessary
// @Override
// public Identifier getTextureLocation(EsaGolemEntity animatable) {
// return new Identifier("esa", "textures/entity/esa_golem.png");
// }
@Override
public void render(EsaGolemEntity entity, float entityYaw, float partialTick,
MatrixStack poseStack, VertexConsumerProvider bufferSource, int packedLight) {
poseStack.scale(2.5f, 2.5f, 2.5f);
super.render(entity, entityYaw, partialTick, poseStack, bufferSource, packedLight);
}
}

View File

@@ -0,0 +1,91 @@
package studio.meaningless.esa.entity.custom;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.ai.goal.ActiveTargetGoal;
import net.minecraft.entity.ai.goal.MeleeAttackGoal;
import net.minecraft.entity.ai.goal.WanderAroundFarGoal;
import net.minecraft.entity.attribute.DefaultAttributeContainer;
import net.minecraft.entity.attribute.EntityAttributes;
import net.minecraft.entity.mob.HostileEntity;
import net.minecraft.entity.mob.MobEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.PassiveEntity;
// import net.minecraft.entity.mob.ZombieEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.world.World;
import software.bernie.geckolib.animatable.GeoEntity;
import software.bernie.geckolib.core.animatable.instance.AnimatableInstanceCache;
import software.bernie.geckolib.core.animation.AnimatableManager;
import software.bernie.geckolib.core.animation.Animation;
import software.bernie.geckolib.core.animation.AnimationController;
import software.bernie.geckolib.core.animation.AnimationState;
import software.bernie.geckolib.core.animation.RawAnimation;
import software.bernie.geckolib.core.object.PlayState;
import software.bernie.geckolib.util.GeckoLibUtil;
// public class EsaGolemEntity extends HostileEntity implements GeoEntity {
public class EsaGolemEntity extends AnimalEntity implements GeoEntity {
// public class EsaGolemEntity extends ZombieEntity implements GeoEntity {
private AnimatableInstanceCache cache = GeckoLibUtil.createInstanceCache(this);
// Set attributes of the mob
public static DefaultAttributeContainer.Builder setAttributes() {
// return HostileEntity.createMobAttributes()
return AnimalEntity.createMobAttributes()
.add(EntityAttributes.GENERIC_MAX_HEALTH, 200.0D)
.add(EntityAttributes.GENERIC_ATTACK_DAMAGE, 10.0f)
.add(EntityAttributes.GENERIC_ATTACK_SPEED, 140.0f) // cooldown between attacks
.add(EntityAttributes.GENERIC_MOVEMENT_SPEED, 3f) // default player is 0.1
// .add(EntityAttributes.GENERIC_MOVEMENT_SPEED, 0.05f) // default player is 0.1
.add(EntityAttributes.GENERIC_FOLLOW_RANGE, 15.0)
.add(EntityAttributes.GENERIC_KNOCKBACK_RESISTANCE, 0.8) // 1.0 is 100%, 0 is 0%
.add(EntityAttributes.GENERIC_ATTACK_KNOCKBACK, 1.5) // ravager is 1.5
.add(EntityAttributes.GENERIC_ARMOR, 15); // default for iron armor is 15
}
// Add goals (for mob ai)
@Override
protected void initGoals() {
this.goalSelector.add(2, new WanderAroundFarGoal(this, 1.0));
this.goalSelector.add(1, new MeleeAttackGoal(this, 0.5, false));
this.targetSelector.add(1, new ActiveTargetGoal<PlayerEntity>((MobEntity)this, PlayerEntity.class, true));
}
public EsaGolemEntity(EntityType<? extends AnimalEntity> entityType, World world) {
// public EsaGolemEntity(EntityType<? extends ZombieEntity> entityType, World world) {
super(entityType, world);
}
// Geckolib stuff
@Override
public AnimatableInstanceCache getAnimatableInstanceCache() {
return cache;
}
@Override
public void registerControllers(AnimatableManager.ControllerRegistrar controllerRegistrar) {
controllerRegistrar.add(new AnimationController<>(this, "controller", 0, this::predicate));
}
private PlayState predicate(AnimationState tAnimationState) {
if (tAnimationState.isMoving()) {
tAnimationState.getController()
.setAnimation(RawAnimation.begin().then("animation.esa_golem.walk", Animation.LoopType.LOOP));
return PlayState.CONTINUE;
}
tAnimationState.getController()
.setAnimation(RawAnimation.begin().then("animation.esa_golem.idle", Animation.LoopType.LOOP));
return PlayState.CONTINUE;
}
@Override
public PassiveEntity createChild(ServerWorld var1, PassiveEntity var2) {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("Unimplemented method 'createChild'");
}
}

View File

@@ -0,0 +1,15 @@
package studio.meaningless.esa.mixin;
import net.minecraft.server.MinecraftServer;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(MinecraftServer.class)
public class ExampleMixin {
@Inject(at = @At("HEAD"), method = "loadWorld")
private void init(CallbackInfo info) {
// This code is injected into the start of MinecraftServer.loadWorld()V
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,254 @@
{
"format_version": "1.12.0",
"minecraft:geometry": [
{
"description": {
"identifier": "geometry.unknown",
"texture_width": 128,
"texture_height": 128,
"visible_bounds_width": 3,
"visible_bounds_height": 3.5,
"visible_bounds_offset": [0, 1.25, 0]
},
"bones": [
{
"name": "StoneMonster",
"pivot": [-1, 9, 0],
"rotation": [0, -90, 0]
},
{
"name": "body",
"parent": "StoneMonster",
"pivot": [-2, 11, -3]
},
{
"name": "mainbody",
"parent": "body",
"pivot": [0.52296, 5.83807, -3]
},
{
"name": "upperbody",
"parent": "mainbody",
"pivot": [-1.05669, 11.56195, -4],
"cubes": [
{"origin": [-4.05669, 10.56195, -7], "size": [6, 9, 13], "pivot": [-1.05669, 14.56195, -1], "rotation": [0, 0, -10], "uv": [0, 0]},
{"origin": [-5.05669, 10.56195, -6], "size": [1, 7, 11], "pivot": [-1.05669, 14.56195, -1], "rotation": [0, 0, -10], "uv": [21, 30]},
{"origin": [1.94331, 10.56195, -6], "size": [1, 8, 11], "pivot": [-1.05669, 14.56195, -1], "rotation": [0, 0, -10], "uv": [27, 11]}
]
},
{
"name": "head",
"parent": "upperbody",
"pivot": [-2.47704, 17.83807, 0]
},
{
"name": "head2",
"parent": "head",
"pivot": [-6.47704, -1.16193, -3],
"cubes": [
{"origin": [-8.47704, 17.83807, -4], "size": [7, 5, 7], "uv": [40, 0]},
{"origin": [-9.47704, 17.83807, -3], "size": [1, 4, 5], "uv": [34, 30]}
]
},
{
"name": "mouth",
"parent": "head",
"pivot": [-6.47704, -1.16193, -3]
},
{
"name": "jaw",
"parent": "mouth",
"pivot": [-3.47704, 17.83807, -3],
"rotation": [0, 0, -12.5],
"cubes": [
{"origin": [-8.51875, 16.92626, -4], "size": [5, 1, 7], "pivot": [-4.47704, 17.83807, 2], "rotation": [0, 0, 12.5], "uv": [40, 12]}
]
},
{
"name": "lowerbody",
"parent": "mainbody",
"pivot": [1.94331, 6.56195, -3],
"cubes": [
{"origin": [-3.05669, 5.56195, -6], "size": [5, 7, 11], "pivot": [-1.05669, 8.56195, -1], "rotation": [0, 0, 7.5], "uv": [0, 22]},
{"origin": [-4.05669, 6.56195, -5], "size": [1, 4, 9], "pivot": [-1.05669, 8.56195, -1], "rotation": [0, 0, 7.5], "uv": [47, 35]},
{"origin": [1.94331, 6.56195, -5], "size": [1, 5, 9], "pivot": [-1.05669, 8.56195, -1], "rotation": [0, 0, 7.5], "uv": [36, 39]}
]
},
{
"name": "limbs",
"parent": "body",
"pivot": [-7.47704, -1.16193, -3]
},
{
"name": "arms",
"parent": "limbs",
"pivot": [-1.47704, 15.83807, -2]
},
{
"name": "Rarm",
"parent": "arms",
"pivot": [-0.47704, 15.83807, 9]
},
{
"name": "Rupperarm",
"parent": "Rarm",
"pivot": [-1.47704, 17.83807, -7],
"cubes": [
{"origin": [-3.47704, 12.83807, -12], "size": [5, 5, 6], "uv": [45, 24]},
{"origin": [-4.47704, 13.83807, -11], "size": [1, 3, 3], "uv": [10, 53]},
{"origin": [1.52296, 13.83807, -11], "size": [1, 3, 3], "uv": [47, 35]},
{"origin": [-2.47704, 13.83807, -13], "size": [3, 3, 1], "uv": [24, 57]}
]
},
{
"name": "Rarmspikes",
"parent": "Rupperarm",
"pivot": [-7.47704, -1.16193, -3],
"cubes": [
{"origin": [-2.47704, 17.83807, -11], "size": [3, 2, 3], "uv": [43, 55]},
{"origin": [-1.47704, 18.83807, -10], "size": [1, 6, 1], "uv": [40, 12]},
{"origin": [-1.47704, 17.83807, -12], "size": [2, 1, 1], "uv": [0, 31]}
]
},
{
"name": "Rmiddlearm",
"parent": "Rarm",
"pivot": [-0.47704, 11.83807, -9],
"cubes": [
{"origin": [-2.47704, 8.83807, -11], "size": [3, 6, 3], "pivot": [-1.47704, 10.83807, -9], "rotation": [0, 0, 12.5], "uv": [25, 0]},
{"origin": [-3.47704, 9.83807, -10], "size": [1, 2, 1], "pivot": [-1.47704, 10.83807, -9], "rotation": [0, 0, 12.5], "uv": [42, 0]},
{"origin": [0.52296, 9.83807, -10], "size": [1, 2, 1], "pivot": [-1.47704, 10.83807, -9], "rotation": [0, 0, 12.5], "uv": [36, 8]}
]
},
{
"name": "Rhand",
"parent": "Rarm",
"pivot": [-1.47704, 7.83807, -9],
"cubes": [
{"origin": [-3.12636, 3.76696, -11], "size": [2, 6, 3], "pivot": [-1.47704, 7.83807, -9], "rotation": [0, 0, 30], "uv": [0, 53]},
{"origin": [-2.12636, 4.76696, -12], "size": [1, 3, 1], "pivot": [-1.47704, 7.83807, -9], "rotation": [0, 0, 30], "uv": [36, 58]},
{"origin": [-1.12636, 4.76696, -10], "size": [1, 3, 1], "pivot": [-1.47704, 7.83807, -9], "rotation": [0, 0, 30], "uv": [58, 35]},
{"origin": [-2.12636, 4.76696, -8], "size": [1, 3, 1], "pivot": [-1.47704, 7.83807, -9], "rotation": [0, 0, 30], "uv": [32, 58]},
{"origin": [-4.12636, 4.76696, -10], "size": [1, 3, 1], "pivot": [-1.47704, 7.83807, -9], "rotation": [0, 0, 30], "uv": [55, 57]}
]
},
{
"name": "Larm",
"parent": "arms",
"pivot": [-0.47704, 15.83807, 9]
},
{
"name": "Lupperarm",
"parent": "Larm",
"pivot": [-1.47704, 15.83807, 8],
"cubes": [
{"origin": [-3.47704, 12.83807, 5], "size": [5, 5, 6], "uv": [0, 42]},
{"origin": [-4.47704, 13.83807, 7], "size": [1, 3, 3], "uv": [37, 0]},
{"origin": [1.52296, 13.83807, 7], "size": [1, 3, 3], "uv": [21, 27]},
{"origin": [-2.47704, 13.83807, 11], "size": [3, 3, 1], "uv": [51, 20]}
]
},
{
"name": "Larmspikes",
"parent": "Lupperarm",
"pivot": [-7.47704, -1.16193, -3],
"cubes": [
{"origin": [-2.47704, 17.83807, 7], "size": [3, 2, 3], "uv": [34, 53]},
{"origin": [-0.47704, 19.83807, 9], "size": [1, 2, 1], "uv": [47, 41]},
{"origin": [-1.47704, 18.83807, 8], "size": [1, 7, 1], "uv": [0, 40]},
{"origin": [-1.47704, 17.83807, 10], "size": [2, 1, 1], "uv": [21, 25]}
]
},
{
"name": "Lmiddlearm",
"parent": "Larm",
"pivot": [-1.47704, 10.83807, 8],
"cubes": [
{"origin": [-2.47704, 8.83807, 7], "size": [3, 6, 3], "pivot": [-1.47704, 10.83807, -9], "rotation": [0, 0, 12.5], "uv": [0, 0]},
{"origin": [-3.47704, 9.83807, 8], "size": [1, 2, 1], "pivot": [-1.47704, 10.83807, -9], "rotation": [0, 0, 12.5], "uv": [7, 22]},
{"origin": [0.52296, 9.83807, 8], "size": [1, 2, 1], "pivot": [-1.47704, 10.83807, -9], "rotation": [0, 0, 12.5], "uv": [9, 0]}
]
},
{
"name": "Lhand",
"parent": "Larm",
"pivot": [-1.47704, 7.83807, 8],
"cubes": [
{"origin": [-3.12636, 3.76696, 7], "size": [2, 6, 3], "pivot": [-1.47704, 7.83807, -9], "rotation": [0, 0, 30], "uv": [0, 22]},
{"origin": [-4.12636, 4.76696, 8], "size": [1, 3, 1], "pivot": [-1.47704, 7.83807, -9], "rotation": [0, 0, 30], "uv": [16, 44]},
{"origin": [-2.12636, 4.76696, 10], "size": [1, 3, 1], "pivot": [-1.47704, 7.83807, -9], "rotation": [0, 0, 30], "uv": [41, 30]},
{"origin": [-2.12636, 4.76696, 6], "size": [1, 3, 1], "pivot": [-1.47704, 7.83807, -9], "rotation": [0, 0, 30], "uv": [16, 40]},
{"origin": [-1.12636, 4.76696, 8], "size": [1, 3, 1], "pivot": [-1.47704, 7.83807, -9], "rotation": [0, 0, 30], "uv": [34, 30]}
]
},
{
"name": "legs",
"parent": "limbs",
"pivot": [-7.47704, -1.16193, -3]
},
{
"name": "Rleg",
"parent": "legs",
"pivot": [-0.47704, 5.83807, -3]
},
{
"name": "Rupperleg",
"parent": "Rleg",
"pivot": [-0.47704, 3.83807, -3],
"cubes": [
{"origin": [-2.47704, 1.83807, -5], "size": [4, 4, 4], "pivot": [-0.47704, 3.83807, -3], "rotation": [0, 0, 12.5], "uv": [52, 49]},
{"origin": [-3.47704, 2.83807, -4], "size": [1, 1, 2], "pivot": [-0.47704, 3.83807, -3], "rotation": [0, 0, 12.5], "uv": [30, 48]},
{"origin": [1.52296, 2.83807, -4], "size": [1, 1, 2], "pivot": [-0.47704, 3.83807, -3], "rotation": [0, 0, 12.5], "uv": [47, 41]}
]
},
{
"name": "Rlowerleg",
"parent": "Rleg",
"pivot": [-1.47704, 0.83807, -3],
"cubes": [
{"origin": [-1.47704, -0.16193, -4], "size": [2, 3, 2], "pivot": [-1.47704, 0.83807, -3], "rotation": [0, 0, -15], "uv": [16, 57]}
]
},
{
"name": "Rfoot",
"parent": "Rleg",
"pivot": [0.52296, -0.16193, -3],
"cubes": [
{"origin": [-2.47704, -0.16193, -4], "size": [3, 1, 2], "uv": [25, 9]}
]
},
{
"name": "Lleg",
"parent": "legs",
"pivot": [1.52296, 5.83807, 1]
},
{
"name": "Lupperleg",
"parent": "Lleg",
"pivot": [-0.43151, 3.83807, -2.91371],
"cubes": [
{"origin": [-2.43151, 1.83807, 0.08629], "size": [4, 4, 4], "pivot": [-0.43151, 3.83807, -2.91371], "rotation": [0, 0, 12.5], "uv": [18, 49]},
{"origin": [-3.43151, 2.83807, 1.08629], "size": [1, 1, 2], "pivot": [-0.43151, 3.83807, -2.91371], "rotation": [0, 0, 12.5], "uv": [34, 0]},
{"origin": [1.56849, 2.83807, 1.08629], "size": [1, 1, 2], "pivot": [-0.43151, 3.83807, -2.91371], "rotation": [0, 0, 12.5], "uv": [21, 22]}
]
},
{
"name": "Llowerlleg",
"parent": "Lleg",
"pivot": [-1.43151, 0.83807, -2.91371],
"cubes": [
{"origin": [-1.43151, -0.16193, 1.08629], "size": [2, 3, 2], "pivot": [-1.43151, 0.83807, -2.91371], "rotation": [0, 0, -15], "uv": [57, 12]}
]
},
{
"name": "Lfoot",
"parent": "Lleg",
"pivot": [0.56849, -1.16193, -2.91371],
"cubes": [
{"origin": [-2.43151, -0.16193, 1.08629], "size": [3, 1, 2], "uv": [0, 9]}
]
}
]
}
]
}

View File

@@ -0,0 +1,4 @@
{
"item.esa.esa_crystal": "Esa Crystal",
"item.esa.esa_golem_spawn_egg": "Esa Golem Spawn Egg"
}

View File

@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "esa:item/esa_crystal"
}
}

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

View File

@@ -0,0 +1,11 @@
{
"required": true,
"package": "studio.meaningless.esa.mixin",
"compatibilityLevel": "JAVA_17",
"mixins": [
"ExampleMixin"
],
"injectors": {
"defaultRequire": 1
}
}

View File

@@ -0,0 +1,41 @@
{
"schemaVersion": 1,
"id": "esa",
"version": "${version}",
"name": "Esa",
"description": "This is an example description! Tell everyone what your mod is about!",
"authors": [
"Me!"
],
"contact": {
"homepage": "https://fabricmc.net/",
"sources": "https://github.com/FabricMC/fabric-example-mod"
},
"license": "MIT",
"icon": "assets/esa/icon.png",
"environment": "*",
"entrypoints": {
"main": [
"studio.meaningless.esa.Esa"
],
"client": [
"studio.meaningless.esa.EsaClient"
],
"fabric-datagen": [
"studio.meaningless.esa.EsaModDataGenerator"
]
},
"mixins": [
"esa.mixins.json"
],
"depends": {
"fabricloader": ">=0.14.21",
"minecraft": "~1.20.1",
"java": ">=17",
"fabric-api": "*",
"geckolib": ">=4.2"
},
"suggests": {
"another-mod": "*"
}
}