Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

SOLVED [1.17.1] Custom player layer not rendering.


UserMC123
 Share

Recommended Posts

I've made a custom layer for the player but its not showing in game.

Here is my model class

Spoiler

    public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(new ResourceLocation("test", "basic_suit"), "basic_suit");
    private final ModelPart LeftLeg;
    private final ModelPart RightLeg;
    private final ModelPart LeftArm;
    private final ModelPart RightArm;
    private final ModelPart Body;

    public BasicSuitModel(ModelPart root) {
        this.LeftLeg = root.getChild("left_leg");
        this.RightLeg = root.getChild("right_leg");
        this.LeftArm = root.getChild("left_arm");
        this.RightArm = root.getChild("right_arm");
        this.Body = root.getChild("body");
    }

    public static LayerDefinition createBodyLayer() {
        MeshDefinition meshdefinition = new MeshDefinition();
        PartDefinition partdefinition = meshdefinition.getRoot();

        PartDefinition LeftLeg = partdefinition.addOrReplaceChild("left_leg", CubeListBuilder.create().texOffs(0, 38).addBox(-3.0F, 0.0F, -3.0F, 6.0F, 12.0F, 6.0F, new CubeDeformation(0.0F)).texOffs(0, 48).addBox(-2.0F, 0.0F, -2.0F, 4.0F, 12.0F, 4.0F, new CubeDeformation(0.25F)), PartPose.offset(1.9F, 12.0F, 0.0F));

        PartDefinition RightLeg = partdefinition.addOrReplaceChild("right_leg", CubeListBuilder.create().texOffs(32, 0).addBox(-3.0F, 0.0F, -3.0F, 6.0F, 12.0F, 6.0F, new CubeDeformation(0.0F)).texOffs(0, 32).addBox(-2.0F, 0.0F, -2.0F, 4.0F, 12.0F, 4.0F, new CubeDeformation(0.25F)), PartPose.offset(-1.9F, 12.0F, 0.0F));

        PartDefinition LeftArm = partdefinition.addOrReplaceChild("left_arm", CubeListBuilder.create().texOffs(1, 19).addBox(-1.0F, -2.0F, -3.0F, 5.0F, 12.0F, 6.0F, new CubeDeformation(0.0F)).texOffs(48, 48).addBox(-1.0F, -2.0F, -2.0F, 3.0F, 12.0F, 4.0F, new CubeDeformation(0.25F)), PartPose.offsetAndRotation(5.0F, 2.0F, 0.0F, -0.7854F, 0.0F, 0.0F));

        PartDefinition RightArm = partdefinition.addOrReplaceChild("right_arm", CubeListBuilder.create().texOffs(24, 19).addBox(-3.0F, -2.0F, -3.0F, 5.0F, 13.0F, 6.0F, new CubeDeformation(0.0F)).texOffs(40, 32).addBox(-3.0F, -2.0F, -2.0F, 4.0F, 12.0F, 4.0F, new CubeDeformation(0.25F)), PartPose.offsetAndRotation(-5.0F, 2.0F, 0.0F, -0.7854F, 0.0F, 0.0F));

        PartDefinition Body = partdefinition.addOrReplaceChild("body", CubeListBuilder.create().texOffs(0, 0).addBox(-5.0F, 0.0F, -3.0F, 10.0F, 12.0F, 6.0F, new CubeDeformation(0.0F)).texOffs(16, 32).addBox(-4.0F, 0.0F, -2.0F, 8.0F, 12.0F, 4.0F, new CubeDeformation(0.25F)), PartPose.offset(0.0F, 0.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 buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) {
        LeftLeg.render(poseStack, buffer, packedLight, packedOverlay);
        RightLeg.render(poseStack, buffer, packedLight, packedOverlay);
        LeftArm.render(poseStack, buffer, packedLight, packedOverlay);
        RightArm.render(poseStack, buffer, packedLight, packedOverlay);
        Body.render(poseStack, buffer, packedLight, packedOverlay);
    }

    @Override
    protected Iterable<ModelPart> headParts() {
        return null;
    }
    protected Iterable<ModelPart> bodyParts() {
        return ImmutableList.of(this.Body);
    }

Here is my Layer class

Spoiler

 private static final ResourceLocation SUIT_TEX = new ResourceLocation("test","textures/entity/suits/basic/suit_main.png");
    private final BasicSuitModel<T> suitModel;

    public BasicSuitModelRenderer(RenderLayerParent<T, M> parent, EntityModelSet modelSet) {
        super(parent);
        this.suitModel = new BasicSuitModel<>(modelSet.bakeLayer(BasicSuitModel.LAYER_LOCATION));
    }

    @Override
    public void render(PoseStack p_116951_, MultiBufferSource p_116952_, int p_116953_, T p_116954_, float p_116955_, float p_116956_, float p_116957_, float p_116958_, float p_116959_, float p_116960_) {
        ItemStack itemstack = p_116954_.getItemBySlot(EquipmentSlot.CHEST);
        if (true) {
            ResourceLocation resourcelocation = getTexture( p_116954_);
            p_116951_.pushPose();
            p_116951_.translate(0.0D, 0.0D, 0.125D);
            this.getParentModel().copyPropertiesTo(this.suitModel);
            this.suitModel.setupAnim(p_116954_, p_116955_, p_116956_, p_116958_, p_116959_, p_116960_);
            VertexConsumer vertexconsumer = ItemRenderer.getArmorFoilBuffer(p_116952_, RenderType.armorCutoutNoCull(resourcelocation), false, itemstack.hasFoil());
            this.suitModel.renderToBuffer(p_116951_, vertexconsumer, p_116953_, OverlayTexture.NO_OVERLAY, 1.0F, 1.0F, 1.0F, 1.0F);
            p_116951_.popPose();
        }
    }

    public ResourceLocation getTexture(T entity) {
        return SUIT_TEX;
    }

And the registry in the main class 

Spoiler

    @SubscribeEvent(priority = EventPriority.LOW)
    public void renderPlayer(final EntityRenderersEvent.AddLayers event) {
        LivingEntityRenderer<Player, PlayerModel<Player>> renderer = event.getRenderer(EntityType.PLAYER);
        BasicSuitModelRenderer<Player, PlayerModel<Player>> layer = new BasicSuitModelRenderer<>(renderer, event.getEntityModels());
        renderer.addLayer(layer);
    }
    @SubscribeEvent
    public void registerLayers(final EntityRenderersEvent.RegisterLayerDefinitions event){
        event.registerLayerDefinition(BasicSuitModel.LAYER_LOCATION, BasicSuitModel::createBodyLayer);
    }

 

What have I done wrong?

Link to comment
Share on other sites

Update: I found one issue. I was not registering to ModEventBus but now I get:

Spoiler

Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.client.renderer.entity.LivingEntityRenderer.addLayer(net.minecraft.client.renderer.entity.layers.RenderLayer)" because "renderer" is null

What do I do about this?

Link to comment
Share on other sites

Ok so I need getParentModel().copyPropertiesTo(suitModel);

And I ran to game to see no change.

 

looking back at the armor layer code I saw the copyPropertiesTo was in HumanoidModel

So I made my model extend HumanoidModel instead of AgeableListModel and I added:

Spoiler

    @Override
    protected Iterable<ModelPart> headParts() {
        return super.headParts();
    }

    @Override
    protected Iterable<ModelPart> bodyParts() {
        return super.bodyParts();
    }

but now the game won't run and I'm getting

Description: Rendering overlay

net.minecraftforge.fml.ModLoadingException: TestMod (test) encountered an error during the done event phase
§7java.util.NoSuchElementException: Can't find part head

 

What have I done wrong?

Link to comment
Share on other sites

I assume by the stacktrace you mean this:

Spoiler

---- Minecraft Crash Report ----
// Shall we play a game?

Time: 11/29/21, 9:07 AM
Description: Rendering entity in world

java.util.NoSuchElementException: Can't find part LeftLeg
    at net.minecraft.client.model.geom.ModelPart.getChild(ModelPart.java:60) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:runtimedistcleaner:A}
    at com.Twins730.SolarisSpace.client.Entity.Model.Suit.Basic.BasicSuitModel.<init>(BasicSuitModel.java:30) ~[%2379!:?] {re:classloading}
    at com.Twins730.SolarisSpace.client.Entity.Renderer.Suits.Basic.BasicSuitModelRenderer.render(BasicSuitModelRenderer.java:28) ~[%2379!:?] {re:classloading}
    at com.Twins730.SolarisSpace.client.Entity.Renderer.Suits.Basic.BasicSuitModelRenderer.render(BasicSuitModelRenderer.java:16) ~[%2379!:?] {re:classloading}
    at net.minecraft.client.renderer.entity.LivingEntityRenderer.render(LivingEntityRenderer.java:126) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.entity.player.PlayerRenderer.render(PlayerRenderer.java:62) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.entity.player.PlayerRenderer.render(PlayerRenderer.java:43) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.entity.EntityRenderDispatcher.render(EntityRenderDispatcher.java:129) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.LevelRenderer.renderEntity(LevelRenderer.java:1280) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.LevelRenderer.renderLevel(LevelRenderer.java:1076) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.GameRenderer.renderLevel(GameRenderer.java:1050) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:830) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1039) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.run(Minecraft.java:659) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:186) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:runtimedistcleaner:A}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {}
    at net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:38) ~[fmlloader-1.17.1-37.0.126.jar%233!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?] {}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.client.model.geom.ModelPart.getChild(ModelPart.java:60) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:runtimedistcleaner:A}
    at com.Twins730.SolarisSpace.client.Entity.Model.Suit.Basic.BasicSuitModel.<init>(BasicSuitModel.java:30) ~[%2379!:?] {re:classloading}
    at com.Twins730.SolarisSpace.client.Entity.Renderer.Suits.Basic.BasicSuitModelRenderer.render(BasicSuitModelRenderer.java:28) ~[%2379!:?] {re:classloading}
    at com.Twins730.SolarisSpace.client.Entity.Renderer.Suits.Basic.BasicSuitModelRenderer.render(BasicSuitModelRenderer.java:16) ~[%2379!:?] {re:classloading}
    at net.minecraft.client.renderer.entity.LivingEntityRenderer.render(LivingEntityRenderer.java:126) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.entity.player.PlayerRenderer.render(PlayerRenderer.java:62) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.entity.player.PlayerRenderer.render(PlayerRenderer.java:43) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:runtimedistcleaner:A}
-- Entity being rendered --
Details:
    Entity Type: minecraft:player (net.minecraft.client.player.LocalPlayer)
    Entity ID: 199
    Entity Name: Dev
    Entity's Exact location: 300.65, 75.00, 104.99
    Entity's Block location: World: (300,75,104), Section: (at 12,11,8 in 18,4,6; chunk contains blocks 288,0,96 to 303,255,111), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Entity's Momentum: 0.00, -0.08, 0.00
    Entity's Passengers: []
    Entity's Vehicle: null

-- Renderer details --
Details:
    Assigned renderer: net.minecraft.client.renderer.entity.player.PlayerRenderer@387c5d79
    Location: 0.83,-5.49,-0.57 - World: (0,-6,-1), Section: (at 0,10,15 in 0,-1,-1; chunk contains blocks 0,0,-16 to 15,255,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    Rotation: -124.3446
    Delta: 0.54000616
Stacktrace:
    at net.minecraft.client.renderer.entity.EntityRenderDispatcher.render(EntityRenderDispatcher.java:129) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.LevelRenderer.renderEntity(LevelRenderer.java:1280) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.LevelRenderer.renderLevel(LevelRenderer.java:1076) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.GameRenderer.renderLevel(GameRenderer.java:1050) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}


-- Affected level --
Details:
    All players: 1 total; [LocalPlayer['Dev'/199, l='ClientLevel', x=300.65, y=75.00, z=104.99]]
    Chunk stats: 441, 236
    Level dimension: minecraft:overworld
    Level spawn location: World: (32,66,-64), Section: (at 0,2,0 in 2,4,-4; chunk contains blocks 32,0,-64 to 47,255,-49), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    Level time: 85016 game time, 20965 day time
    Server brand: forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.ClientLevel.fillReportDetails(ClientLevel.java:364) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.fillReport(Minecraft.java:2245) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.run(Minecraft.java:676) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:186) ~[forge-1.17.1-37.0.126_mapped_official_1.17.1-recomp.jar%2375!:?] {re:classloading,pl:runtimedistcleaner:A}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {}
    at net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:38) ~[fmlloader-1.17.1-37.0.126.jar%233!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%238!:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?] {}


 

If I am incorrect just tell me.

Also I have made changes to my code.

Link to comment
Share on other sites

Ok Here is the Updated Code:

The Model Class:

Spoiler

public class BasicSuitModel extends HumanoidModel<AbstractClientPlayer> {

    public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(new ResourceLocation(SolarisSpace.MOD_ID, "basic_suit"), "basic_suit_wearable");
    private final ModelPart LeftLeg;
    private final ModelPart RightLeg;
    private final ModelPart LeftArm;
    private final ModelPart RightArm;
    private final ModelPart Body;

    public BasicSuitModel(ModelPart p_170821_) {
        super(p_170821_);
        this.LeftLeg = p_170821_.getChild("LeftLeg");
        this.RightLeg = p_170821_.getChild("RightLeg");
        this.LeftArm = p_170821_.getChild("LeftArm");
        this.RightArm = p_170821_.getChild("RightArm");
        this.Body = p_170821_.getChild("Body");
    }


    public void setupAngles(PlayerModel model) {
        this.Body.copyFrom(model.body);
        this.LeftArm.copyFrom(model.leftArm);
        this.RightArm.copyFrom(model.rightArm);
        this.LeftLeg.copyFrom(model.leftLeg);
        this.RightLeg.copyFrom(model.rightLeg);
    }

    public static LayerDefinition createBodyLayer() {
        MeshDefinition meshdefinition = new MeshDefinition();
        PartDefinition partdefinition = meshdefinition.getRoot();

        CubeDeformation cube = CubeDeformation.NONE;
        meshdefinition = HumanoidModel.createMesh(cube, 0.0F);
        partdefinition = meshdefinition.getRoot().getChild("body");

        PartDefinition LeftLeg = partdefinition.addOrReplaceChild("LeftLeg", CubeListBuilder.create().texOffs(0, 38).addBox(-3.0F, 0.0F, -3.0F, 6.0F, 12.0F, 6.0F, new CubeDeformation(0.0F)).texOffs(0, 48).addBox(-2.0F, 0.0F, -2.0F, 4.0F, 12.0F, 4.0F, new CubeDeformation(0.25F)), PartPose.offset(1.9F, 12.0F, 0.0F));
        PartDefinition RightLeg = partdefinition.addOrReplaceChild("RightLeg", CubeListBuilder.create().texOffs(32, 0).addBox(-3.0F, 0.0F, -3.0F, 6.0F, 12.0F, 6.0F, new CubeDeformation(0.0F)).texOffs(0, 32).addBox(-2.0F, 0.0F, -2.0F, 4.0F, 12.0F, 4.0F, new CubeDeformation(0.25F)), PartPose.offset(-1.9F, 12.0F, 0.0F));
        PartDefinition LeftArm = partdefinition.addOrReplaceChild("LeftArm", CubeListBuilder.create().texOffs(0, 19).addBox(-1.0F, -3.0F, -3.0F, 6.0F, 13.0F, 6.0F, new CubeDeformation(0.0F)).texOffs(48, 48).addBox(-1.0F, -2.0F, -2.0F, 4.0F, 12.0F, 4.0F, new CubeDeformation(0.25F)), PartPose.offset(5.0F, 2.0F, 0.0F));
        PartDefinition RightArm = partdefinition.addOrReplaceChild("RightArm", CubeListBuilder.create().texOffs(22, 19).addBox(-4.0F, -3.0F, -3.0F, 6.0F, 13.0F, 6.0F, new CubeDeformation(0.0F)).texOffs(40, 32).addBox(-3.0F, -2.0F, -2.0F, 4.0F, 12.0F, 4.0F, new CubeDeformation(0.25F)), PartPose.offset(-5.0F, 2.0F, 0.0F));
        PartDefinition Body = partdefinition.addOrReplaceChild("Body", CubeListBuilder.create().texOffs(0, 0).addBox(-5.0F, -1.0F, -3.0F, 10.0F, 13.0F, 6.0F, new CubeDeformation(0.0F)).texOffs(16, 32).addBox(-4.0F, 0.0F, -2.0F, 8.0F, 12.0F, 4.0F, new CubeDeformation(0.25F)), PartPose.offset(0.0F, 0.0F, 0.0F));

        return LayerDefinition.create(meshdefinition, 64, 64);
    }

    @Override
    public void renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) {
        LeftLeg.render(poseStack, buffer, packedLight, packedOverlay);
        RightLeg.render(poseStack, buffer, packedLight, packedOverlay);
        LeftArm.render(poseStack, buffer, packedLight, packedOverlay);
        RightArm.render(poseStack, buffer, packedLight, packedOverlay);
        Body.render(poseStack, buffer, packedLight, packedOverlay);
    }

    @Override
    protected Iterable<ModelPart> headParts() {
        return ImmutableList.of(this.head);
    }

    @Override
    protected Iterable<ModelPart> bodyParts() {
        return ImmutableList.of(this.body, this.rightArm, this.leftArm, this.rightLeg, this.leftLeg, this.hat);
    }
}

My Renderer class:

Spoiler

public class BasicSuitModelRenderer extends RenderLayer<AbstractClientPlayer, PlayerModel<AbstractClientPlayer>> {

    private static final ResourceLocation SUIT_TEX = new ResourceLocation(SolarisSpace.MOD_ID,"textures/entity/suits/basic/suit_main.png");
    private BasicSuitModel suitModel;

    public BasicSuitModelRenderer(RenderLayerParent<AbstractClientPlayer, PlayerModel<AbstractClientPlayer>> renderer) {
        super(renderer);
    }


    @Override
    public void render(PoseStack poseStack, MultiBufferSource p_116952_, int p_116953_, AbstractClientPlayer p_116954_, float p_116955_, float p_116956_, float p_116957_, float p_116958_, float p_116959_, float p_116960_) {
        suitModel = new BasicSuitModel(BasicSuitModel.createBodyLayer().bakeRoot());
        if (true) {
            poseStack.pushPose();
            ((PlayerModel)this.getParentModel()).copyPropertiesTo(this.suitModel);
            this.suitModel.setupAngles((PlayerModel)this.getParentModel());
            poseStack.translate(0.0D, 0.0D, 0.0D);
            this.suitModel.setupAnim(p_116954_, p_116955_, p_116956_, p_116958_, p_116959_, p_116960_);
            VertexConsumer vertexConsumer = p_116952_.getBuffer(RenderType.entityCutoutNoCull(SUIT_TEX));
            this.suitModel.renderToBuffer(poseStack, vertexConsumer, p_116953_, OverlayTexture.NO_OVERLAY, 1,1,1, 1.0F);
            poseStack.popPose();
        }
    }

}

And the updated Main Class:

Spoiler


    @SubscribeEvent
    public void layerDefinitions(EntityRenderersEvent.RegisterLayerDefinitions event) {
      event.registerLayerDefinition(BasicSuitModel.LAYER_LOCATION, () -> {
            return BasicSuitModel.createBodyLayer();
        });
    }

    @SubscribeEvent
    public void addLayers(EntityRenderersEvent.AddLayers evt) {
        addPlayerLayer(evt, "default");
        addPlayerLayer(evt, "slim");
    }

    private void addPlayerLayer(EntityRenderersEvent.AddLayers evt, String skin) {
        EntityRenderer<? extends Player> renderer = evt.getSkin(skin);
        if (renderer instanceof LivingEntityRenderer) {
            LivingEntityRenderer livingRenderer = (LivingEntityRenderer)renderer;
            livingRenderer.addLayer(new BasicSuitModelRenderer(livingRenderer));
        }

    }

Also, I realized that the Main Class Events shouldn't be static and now the game runs but the model isn't rendering.

Link to comment
Share on other sites

  • 3 weeks later...
  • UserMC123 changed the title to SOLVED [1.17.1] Custom player layer not rendering.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • when i get to the launcher and click play it crashes with error code 1 and no other info, these are the latest logs, please help [22:35:46] [main/INFO]: ModLauncher running: args [--username, Godlydestroyer4, --version, forge-37.1.1, --gameDir, C:\Users\Chris\curseforge\minecraft\Instances\E.E, --assetsDir, C:\Users\Chris\curseforge\minecraft\Install\assets, --assetIndex, 1.17, --uuid, 894d4412c9eb4c65b641e9830c8384db, --accessToken, ????????, --userType, mojang, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 37.1.1, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038] [22:35:46] [main/INFO]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 16.0.1 by Microsoft [22:35:46] [main/INFO]: OptiFineTransformationService.onLoad [22:35:46] [main/INFO]: OptiFine ZIP file URL: union:/C:/Users/Chris/curseforge/minecraft/Instances/E.E/mods/OptiFine_1.17.1_HD_U_H1_MOD.jar%2353! [22:35:46] [main/INFO]: OptiFine ZIP file: C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods\OptiFine_1.17.1_HD_U_H1_MOD.jar [22:35:46] [main/INFO]: Target.PRE_CLASS is available [22:35:46] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=union:/C:/Users/Chris/curseforge/minecraft/Install/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar%2319! Service=ModLauncher Env=CLIENT [22:35:46] [main/INFO]: OptiFineTransformationService.initialize [22:35:46] [main/INFO]: Found mod file appleskin-forge-mc1.17.1-2.2.0.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file architectury-2.9.3.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file citadel-1.9.5-1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file curios-forge-1.17.1-5.0.2.7.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file durabilitytooltip-1.0.1-mc1.17.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file EnchantmentDescriptions-Forge-1.17.1-8.17.2.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file EpicFightMod-17.0.6.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file Iceberg-1.17.1-1.0.27.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file ironchest-1.17.1-12.0.2.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file ironfurnaces-1.17.1-2.8.4.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file jei-1.17.1-8.3.1.62.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file journeymap-1.17.1-5.7.3.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file OPChanter-1.17.1-1.1.0.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file OreExcavation-1.9.158.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file Placebo-1.17.1-5.0.2.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file Snow_Pig-1.17.1-1.1.1.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file structure_gel-1.17.1-2.0.1.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file supermartijn642configlib-1.0.9-mc1.17.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file swingthroughgrass-1.17.1-1.6.0.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file swordsoftheend-0.0.12b-1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file the-conjurer-1.17.1-1.1.0.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file ToastControl-1.17.1-5.0.0.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file twilightforest-1.17.1-4.0.875-universal.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file village-employment-1.17.1-1.5.0.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file wandering-bag-1.17.1-1.0.3.jar of type MOD with locator {mods folder locator at C:\Users\Chris\curseforge\minecraft\Instances\E.E\mods} [22:35:46] [main/INFO]: Found mod file fmlcore-1.17.1-37.1.1.jar of type LIBRARY with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@42deb43a [22:35:46] [main/INFO]: Found mod file javafmllanguage-1.17.1-37.1.1.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@42deb43a [22:35:46] [main/INFO]: Found mod file mclanguage-1.17.1-37.1.1.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@42deb43a [22:35:46] [main/INFO]: Found mod file client-1.17.1-20210706.113038-srg.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@42deb43a [22:35:46] [main/INFO]: Found mod file forge-1.17.1-37.1.1-universal.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@42deb43a [22:35:47] [main/INFO]: OptiFineTransformationService.transformers [22:35:47] [main/INFO]: Targets: 336 [22:35:48] [main/INFO]: additionalClassesLocator: [optifine., net.optifine.] [22:35:48] [main/INFO]: Launching target 'forgeclient' with arguments [--version, forge-37.1.1, --gameDir, C:\Users\Chris\curseforge\minecraft\Instances\E.E, --assetsDir, C:\Users\Chris\curseforge\minecraft\Install\assets, --uuid, 894d4412c9eb4c65b641e9830c8384db, --username, Godlydestroyer4, --assetIndex, 1.17, --accessToken, ????????, --userType, mojang, --versionType, release, --width, 1024, --height, 768] [22:35:48] [main/WARN]: Reference map 'epicfight.mixins.refmap.json' for epicfight.mixins.json could not be read. If this is a development environment you can ignore this message [22:35:50] [main/WARN]: @Final field f_96540_:Ljava/util/List; in iceberg.mixins.json:ScreenMixin should be final [22:35:50] [main/INFO]: [OptiFine] (Reflector) Field not found: World.tileEntitiesToBeRemoved  
    • I can't seem to figure out how to send it. If there is a way, do let me know!
    • I have spent weeks on a minecraft world on Tlauncher and using ForgeOptifine 1.18.1 and now it doesnt work. The Last thing I remember is that I had click Opened to Lan and went creative mode, and then exited. Since then whenever I try to go back into my world it just says reading data then goes blank and loads forever at which point I need to close it, here is the error I get: ---- Minecraft Crash Report ---- // This doesn't make any sense! Time: 26/01/2022, 01:44 Description: Exception in server tick loop net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingException: Failed loading config file car-server.toml of type SERVER for modid car     at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:61) ~[fmlcore-1.18.1-39.0.10.jar%2399!:?] {}     at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:74) ~[fmlcore-1.18.1-39.0.10.jar%2399!:?] {}     at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:64) ~[fmlcore-1.18.1-39.0.10.jar%2399!:?] {}     at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:computing_frames,re:mixin}     at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131) ~[?:?] {}     at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:64) ~[fmlcore-1.18.1-39.0.10.jar%2399!:?] {}     at net.minecraftforge.server.ServerLifecycleHooks.handleServerAboutToStart(ServerLifecycleHooks.java:94) ~[forge-1.18.1-39.0.10-universal.jar%23102!:?] {re:classloading}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.optifine.reflect.Reflector.callBoolean(Reflector.java:702) ~[OptiFine-1.18.1_HD_U_H5_pre2.jar%23103!:?] {re:classloading}     at net.minecraft.client.server.IntegratedServer.m_7038_(IntegratedServer.java:83) ~[client-1.18.1-20211210.034407-srg.jar%2398!:?] {re:classloading,xf:OptiFine:default}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:644) ~[client-1.18.1-20211210.034407-srg.jar%2398!:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:258) ~[client-1.18.1-20211210.034407-srg.jar%2398!:?] {re:classloading,pl:accesstransformer:B}     at java.lang.Thread.run(Thread.java:833) [?:?] {} Caused by: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available     at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22) ~[core-3.6.4.jar%237!:?] {}     at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36) ~[core-3.6.4.jar%237!:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49) ~[core-3.6.4.jar%237!:?] {}     at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123) ~[core-3.6.4.jar%237!:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166) ~[toml-3.6.4.jar%238!:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[toml-3.6.4.jar%238!:?] {}     at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[toml-3.6.4.jar%238!:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[toml-3.6.4.jar%238!:?] {}     at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.4.jar%238!:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.4.jar%237!:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.4.jar%237!:?] {}     at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.4.jar%237!:?] {}     at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.4.jar%237!:?] {}     at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.4.jar%237!:?] {}     at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:57) ~[fmlcore-1.18.1-39.0.10.jar%2399!:?] {}     ... 15 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.18.1     Minecraft Version ID: 1.18.1     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.1, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 2804047024 bytes (2674 MiB) / 4294967296 bytes (4096 MiB) up to 4294967296 bytes (4096 MiB)     CPUs: 8     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz     Identifier: Intel64 Family 6 Model 158 Stepping 13     Microarchitecture: Coffee Lake     Frequency (GHz): 3.00     Number of physical packages: 1     Number of physical CPUs: 8     Number of logical CPUs: 8     Graphics card #0 name: NVIDIA GeForce RTX 2070 SUPER     Graphics card #0 vendor: NVIDIA (0x10de)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x1e84     Graphics card #0 versionInfo: DriverVersion=30.0.14.9676     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 2.40     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 8192.00     Memory slot #1 clockSpeed (GHz): 2.40     Memory slot #1 type: DDR4     Memory slot #2 capacity (MB): 8192.00     Memory slot #2 clockSpeed (GHz): 2.40     Memory slot #2 type: DDR4     Memory slot #3 capacity (MB): 8192.00     Memory slot #3 clockSpeed (GHz): 2.40     Memory slot #3 type: DDR4     Virtual memory max (MB): 44990.47     Virtual memory used (MB): 24471.29     Swap memory total (MB): 12288.00     Swap memory used (MB): 86.63     JVM Flags: 10 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmn128M -Xmx4096M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Server Running: true     Player Count: 0 / 8; []     Data Packs: vanilla, mod:forge, mod:tlskincape (incompatible), mod:repurposed_structures, mod:morevillagers (incompatible), mod:ambientsounds (incompatible), mod:morevanillalib, mod:ironfurnaces, mod:creativecore, mod:additionallanterns, mod:jei (incompatible), mod:supermartijn642corelib, mod:car, mod:recall (incompatible), mod:xaerominimap, mod:gravestone (incompatible), mod:tdnf (incompatible), mod:securitycraft, mod:autoreglib (incompatible), mod:naturescompass (incompatible), mod:additionalbars (incompatible), mod:libx, mod:vanillahammers, mod:gobber2 (incompatible), mod:sophisticatedbackpacks (incompatible), mod:mcjtylib (incompatible), mod:rftoolsbase (incompatible), mod:rftoolsutility (incompatible), mod:rftoolscontrol (incompatible), mod:newwalls, mod:cfm (incompatible), mod:mcwdoors, mod:rftoolspower (incompatible), mod:quark (incompatible), mod:dramaticdoors, mod:chalk (incompatible), mod:fasterladderclimbing, mod:refinedstorage     Type: Integrated Server (map_client.txt)     Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'     OptiFine Version: OptiFine_1.18.1_HD_U_H5_pre2     OptiFine Build: 20211216-185314     Render Distance Chunks: 8     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: SEUS-Renewed-v1.0.1.zip     OpenGlVersion: 3.2.0 NVIDIA 496.76     OpenGlRenderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2     OpenGlVendor: NVIDIA Corporation     CpuCount: 8     ModLauncher: 9.0.7+91+master.8569cdf     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:           mixin PLUGINSERVICE           eventbus PLUGINSERVICE           object_holder_definalize PLUGINSERVICE           runtime_enum_extender PLUGINSERVICE           capability_token_subclass PLUGINSERVICE           accesstransformer PLUGINSERVICE           runtimedistcleaner PLUGINSERVICE           mixin TRANSFORMATIONSERVICE           OptiFine TRANSFORMATIONSERVICE           fml TRANSFORMATIONSERVICE      FML Language Providers:          minecraft@1.0         javafml@null     Mod List:          client-1.18.1-20211210.034407-srg.jar             |Minecraft                     |minecraft                     |1.18.1              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         repurposed_structures_forge-4.1.0+1.18.1.jar      |Repurposed Structures         |repurposed_structures         |4.1.0+1.18.1        |DONE      |Manifest: NOSIGNATURE         morevillagers-FORGE-1.18.1-3.1.1.jar              |More Villagers                |morevillagers                 |3.1.1               |DONE      |Manifest: NOSIGNATURE         AmbientSounds_v5.0.2_mc1.18.1.jar                 |Ambient Sounds                |ambientsounds                 |3.0.3               |DONE      |Manifest: NOSIGNATURE         MoreVanillaLib-1.18.1-3.0.3.jar                   |MoreVanillaLib                |morevanillalib                |1.18.1-3.0.3        |DONE      |Manifest: NOSIGNATURE         ironfurnaces-1.18.1-3.1.3.jar                     |Iron Furnaces                 |ironfurnaces                  |3.1.3               |DONE      |Manifest: NOSIGNATURE         CreativeCore_v2.4.1_mc1.18.1.jar                  |CreativeCore                  |creativecore                  |2.4.0               |DONE      |Manifest: NOSIGNATURE         additionallanterns-1.0.0-mc1.18.jar               |Additional Lanterns           |additionallanterns            |1.0.0               |DONE      |Manifest: NOSIGNATURE         jei-1.18.1-9.1.2.61.jar                           |Just Enough Items             |jei                           |9.1.2.61            |DONE      |Manifest: NOSIGNATURE         supermartijn642corelib-1.0.16-mc1.18.jar          |SuperMartijn642's Core Lib    |supermartijn642corelib        |1.0.16              |DONE      |Manifest: NOSIGNATURE         car-1.18.1-1.0.0.jar                              |Ultimate Car Mod              |car                           |1.18.1-1.0.0        |DONE      |Manifest: NOSIGNATURE         recall-1.3.jar                                    |Recall                        |recall                        |1.3                 |DONE      |Manifest: NOSIGNATURE         Xaeros_Minimap_21.23.1_Forge_1.18.jar             |Xaero's Minimap               |xaerominimap                  |21.23.1             |DONE      |Manifest: NOSIGNATURE         gravestone-1.18.1-1.0.0.jar                       |Gravestone Mod                |gravestone                    |1.18.1-1.0.0        |DONE      |Manifest: NOSIGNATURE         tdnf-forge-mc118-3.0.173.jar                      |Trees Do Not Float            |tdnf                          |3.0.173             |DONE      |Manifest: NOSIGNATURE         Security-Craft-Mod-1.18.1.jar                     |SecurityCraft                 |securitycraft                 |1.9.0.2-beta1       |DONE      |Manifest: NOSIGNATURE         AutoRegLib-1.7-52.jar                             |AutoRegLib                    |autoreglib                    |1.7-52              |DONE      |Manifest: NOSIGNATURE         NaturesCompass-1.18.1-1.9.4-forge.jar             |Nature's Compass              |naturescompass                |1.18.1-1.9.4-forge  |DONE      |Manifest: NOSIGNATURE         1.18.1-additionalbars-2.3.0.jar                   |Additional Bars               |additionalbars                |2.3.0               |DONE      |Manifest: NOSIGNATURE         LibX-1.18.1-3.1.2.jar                             |LibX                          |libx                          |1.18.1-3.1.2        |DONE      |Manifest: NOSIGNATURE         Vanilla-Hammers-Mod-1.18.1.jar                    |Vanilla Hammers               |vanillahammers                |1.18.1-4.0.0        |DONE      |Manifest: NOSIGNATURE         Gobber2-Forge-1.18.1-2.6.11.jar                   |Gobber 2                      |gobber2                       |2.6.11              |DONE      |Manifest: NOSIGNATURE         sophisticatedbackpacks-1.18.1-3.15.1.505.jar      |Sophisticated Backpacks       |sophisticatedbackpacks        |1.18.1-3.15.1.505   |DONE      |Manifest: NOSIGNATURE         McJtyLib-1.18.1.jar                               |McJtyLib                      |mcjtylib                      |1.18-6.0.6          |DONE      |Manifest: NOSIGNATURE         RFTools-Base-Mod-1.18.1.jar                       |RFToolsBase                   |rftoolsbase                   |1.18-3.0.3          |DONE      |Manifest: NOSIGNATURE         RFTools-Utility-Mod-1.18.1.jar                    |RFToolsUtility                |rftoolsutility                |1.18-4.0.5          |DONE      |Manifest: NOSIGNATURE         RFTools-Control-Mod-1.18.1.jar                    |RFToolsControl                |rftoolscontrol                |1.18-5.0.1          |DONE      |Manifest: NOSIGNATURE         NewSlabsStairsWalls-1.18.1-2.0.1.jar              |New Slabs, Stairs & Walls     |newwalls                      |2.0.1               |DONE      |Manifest: NOSIGNATURE         MrCrayfishs-Furniture-Mod-1.18.1.jar              |MrCrayfish's Furniture Mod    |cfm                           |7.0.0-pre27         |DONE      |Manifest: NOSIGNATURE         Macaws-Doors-Mod-1.18.1.jar                       |Macaw's Doors                 |mcwdoors                      |1.0.5               |DONE      |Manifest: NOSIGNATURE         RFTools-Power-Mod-1.18.1.jar                      |RFToolsPower                  |rftoolspower                  |1.18-4.0.2          |DONE      |Manifest: NOSIGNATURE         forge-1.18.1-39.0.10-universal.jar                |Forge                         |forge                         |39.0.10             |DONE      |Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90         Quark-3.0-334.jar                                 |Quark                         |quark                         |3.0-334             |DONE      |Manifest: NOSIGNATURE         DramaticDoors-1.18.1-1.4.2.jar                    |Dramatic Doors                |dramaticdoors                 |1.18.1-1.4.2        |DONE      |Manifest: NOSIGNATURE         chalk-1.18.1-1.1.1.jar                            |Chalk                         |chalk                         |1.1.1               |DONE      |Manifest: NOSIGNATURE         tl_skin_cape_forge_1.18_1.18.1-1.23.jar           |TLSkinCape                    |tlskincape                    |1.23                |DONE      |Manifest: 19:f5:ce:44:81:0c:e4:22:05:5e:73:c5:a8:cd:de:f3:c8:cf:a9:b3:01:70:40:a0:ee:2d:50:7a:1c:3d:1c:8a         FasterLadderClimbing-1.18.1-0.2.3.jar             |Faster Ladder Climbing        |fasterladderclimbing          |0.2.3               |DONE      |Manifest: NOSIGNATURE         refinedstorage-1.10.0-beta.4.jar                  |Refined Storage               |refinedstorage                |1.10.0-beta.4       |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 1a2979cc-d057-4e24-afe6-b34ee3edd9fc     FML: 39.0     Forge: net.minecraftforge:39.0.10
    • i have reinstalled minecraft but this issue is still going on i have updated java, my normal minecraft runs just fine but when i try to launch forge it says it launched but there is no tab of minecraft even if i try to relaunch it says that it is already running 
    • thats exactly what i did, didnt work
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.