Jump to content

[1.15.2] With what function the «.render» function from Tabula was replaced in the 1.15.2?


DragonITA

Recommended Posts

Hi, I am using Tabula to make my model of my entity, but I still can't figure out what this function has been replaced with. Could someone tell me? P.S.: This function comes from the ModelRenderer, so the case I have now:

public class UnicornModel extends AgreableModel<UnicornEntity>{
  this.Body = new ModelRenderer(this, 0, 34);

  @Override
  public void func_225597_a_(UnicornEntity arg0, float arg1, float arg2, float arg3, float arg4, float arg5){
      this.Body.func_225597_a_(arg5);
      //this.Body.render();
  }
}

 

Edited by DragonITA

New in Modding? == Still learning!

Link to comment
Share on other sites

Use debugger and see what is null. I don't have a 1.15 dev environment, I am afraid I can't give much help. Also doesn't tabula set the rotation points for you? It should also add the boxes to your ModelRenderer.

 

This is what a full model looks like in 1.14:
https://github.com/arjolpanci/VanillaExtended/blob/master/src/main/java/teabx/vanillaextended/client/models/SkeletonKingModel.java

Edited by Cerandior
Link to comment
Share on other sites

@Cerandior Oh finally an answer! Thanks for your tips, but when I imported it from Tabula into my mod, I found this.body.render(f5) Then I looked at the parameters a bit and forgot them and I found that the function is now called func_225597_a_. I thought it would be the same for this.body.render. So I tried to search for the same name but I only find other functions, not the render function. So I think the error is coming from this place, I am sure of it. But unfortunately from the 1.14.4 to the 1.15.2 a lot has changed, so I don't think the link really helps me. Example:

    @Override
    public void render(SkeletonKing entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale) {
        this.torso.render(scale *1.5F);
        this.crown_rear.render(scale *1.5F);
        this.left_leg.render(scale *1.5F);
        this.right_arm.render(scale *1.5F);
        this.crown_jewel_l.render(scale *1.5F);
        this.crown_left.render(scale *1.5F);
        this.crown_jewel_m.render(scale *1.5F);
        this.crown_front.render(scale *1.5F);
        this.left_arm.render(scale *1.5F);
        this.head.render(scale *1.5F);
        this.crown_jewel_r.render(scale *1.5F);
        this.crown_right.render(scale *1.5F);
        this.right_leg.render(scale *1.5F);
    }

 this.torso.render(), i dont find the .render() function. This is my question: what is the new name? I tried all functions: the func_228300_a_ to the function func_228300_a_, but the functions are all incompatibles with the parameters. I need help.

Edited by DragonITA

New in Modding? == Still learning!

Link to comment
Share on other sites

package mod.dragonita.fantasymod.client;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import mod.dragonita.fantasymod.Main;
import mod.dragonita.fantasymod.client.renders.UnicornEntityRender;
import mod.dragonita.fantasymod.init.ModEntityTypes;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.client.registry.RenderingRegistry;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

@EventBusSubscriber(modid = Main.MODID, bus = EventBusSubscriber.Bus.MOD, value = Dist.CLIENT)
public final class ClientModEventSubscriber {
	private static final Logger LOGGER = LogManager.getLogger(Main.MODID + " Client Mod Event Subscriber");
	
	/**
	 * We need to register our renderers on the client because rendering code does not exist on the server
	 * and trying to use it on a dedicated server will crash the game.
	 * <p>
	 * This method will be called by Forge when it is time for the mod to do its client-side setup
	 * This method will always be called after the Registry events.
	 * This means that all Blocks, Items, TileEntityTypes, etc. will all have been registered already
	 */

	@SubscribeEvent
	public static void onFMLClientSetupEvent(final FMLClientSetupEvent event) {
		// Register Entity Renderers
		RenderingRegistry.registerEntityRenderingHandler(ModEntityTypes.UNICORN.get(), UnicornEntityRender::new);
		LOGGER.debug("Registered Entity Renderers");

	} 

}
package mod.dragonita.fantasymod.client.models;

import mod.dragonita.fantasymod.entities.UnicornEntity;
import net.minecraft.client.renderer.entity.model.AgeableModel;
import net.minecraft.client.renderer.model.ModelRenderer;

/**
 * ModelUnicornTabula - Either Mojang or a mod author
 * Created using Tabula 7.1.0
 */
public class ModelUnicorn extends AgeableModel<UnicornEntity> {
    public ModelRenderer Body;
    public ModelRenderer NeckHair;
    public ModelRenderer BackLeftLeg1;
    public ModelRenderer BackRightLeg1;
    public ModelRenderer FrontRightLeg1;
    public ModelRenderer FrontLeftLeg1;
    public ModelRenderer LeftChest;
    public ModelRenderer RightChest;
    public ModelRenderer Tail1;
    public ModelRenderer Head;
    public ModelRenderer RightEar1;
    public ModelRenderer LeftEar1;
    public ModelRenderer Neck;
    public ModelRenderer LeftMouthSaddleLine;
    public ModelRenderer RightMouthSaddleLine;
    public ModelRenderer CenterSaddle;
    public ModelRenderer RightSaddleMouthButton;
    public ModelRenderer LeftSaddleMouthButton;
    public ModelRenderer BackLeftLeg2;
    public ModelRenderer BackLeftLeg3;
    public ModelRenderer BackRightLeg2;
    public ModelRenderer BackRightLeg3;
    public ModelRenderer FrontRightLeg2;
    public ModelRenderer FrontRightLeg3;
    public ModelRenderer FrontLeftLeg2;
    public ModelRenderer FrontLeftLeg3;
    public ModelRenderer Tail2;
    public ModelRenderer Tail3;
    public ModelRenderer UpperMouth;
    public ModelRenderer UnderMouth;
    public ModelRenderer Corn1;
    public ModelRenderer Corn2;
    public ModelRenderer Corn3;
    public ModelRenderer RightEar2;
    public ModelRenderer LeftEar2;
    public ModelRenderer BackUpperSaddlePart;
    public ModelRenderer FrontUpperSaddlePart;
    public ModelRenderer LeftSaddleLine;
    public ModelRenderer RightSaddleLine;
    public ModelRenderer LeftSaddlePart;
    public ModelRenderer RightSaddlePart;

    public ModelUnicorn() {
        this.textureWidth = 128;
        this.textureHeight = 128;
        this.Body = new ModelRenderer(this, 0, 34);
        this.Body.setRotationPoint(0.0F, 11.0F, 9.0F);
        this.Body.func_228301_a_(-5.0F, -8.0F, -19.0F, 10, 10, 24, 0.0F);
        this.LeftEar2 = new ModelRenderer(this, 0, 80);
        this.LeftEar2.setRotationPoint(0.0F, -0.2F, -0.1F);
        this.LeftEar2.func_228301_a_(0.45F, -12.0F, 4.0F, 2, 3, 1, 0.0F);
        this.setRotateAngle(LeftEar2, 0.0F, -0.13962634015954636F, -0.20943951023931953F);
        this.UpperMouth = new ModelRenderer(this, 24, 14);
        this.UpperMouth.setRotationPoint(0.0F, 0.02F, 0.02F);
        this.UpperMouth.func_228301_a_(-2.0F, -10.0F, -8.0F, 4, 3, 7, 0.0F);
        this.RightEar2 = new ModelRenderer(this, 0, 0);
        this.RightEar2.setRotationPoint(0.0F, -0.2F, -0.1F);
        this.RightEar2.func_228301_a_(-2.45F, -12.0F, 4.0F, 2, 3, 1, 0.0F);
        this.setRotateAngle(RightEar2, 0.0F, 0.13962634015954636F, 0.20943951023931953F);
        this.NeckHair = new ModelRenderer(this, 59, 0);
        this.NeckHair.setRotationPoint(0.0F, 4.0F, -10.0F);
        this.NeckHair.func_228301_a_(-1.0F, -11.5F, 5.0F, 2, 16, 4, 0.0F);
        this.setRotateAngle(NeckHair, 0.5235987755982988F, 0.0F, 0.0F);
        this.Tail1 = new ModelRenderer(this, 44, 0);
        this.Tail1.setRotationPoint(0.0F, -8.0F, 5.0F);
        this.Tail1.func_228301_a_(-1.0F, -1.0F, 0.0F, 2, 2, 3, 0.0F);
        this.setRotateAngle(Tail1, -1.3089969389957472F, 0.0F, 0.0F);
        this.Head = new ModelRenderer(this, 0, 0);
        this.Head.setRotationPoint(0.0F, -6.2F, -20.0F);
        this.Head.func_228301_a_(-2.5F, -10.0F, -1.5F, 5, 5, 7, 0.0F);
        this.setRotateAngle(Head, 0.5235987755982988F, 0.0F, 0.0F);
        this.Tail2 = new ModelRenderer(this, 39, 7);
        this.Tail2.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.Tail2.func_228301_a_(-1.5F, -2.0F, 3.0F, 3, 4, 7, 0.0F);
        this.RightSaddleLine = new ModelRenderer(this, 81, 0);
        this.RightSaddleLine.setRotationPoint(-5.0F, 0.2F, 0.0F);
        this.RightSaddleLine.func_228301_a_(-0.5F, 0.0F, -0.5F, 1, 6, 1, 0.0F);
        this.CenterSaddle = new ModelRenderer(this, 80, 0);
        this.CenterSaddle.setRotationPoint(0.0F, -9.0F, -7.0F);
        this.CenterSaddle.func_228301_a_(-5.0F, 0.0F, -3.0F, 10, 1, 8, 0.0F);
        this.FrontRightLeg1 = new ModelRenderer(this, 60, 29);
        this.FrontRightLeg1.setRotationPoint(-4.0F, -2.0F, -17.0F);
        this.FrontRightLeg1.func_228301_a_(-1.1F, -1.0F, -2.1F, 3, 8, 4, 0.0F);
        this.Neck = new ModelRenderer(this, 0, 12);
        this.Neck.setRotationPoint(0.0F, -6.5F, -19.0F);
        this.Neck.func_228301_a_(-2.05F, -9.8F, -2.0F, 4, 14, 8, 0.0F);
        this.setRotateAngle(Neck, 0.5235987755982988F, 0.0F, 0.0F);
        this.FrontUpperSaddlePart = new ModelRenderer(this, 106, 9);
        this.FrontUpperSaddlePart.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.FrontUpperSaddlePart.func_228301_a_(-1.5F, -1.0F, -3.0F, 3, 1, 2, 0.0F);
        this.UnderMouth = new ModelRenderer(this, 24, 24);
        this.UnderMouth.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.UnderMouth.func_228301_a_(-2.0F, -7.0F, -8.0F, 4, 2, 7, 0.0F);
        this.BackLeftLeg1 = new ModelRenderer(this, 78, 29);
        this.BackLeftLeg1.setRotationPoint(4.0F, -2.0F, 2.0F);
        this.BackLeftLeg1.func_228301_a_(-2.5F, -2.0F, -2.5F, 4, 9, 5, 0.0F);
        this.RightMouthSaddleLine = new ModelRenderer(this, 61, 5);
        this.RightMouthSaddleLine.setRotationPoint(0.0F, -7.0F, -19.0F);
        this.RightMouthSaddleLine.func_228301_a_(-2.6F, -6.0F, -6.0F, 0, 3, 16, 0.0F);
        this.Corn2 = new ModelRenderer(this, 15, 70);
        this.Corn2.setRotationPoint(0.5F, -2.0F, 0.5F);
        this.Corn2.func_228301_a_(0.0F, -1.0F, 0.0F, 2, 2, 2, 0.0F);
        this.BackLeftLeg3 = new ModelRenderer(this, 78, 51);
        this.BackLeftLeg3.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.BackLeftLeg3.func_228301_a_(-2.5F, 5.1F, -2.0F, 4, 3, 4, 0.0F);
        this.Corn1 = new ModelRenderer(this, 0, 70);
        this.Corn1.setRotationPoint(-1.5F, -11.0F, -5.5F);
        this.Corn1.func_228301_a_(0.0F, -1.0F, 0.0F, 3, 2, 3, 0.0F);
        this.LeftSaddlePart = new ModelRenderer(this, 75, 0);
        this.LeftSaddlePart.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.LeftSaddlePart.func_228301_a_(-0.5F, 6.0F, -1.0F, 1, 2, 2, 0.0F);
        this.LeftMouthSaddleLine = new ModelRenderer(this, 61, 5);
        this.LeftMouthSaddleLine.setRotationPoint(0.0F, -7.0F, -19.0F);
        this.LeftMouthSaddleLine.func_228301_a_(2.6F, -6.0F, -6.0F, 0, 3, 16, 0.0F);
        this.Tail3 = new ModelRenderer(this, 24, 3);
        this.Tail3.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.Tail3.func_228301_a_(-1.5F, -4.5F, 9.0F, 3, 4, 7, 0.0F);
        this.setRotateAngle(Tail3, -0.2617993877991494F, 0.0F, 0.0F);
        this.LeftChest = new ModelRenderer(this, 0, 47);
        this.LeftChest.setRotationPoint(8.0F, -8.0F, -1.0F);
        this.LeftChest.func_228301_a_(-3.0F, 0.0F, 0.0F, 8, 8, 3, 0.0F);
        this.setRotateAngle(LeftChest, 0.0F, -1.5707963267948966F, 0.0F);
        this.RightChest = new ModelRenderer(this, 0, 34);
        this.RightChest.setRotationPoint(-8.0F, -8.0F, 1.0F);
        this.RightChest.func_228301_a_(-3.0F, 0.0F, 0.0F, 8, 8, 3, 0.0F);
        this.setRotateAngle(RightChest, -0.0F, 1.5707963267948966F, 0.0F);
        this.BackRightLeg1 = new ModelRenderer(this, 96, 29);
        this.BackRightLeg1.setRotationPoint(-4.0F, -2.0F, 2.0F);
        this.BackRightLeg1.func_228301_a_(-1.5F, -2.0F, -2.5F, 4, 9, 5, 0.0F);
        this.BackRightLeg2 = new ModelRenderer(this, 96, 43);
        this.BackRightLeg2.setRotationPoint(0.0F, 7.0F, 0.0F);
        this.BackRightLeg2.func_228301_a_(-1.0F, 0.0F, -1.5F, 3, 5, 3, 0.0F);
        this.RightSaddleMouthButton = new ModelRenderer(this, 74, 13);
        this.RightSaddleMouthButton.setRotationPoint(-0.2F, -7.0F, -18.5F);
        this.RightSaddleMouthButton.func_228301_a_(-2.5F, -8.0F, -4.0F, 1, 2, 2, 0.0F);
        this.setRotateAngle(RightSaddleMouthButton, 0.5235987755982988F, 0.0F, 0.0F);
        this.BackRightLeg3 = new ModelRenderer(this, 96, 51);
        this.BackRightLeg3.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.BackRightLeg3.func_228301_a_(-1.5F, 5.1F, -2.0F, 4, 3, 4, 0.0F);
        this.LeftSaddleLine = new ModelRenderer(this, 71, 0);
        this.LeftSaddleLine.setRotationPoint(5.0F, 0.2F, 0.0F);
        this.LeftSaddleLine.func_228301_a_(-0.5F, 0.0F, -0.5F, 1, 6, 1, 0.0F);
        this.FrontLeftLeg1 = new ModelRenderer(this, 46, 29);
        this.FrontLeftLeg1.setRotationPoint(4.0F, -2.0F, -17.0F);
        this.FrontLeftLeg1.func_228301_a_(-1.9F, -1.0F, -2.1F, 3, 8, 4, 0.0F);
        this.BackLeftLeg2 = new ModelRenderer(this, 78, 43);
        this.BackLeftLeg2.setRotationPoint(0.0F, 7.0F, 0.0F);
        this.BackLeftLeg2.func_228301_a_(-2.0F, 0.0F, -1.5F, 3, 5, 3, 0.0F);
        this.FrontRightLeg2 = new ModelRenderer(this, 60, 41);
        this.FrontRightLeg2.setRotationPoint(0.0F, 7.0F, 0.0F);
        this.FrontRightLeg2.func_228301_a_(-1.1F, 0.0F, -1.6F, 3, 5, 3, 0.0F);
        this.FrontLeftLeg3 = new ModelRenderer(this, 44, 51);
        this.FrontLeftLeg3.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.FrontLeftLeg3.func_228301_a_(-2.4F, 5.1F, -2.1F, 4, 3, 4, 0.0F);
        this.BackUpperSaddlePart = new ModelRenderer(this, 80, 9);
        this.BackUpperSaddlePart.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.BackUpperSaddlePart.func_228301_a_(-4.0F, -1.0F, 3.0F, 8, 1, 2, 0.0F);
        this.LeftEar1 = new ModelRenderer(this, 10, 80);
        this.LeftEar1.setRotationPoint(0.0F, -7.0F, -19.0F);
        this.LeftEar1.func_228301_a_(-2.0F, -16.0F, 4.0F, 2, 7, 1, 0.0F);
        this.setRotateAngle(LeftEar1, 0.5235987755982988F, 0.0F, 0.2617993877991494F);
        this.Corn3 = new ModelRenderer(this, 30, 70);
        this.Corn3.setRotationPoint(0.5F, -2.0F, 0.5F);
        this.Corn3.func_228301_a_(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F);
        this.LeftSaddleMouthButton = new ModelRenderer(this, 74, 13);
        this.LeftSaddleMouthButton.setRotationPoint(0.2F, -7.0F, -18.5F);
        this.LeftSaddleMouthButton.func_228301_a_(1.5F, -8.0F, -4.0F, 1, 2, 2, 0.0F);
        this.setRotateAngle(LeftSaddleMouthButton, 0.5235987755982988F, 0.0F, 0.0F);
        this.FrontRightLeg3 = new ModelRenderer(this, 60, 51);
        this.FrontRightLeg3.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.FrontRightLeg3.func_228301_a_(-1.6F, 5.1F, -2.1F, 4, 3, 4, 0.0F);
        this.RightEar1 = new ModelRenderer(this, 0, 12);
        this.RightEar1.setRotationPoint(0.0F, -7.0F, -19.0F);
        this.RightEar1.func_228301_a_(0.0F, -16.0F, 4.0F, 2, 7, 1, 0.0F);
        this.setRotateAngle(RightEar1, 0.5235987755982988F, 0.0F, -0.2617993877991494F);
        this.FrontLeftLeg2 = new ModelRenderer(this, 44, 41);
        this.FrontLeftLeg2.setRotationPoint(0.0F, 7.0F, 0.0F);
        this.FrontLeftLeg2.func_228301_a_(-1.9F, 0.0F, -1.6F, 3, 5, 3, 0.0F);
        this.RightSaddlePart = new ModelRenderer(this, 75, 4);
        this.RightSaddlePart.setRotationPoint(0.0F, 0.0F, 0.0F);
        this.RightSaddlePart.func_228301_a_(-0.5F, 6.0F, -1.0F, 1, 2, 2, 0.0F);
        this.LeftEar1.addChild(this.LeftEar2);
        this.Head.addChild(this.UpperMouth);
        this.RightEar1.addChild(this.RightEar2);
        this.Body.addChild(this.Tail1);
        this.Body.addChild(this.Head);
        this.Tail1.addChild(this.Tail2);
        this.CenterSaddle.addChild(this.RightSaddleLine);
        this.Body.addChild(this.CenterSaddle);
        this.Body.addChild(this.FrontRightLeg1);
        this.Body.addChild(this.Neck);
        this.CenterSaddle.addChild(this.FrontUpperSaddlePart);
        this.Head.addChild(this.UnderMouth);
        this.Body.addChild(this.BackLeftLeg1);
        this.Body.addChild(this.RightMouthSaddleLine);
        this.Corn1.addChild(this.Corn2);
        this.BackLeftLeg2.addChild(this.BackLeftLeg3);
        this.UpperMouth.addChild(this.Corn1);
        this.LeftSaddleLine.addChild(this.LeftSaddlePart);
        this.Body.addChild(this.LeftMouthSaddleLine);
        this.Tail2.addChild(this.Tail3);
        this.Body.addChild(this.LeftChest);
        this.Body.addChild(this.RightChest);
        this.Body.addChild(this.BackRightLeg1);
        this.BackRightLeg1.addChild(this.BackRightLeg2);
        this.Body.addChild(this.RightSaddleMouthButton);
        this.BackRightLeg2.addChild(this.BackRightLeg3);
        this.CenterSaddle.addChild(this.LeftSaddleLine);
        this.Body.addChild(this.FrontLeftLeg1);
        this.BackLeftLeg1.addChild(this.BackLeftLeg2);
        this.FrontRightLeg1.addChild(this.FrontRightLeg2);
        this.FrontLeftLeg2.addChild(this.FrontLeftLeg3);
        this.CenterSaddle.addChild(this.BackUpperSaddlePart);
        this.Body.addChild(this.LeftEar1);
        this.Corn2.addChild(this.Corn3);
        this.Body.addChild(this.LeftSaddleMouthButton);
        this.FrontRightLeg2.addChild(this.FrontRightLeg3);
        this.Body.addChild(this.RightEar1);
        this.FrontLeftLeg1.addChild(this.FrontLeftLeg2);
        this.RightSaddleLine.addChild(this.RightSaddlePart);
    }

    /**
     * This is a helper function from Tabula to set the rotation of model parts
     */
    public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
        modelRenderer.rotateAngleX = x;
        modelRenderer.rotateAngleY = y;
        modelRenderer.rotateAngleZ = z;
    }

	@Override
	protected Iterable<ModelRenderer> func_225600_b_() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected Iterable<ModelRenderer> func_225602_a_() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void func_225597_a_(UnicornEntity arg0, float arg1, float arg2, float arg3, float arg4, float arg5) {
	       //this.NeckHair.func_225597_a_(arg5);
	       //this.Body.func_228300_a_(arg5);
	       //this.Body.func_228301_a_(arg5);
	       //this.Body.func_228302_a_(arg5);
	       //this.Body.func_228303_a_(arg5);
	       //this.Body.func_228304_a_(arg5);
	}

}
package mod.dragonita.fantasymod.client.renders.layer;

import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;

import mod.dragonita.fantasymod.Main;
import mod.dragonita.fantasymod.client.models.ModelUnicorn;
import mod.dragonita.fantasymod.entities.UnicornEntity;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.entity.IEntityRenderer;
import net.minecraft.client.renderer.entity.layers.LayerRenderer;
import net.minecraft.client.renderer.texture.OverlayTexture;
import net.minecraft.util.ResourceLocation;

/**

 * Copy of {@link SaddleLayer} with tweaks to make it work for WildBoarEntity.

 *

 * @author Cadiboo

 */

public class UnicornSaddleLayer extends LayerRenderer<UnicornEntity, ModelUnicorn> {

	private static final ResourceLocation TEXTURE = new ResourceLocation(Main.MODID, "textures/entity/unicorn/wild_boar_saddle.png");

	private final ModelUnicorn unicornModel = new ModelUnicorn();

	public UnicornSaddleLayer(IEntityRenderer<UnicornEntity, ModelUnicorn> p_i50927_1_) {
		super(p_i50927_1_);
	}

	@Override
	public void func_225628_a_(MatrixStack matrixStack, IRenderTypeBuffer renderTypeBuffer, int light, UnicornEntity entity, float p_225628_5_, float p_225628_6_, float p_225628_7_, float p_225628_8_, float p_225628_9_, float p_225628_10_) {
		if (entity.isHorseSaddled()) {
			this.getEntityModel().setModelAttributes(this.unicornModel);
			this.unicornModel.setLivingAnimations(entity, p_225628_5_, p_225628_6_, p_225628_7_);
			this.unicornModel.func_225597_a_(entity, p_225628_5_, p_225628_6_, p_225628_8_, p_225628_9_, p_225628_10_);
			IVertexBuilder buffer = renderTypeBuffer.getBuffer(RenderType.func_228640_c_(TEXTURE));
			this.unicornModel.func_225598_a_(matrixStack, buffer, light, OverlayTexture.field_229196_a_, p_225628_5_, p_225628_6_, p_225628_7_, p_225628_8_);
		}		
	}

}
package mod.dragonita.fantasymod.client.renders.layer;

import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;

import mod.dragonita.fantasymod.Main;
import mod.dragonita.fantasymod.client.models.ModelUnicorn;
import mod.dragonita.fantasymod.entities.UnicornEntity;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.entity.IEntityRenderer;
import net.minecraft.client.renderer.entity.layers.LayerRenderer;
import net.minecraft.client.renderer.texture.OverlayTexture;
import net.minecraft.util.ResourceLocation;

/**

 * Copy of {@link SaddleLayer} with tweaks to make it work for WildBoarEntity.

 *

 * @author Cadiboo

 */

public class UnicornSaddleLayer extends LayerRenderer<UnicornEntity, ModelUnicorn> {

	private static final ResourceLocation TEXTURE = new ResourceLocation(Main.MODID, "textures/entity/unicorn/wild_boar_saddle.png");

	private final ModelUnicorn unicornModel = new ModelUnicorn();

	public UnicornSaddleLayer(IEntityRenderer<UnicornEntity, ModelUnicorn> p_i50927_1_) {
		super(p_i50927_1_);
	}

	@Override
	public void func_225628_a_(MatrixStack matrixStack, IRenderTypeBuffer renderTypeBuffer, int light, UnicornEntity entity, float p_225628_5_, float p_225628_6_, float p_225628_7_, float p_225628_8_, float p_225628_9_, float p_225628_10_) {
		if (entity.isHorseSaddled()) {
			this.getEntityModel().setModelAttributes(this.unicornModel);
			this.unicornModel.setLivingAnimations(entity, p_225628_5_, p_225628_6_, p_225628_7_);
			this.unicornModel.func_225597_a_(entity, p_225628_5_, p_225628_6_, p_225628_8_, p_225628_9_, p_225628_10_);
			IVertexBuilder buffer = renderTypeBuffer.getBuffer(RenderType.func_228640_c_(TEXTURE));
			this.unicornModel.func_225598_a_(matrixStack, buffer, light, OverlayTexture.field_229196_a_, p_225628_5_, p_225628_6_, p_225628_7_, p_225628_8_);
		}		
	}

}
package mod.dragonita.fantasymod.client.renders;

import mod.dragonita.fantasymod.Main;
import mod.dragonita.fantasymod.client.models.ModelUnicorn;
import mod.dragonita.fantasymod.client.renders.layer.UnicornSaddleLayer;
import mod.dragonita.fantasymod.entities.UnicornEntity;
import net.minecraft.client.renderer.entity.EntityRendererManager;
import net.minecraft.client.renderer.entity.MobRenderer;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;

@EventBusSubscriber(modid = Main.MODID, bus = EventBusSubscriber.Bus.MOD, value = Dist.CLIENT)
public class UnicornEntityRender extends MobRenderer<UnicornEntity, ModelUnicorn>
{	
	private static final ResourceLocation UNICORN = new ResourceLocation(Main.MODID, "textures/entity/unicorn/wild_boar.png");

	public UnicornEntityRender(final EntityRendererManager manager) {
		super(manager, new ModelUnicorn(), 0.7F);
		this.addLayer(new UnicornSaddleLayer(this));
	}

	@Override
	public ResourceLocation getEntityTexture(final UnicornEntity entity) {
		return UNICORN;
	}
}

 

New in Modding? == Still learning!

Link to comment
Share on other sites

Thanks, but before I annoy anyone and for no reason I would like to solve this problem myself: @diesieben07, in 1.14.4 what did you use the render function of the ModelRenderer for? Maybe I can do something with it. Then what name was used to change the "render" name? Then I want to know if there is an alternative. @Cadiboo has extended the model from PigModel and it extends itself the QuadrupleSegments model or something like that, but the point is that my model extends something else, and it doesn't necessarily mean that they all have the same functions. But thanks for the tips and I will try to extend the EntityModel.

New in Modding? == Still learning!

Link to comment
Share on other sites

If you’re extending a vanilla class that takes in a model as a constructor parameter I would expect the rendering to be taken care of for you. It is in my code.

  • Like 1

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • ---- Minecraft Crash Report ---- WARNING: coremods are present:   IELoadingPlugin (ImmersiveEngineering-core-0.12-98.jar)   FTBUltimineASM (ftb-ultimine-1202.3.5.jar)   ForgelinPlugin (Forgelin-1.8.4.jar)   MovingWorldCore (movingworld-1.12-6.353-full.jar)   MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar)   OpenModsCorePlugin (OpenModsLib-1.12.2-0.12.2.jar)   AppleCore (AppleCore-mc1.12.2-3.4.0.jar)   Ar_CorePlugin (additionalresources-1.9.4-0.2.0.28+47cd0bd_signed.jar)   CTMCorePlugin (CTM-MC1.12.2-1.0.2.31.jar)   EnderCorePlugin (EnderCore-1.12.2-0.5.78-core.jar)   TransformerLoader (OpenComputers-MC1.12.2-1.8.5+179e1c3.jar)   Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)   SecretRoomsMod-Core (secretroomsmod-1.12.2-5.6.4.jar)   LoadingPlugin (ResourceLoader-MC1.12.1-1.5.3.jar)   MalisisCorePlugin (malisiscore-1.12.2-6.5.1.jar) Contact their authors BEFORE contacting forge // Daisy, daisy... Time: 5/22/24 9:18 PM Description: Initializing game java.lang.RuntimeException: Invalid id 4096 - maximum id range exceeded.     at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)     at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:281)     at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:113)     at com.blakebr0.cucumber.registry.ModRegistry.registerBlocks(ModRegistry.java:230)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_209_ModRegistry_registerBlocks_Register.invoke(.dynamic)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)     at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)     at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:845)     at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630)     at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)     at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)     at net.minecraft.client.main.Main.main(SourceFile:123)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace:     at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)     at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:281)     at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:113)     at com.blakebr0.cucumber.registry.ModRegistry.registerBlocks(ModRegistry.java:230)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_209_ModRegistry_registerBlocks_Register.invoke(.dynamic)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)     at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)     at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:845)     at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630)     at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)     at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467) -- Initialization -- Details: Stacktrace:     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)     at net.minecraft.client.main.Main.main(SourceFile:123)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 912918880 bytes (870 MB) / 4423417856 bytes (4218 MB) up to 6084886528 bytes (5803 MB)     JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6528m -Xms256m     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.42 Powered by Forge 14.23.5.2859 129 mods loaded, 129 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State | ID                                           | Version                  | Source                                                | Signature                                |     |:----- |:-------------------------------------------- |:------------------------ |:----------------------------------------------------- |:---------------------------------------- |     | LCH   | minecraft                                    | 1.12.2                   | minecraft.jar                                         | None                                     |     | LCH   | mcp                                          | 9.42                     | minecraft.jar                                         | None                                     |     | LCH   | FML                                          | 8.0.99.99                | forge-1.12.2-14.23.5.2859.jar                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCH   | forge                                        | 14.23.5.2859             | forge-1.12.2-14.23.5.2859.jar                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCH   | additionalresources                          | 0.1.1                    | additionalresources-1.9.4-0.2.0.28+47cd0bd_signed.jar | None                                     |     | LCH   | com.elytradev.movingworld.common.asm.coremod |                          | minecraft.jar                                         | None                                     |     | LCH   | openmodscore                                 | 0.12.2                   | minecraft.jar                                         | None                                     |     | LCH   | opencomputers|core                           | 1.8.5                    | minecraft.jar                                         | None                                     |     | LCH   | srm-hooks                                    | 1.12.2-1.0.0             | minecraft.jar                                         | None                                     |     | LCH   | achievementbooks                             | V1.0b-MC1.12.2           | achievementbooks-V1.0b-MC1.12.2.jar                   | None                                     |     | LCH   | infinitylib                                  | 1.12.2-1.12.1            | infinitylib-1.12.1.jar                                | None                                     |     | LCH   | agricraft                                    | 2.12.0-1.12.2-b2         | agricraft-2.12.0-1.12.2-b2.jar                        | None                                     |     | LCH   | aoa3                                         | 3.3.6                    | AoA3-3.3.6.jar                                        | 8bddeac148843f40e0b9f69201be2f4b3071700d |     | LCH   | applecore                                    | 3.4.0                    | AppleCore-mc1.12.2-3.4.0.jar                          | None                                     |     | LCH   | jei                                          | 4.16.1.301               | jei_1.12.2-4.16.1.301.jar                             | None                                     |     | LCH   | appleskin                                    | 1.0.14                   | AppleSkin-mc1.12-1.0.14.jar                           | None                                     |     | LCH   | ctm                                          | MC1.12.2-1.0.2.31        | CTM-MC1.12.2-1.0.2.31.jar                             | None                                     |     | LCH   | appliedenergistics2                          | rv6-stable-7             | appliedenergistics2-rv6-stable-7.jar                  | dfa4d3ac143316c6f32aa1a1beda1e34d42132e5 |     | LCH   | audiodeath                                   | 0.7.0_1.9-87aeca7        | audiodeath-1.9-0.7.0.50+87aeca7.jar                   | None                                     |     | LCH   | codechickenlib                               | 3.2.3.358                | CodeChickenLib-1.12.2-3.2.3.358-universal.jar         | f1850c39b2516232a2108a7bd84d1cb5df93b261 |     | LCH   | avaritia                                     | 3.3.0                    | Avaritia-1.12.2-3.3.0.37-universal.jar                | None                                     |     | LCH   | bno                                          | 1.12.2-1.0.4.0           | BasicNetherOres-1.12.2-1.0.5.0.jar                    | None                                     |     | LCH   | baubles                                      | 1.5.2                    | Baubles-1.12-1.5.2.jar                                | None                                     |     | LCH   | bdlib                                        | 1.14.4.1                 | bdlib-1.14.4.1-mc1.12.2.jar                           | None                                     |     | LCH   | betteradvancements                           | 0.1.0.77                 | BetterAdvancements-1.12.2-0.1.0.77.jar                | None                                     |     | LCH   | bibliocraft                                  | 2.4.6                    | BiblioCraft[v2.4.6][MC1.12.2].jar                     | None                                     |     | LCH   | bluepower                                    | 0.3.152                  | BluePower-1.12.2-0.3.152-universal.jar                | None                                     |     | LCH   | thaumcraft                                   | 6.1.BETA26               | Thaumcraft-1.12.2-6.1.BETA26.jar                      | None                                     |     | LCH   | botania                                      | r1.10-364                | Botania r1.10-364.4.jar                               | None                                     |     | LCH   | redstoneflux                                 | 2.1.1                    | RedstoneFlux-1.12-2.1.1.1-universal.jar               | None                                     |     | LCH   | brandonscore                                 | 2.4.20                   | BrandonsCore-1.12.2-2.4.20.162-universal.jar          | None                                     |     | LCH   | chameleon                                    | 1.12-4.1.3               | Chameleon-1.12-4.1.3.jar                              | None                                     |     | LCH   | chancecubes                                  | 1.12.2-5.0.2.385         | ChanceCubes-1.12.2-5.0.2.385.jar                      | None                                     |     | LCH   | chickenchunks                                | 2.4.2.74                 | ChickenChunks-1.12.2-2.4.2.74-universal.jar           | f1850c39b2516232a2108a7bd84d1cb5df93b261 |     | LCH   | chisel                                       | MC1.12.2-1.0.2.45        | Chisel-MC1.12.2-1.0.2.45.jar                          | None                                     |     | LCH   | cofhcore                                     | 4.6.6                    | CoFHCore-1.12.2-4.6.6.1-universal.jar                 | None                                     |     | LCH   | cofhworld                                    | 1.4.0                    | CoFHWorld-1.12.2-1.4.0.1-universal.jar                | None                                     |     | LCH   | collective                                   | 3.0                      | collective-1.12.2-3.0.jar                             | None                                     |     | LCH   | cookingforblockheads                         | 6.5.0                    | CookingForBlockheads_1.12.2-6.5.0.jar                 | None                                     |     | LCH   | cucumber                                     | 1.1.3                    | Cucumber-1.12.2-1.1.3.jar                             | None                                     |     | LCH   | custommainmenu                               | 2.0.9.1                  | CustomMainMenu-MC1.12.2-2.0.9.1.jar                   | None                                     |     | LCH   | customnpcs                                   | 1.12                     | CustomNPCs_1.12.2-(05Jul20).jar                       | None                                     |     | LCH   | cyclopscore                                  | 1.6.7                    | CyclopsCore-1.12.2-1.6.7.jar                          | bd0353b3e8a2810d60dd584e256e364bc3bedd44 |     | LCH   | movingworld                                  | 1.12-6.353               | movingworld-1.12-6.353-full.jar                       | None                                     |     | LCH   | davincisvessels                              | @DVESSELSVER@            | davincisvessels-1.12-6.340-full.jar                   | None                                     |     | LCH   | ptrmodellib                                  | 1.0.5                    | PTRLib-1.0.5.jar                                      | None                                     |     | LCH   | props                                        | 2.6.3.7                  | Decocraft-2.6.3.7_1.12.2.jar                          | None                                     |     | LCH   | thermalfoundation                            | 2.6.7                    | ThermalFoundation-1.12.2-2.6.7.1-universal.jar        | None                                     |     | LCH   | draconicevolution                            | 2.3.28                   | Draconic-Evolution-1.12.2-2.3.28.354-universal.jar    | None                                     |     | LCH   | lootablebodies                               | 2.4.0                    | DrCyanosLootableBodies_1.12-2.4.0.jar                 | None                                     |     | LCH   | elevatorid                                   | 1.3.14                   | ElevatorMod-1.12.2-1.3.14.jar                         | None                                     |     | LCH   | endercore                                    | 1.12.2-0.5.78            | EnderCore-1.12.2-0.5.78.jar                           | None                                     |     | LCH   | thermalexpansion                             | 5.5.7                    | ThermalExpansion-1.12.2-5.5.7.1-universal.jar         | None                                     |     | LCH   | enderio                                      | 5.3.72                   | EnderIO-base-1.12.2-5.3.72.jar                        | None                                     |     | LCH   | enderiointegrationtic                        | 5.3.72                   | EnderIO-integration-tic-1.12.2-5.3.72.jar             | None                                     |     | LCH   | enderiobase                                  | 5.3.72                   | EnderIO-base-1.12.2-5.3.72.jar                        | None                                     |     | LCH   | mantle                                       | 1.12-1.3.3.55            | Mantle-1.12-1.3.3.55.jar                              | None                                     |     | LCH   | twilightforest                               | 3.11.1021                | twilightforest-1.12.2-3.11.1021-universal.jar         | None                                     |     | LCH   | tconstruct                                   | 1.12.2-2.13.0.183        | TConstruct-1.12.2-2.13.0.183.jar                      | None                                     |     | LCH   | enderiointegrationticlate                    | 5.3.72                   | EnderIO-integration-tic-1.12.2-5.3.72.jar             | None                                     |     | LCH   | enderstorage                                 | 2.4.6.137                | EnderStorage-1.12.2-2.4.6.137-universal.jar           | f1850c39b2516232a2108a7bd84d1cb5df93b261 |     | LCH   | evilcraft                                    | 0.10.78                  | EvilCraft-1.12.2-0.10.78.jar                          | bd0353b3e8a2810d60dd584e256e364bc3bedd44 |     | LCH   | natura                                       | 1.12.2-4.3.2.69          | natura-1.12.2-4.3.2.69.jar                            | None                                     |     | LCH   | forestry                                     | 5.8.2.387                | forestry_1.12.2-5.8.2.387.jar                         | None                                     |     | LCH   | evilcraftcompat                              | 1.0.0                    | EvilCraft-1.12.2-0.10.78.jar                          | None                                     |     | LCH   | waila                                        | 1.8.26                   | Hwyla-1.8.26-B41_1.12.2.jar                           | None                                     |     | LCH   | extracells                                   | 2.6.7                    | ExtraCells-1.12.2-2.6.7.jar                           | None                                     |     | LCH   | extrautils2                                  | 1.0                      | extrautils2-1.12-1.9.9.jar                            | None                                     |     | LCH   | opencomputers                                | 1.8.5                    | OpenComputers-MC1.12.2-1.8.5+179e1c3.jar              | None                                     |     | LCH   | zerocore                                     | 1.12.2-0.1.2.9           | zerocore-1.12.2-0.1.2.9.jar                           | None                                     |     | LCH   | bigreactors                                  | 1.12.2-0.4.5.68          | ExtremeReactors-1.12.2-0.4.5.68.jar                   | None                                     |     | LCH   | fastleafdecay                                | v14                      | FastLeafDecay-v14.jar                                 | None                                     |     | LCH   | fluxnetworks                                 | 4.1.0                    | FluxNetworks-1.12.2-4.1.1.34.jar                      | None                                     |     | LCH   | forgelin                                     | 1.8.4                    | Forgelin-1.8.4.jar                                    | None                                     |     | LCH   | ftbultimine                                  | 1202.3.5                 | ftb-ultimine-1202.3.5.jar                             | None                                     |     | LCH   | ichunutil                                    | 7.2.2                    | iChunUtil-1.12.2-7.2.2.jar                            | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCH   | gravitygun                                   | 7.1.0                    | GravityGun-1.12.2-7.1.0.jar                           | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCH   | headcrumbs                                   | 2.0.4                    | Headcrumbs-1.12.2-2.0.5.17.jar                        | None                                     |     | LCH   | mekanism                                     | 1.12.2-9.8.3.390         | Mekanism-1.12.2-9.8.3.390.jar                         | None                                     |     | LCH   | teslacorelib                                 | 1.0.18                   | tesla-core-lib-1.12.2-1.0.18.jar                      | d476d1b22b218a10d845928d1665d45fce301b27 |     | LCH   | industrialforegoing                          | 1.12.2-1.12.2            | industrialforegoing-1.12.2-1.12.13-237.jar            | None                                     |     | LCH   | inventorypets                                | 2.0.15                   | inventorypets-1.12-2.0.15.jar                         | None                                     |     | LCH   | inventorytweaks                              | 1.63+release.109.220f184 | InventoryTweaks-1.63.jar                              | 55d2cd4f5f0961410bf7b91ef6c6bf00a766dcbe |     | LCH   | ironchest                                    | 1.12.2-7.0.67.844        | ironchest-1.12.2-7.0.72.847.jar                       | None                                     |     | LCH   | jeibees                                      | 0.9.0.5                  | jeibees-0.9.0.5-mc1.12.2.jar                          | None                                     |     | LCH   | jeiintegration                               | 1.6.0                    | jeiintegration_1.12.2-1.6.0.jar                       | None                                     |     | LCH   | malisiscore                                  | 1.12.2-6.5.1-SNAPSHOT    | malisiscore-1.12.2-6.5.1.jar                          | None                                     |     | LCH   | malisisdoors                                 | 1.12.2-7.3.0             | malisisdoors-1.12.2-7.3.0.jar                         | None                                     |     | LCH   | mysticalagriculture                          | 1.7.5                    | MysticalAgriculture-1.12.2-1.7.5.jar                  | None                                     |     | LCH   | matc                                         | 1.0.1-hotfix             | matc-1.0.1-hotfix.jar                                 | None                                     |     | LCH   | mca                                          | 6.1.0                    | MCA-1.12.2-6.1.0-universal.jar                        | None                                     |     | LCH   | mcjtylib_ng                                  | 3.5.4                    | mcjtylib-1.12-3.5.4.jar                               | None                                     |     | LCH   | mekanismgenerators                           | 1.12.2-9.8.3.390         | MekanismGenerators-1.12.2-9.8.3.390.jar               | None                                     |     | LCH   | mekanismtools                                | 1.12.2-9.8.3.390         | MekanismTools-1.12.2-9.8.3.390.jar                    | None                                     |     | LCH   | mob_grinding_utils                           | 0.3.13                   | MobGrindingUtils-0.3.13.jar                           | None                                     |     | LCH   | numina                                       | 1.0                      | Numina-1.12.2-1.1.049.jar                             | None                                     |     | LCH   | refinedstorage                               | 1.6.16                   | refinedstorage-1.6.16.jar                             | 57893d5b90a7336e8c63fe1c1e1ce472c3d59578 |     | LCH   | powersuits                                   | 1.1.048                  | ModularPowersuits-1.12.2-1.1.048.jar                  | None                                     |     | LCH   | morph                                        | 7.2.0                    | Morph-1.12.2-7.2.1.jar                                | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCH   | mousetweaks                                  | 2.10                     | MouseTweaks-2.10-mc1.12.2.jar                         | None                                     |     | LCH   | mysticalagradditions                         | 1.3.2                    | MysticalAgradditions-1.12.2-1.3.2.jar                 | None                                     |     | LCH   | openmods                                     | 0.12.2                   | OpenModsLib-1.12.2-0.12.2.jar                         | d2a9a8e8440196e26a268d1f3ddc01b2e9c572a5 |     | LCH   | openblocks                                   | 1.8.1                    | OpenBlocks-1.12.2-1.8.1.jar                           | d2a9a8e8440196e26a268d1f3ddc01b2e9c572a5 |     | LCH   | harvestcraft                                 | 1.12.2zb                 | Pam's HarvestCraft 1.12.2zg.jar                       | None                                     |     | LCH   | patchouli                                    | 1.0-23.6                 | Patchouli-1.0-23.6.jar                                | None                                     |     | LCH   | portalgun                                    | 7.1.0                    | PortalGun-1.12.2-7.1.0.jar                            | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCH   | projecte                                     | 1.12.2-PE1.4.1           | ProjectE-1.12.2-PE1.4.1.jar                           | None                                     |     | LCH   | projectex                                    | 1.2.0.40                 | ProjectEX-1.2.0.40.jar                                | None                                     |     | LCH   | radixcore                                    | 1.12.x-2.2.1             | RadixCore-1.12.x-2.2.1-universal.jar                  | None                                     |     | LCH   | redstonearsenal                              | 2.6.6                    | RedstoneArsenal-1.12.2-2.6.6.1-universal.jar          | None                                     |     | LCH   | xreliquary                                   | 1.12.2-1.3.4.796         | Reliquary-1.12.2-1.3.4.796.jar                        | None                                     |     | LCH   | resourceloader                               | 1.5.3                    | ResourceLoader-MC1.12.1-1.5.3.jar                     | d72e0dd57935b3e9476212aea0c0df352dd76291 |     | LCH   | rftools                                      | 7.73                     | rftools-1.12-7.73.jar                                 | None                                     |     | LCH   | rftoolspower                                 | 1.2.0                    | rftoolspower-1.12-1.2.0.jar                           | None                                     |     | LCH   | secretroomsmod                               | 5.6.4                    | secretroomsmod-1.12.2-5.6.4.jar                       | None                                     |     | LCH   | thermaldynamics                              | 2.5.6                    | ThermalDynamics-1.12.2-2.5.6.1-universal.jar          | None                                     |     | LCH   | immersiveengineering                         | 0.12-98                  | ImmersiveEngineering-0.12-98.jar                      | None                                     |     | LCH   | simplyjetpacks                               | 1.12.2-2.2.20.0          | SimplyJetpacks2-1.12.2-2.2.20.0.jar                   | None                                     |     | LCH   | starterkit                                   | 2.4                      | starterkit_1.12.2-2.4.jar                             | None                                     |     | LCH   | storagedrawers                               | 5.5.0                    | StorageDrawers-1.12.2-5.5.0.jar                       | None                                     |     | LCH   | thaumicjei                                   | 1.6.0                    | ThaumicJEI-1.12.2-1.6.0-27.jar                        | None                                     |     | LCH   | thermalinnovation                            | 0.3.6                    | ThermalInnovation-1.12.2-0.3.6.1-universal.jar        | None                                     |     | LCH   | tcomplement                                  | 1.12.2-0.4.3             | TinkersComplement-1.12.2-0.4.3.jar                    | None                                     |     | LCH   | tinkersjei                                   | 1.2                      | tinkersjei-1.2.jar                                    | None                                     |     | LCH   | tinkertoolleveling                           | 1.12.2-1.1.0.DEV.b23e769 | TinkerToolLeveling-1.12.2-1.1.0.jar                   | None                                     |     | LCH   | vampire                                      | 0.0.2B                   | vampire-0.0.2B.jar                                    | None                                     |     | LCH   | wawla                                        | 2.6.275                  | Wawla-1.12.2-2.6.275.jar                              | d476d1b22b218a10d845928d1665d45fce301b27 |     | LCH   | matteroverdrive                              | 0.7.0.0                  | MatterOverdrive-1.12.2-0.7.1.0-universal.jar          | None                                     |     | LCH   | teslacorelib_registries                      | 1.0.18                   | tesla-core-lib-1.12.2-1.0.18.jar                      | None                                     |     Loaded coremods (and transformers):  IELoadingPlugin (ImmersiveEngineering-core-0.12-98.jar)   blusunrize.immersiveengineering.common.asm.IEClassTransformer FTBUltimineASM (ftb-ultimine-1202.3.5.jar)    ForgelinPlugin (Forgelin-1.8.4.jar)    MovingWorldCore (movingworld-1.12-6.353-full.jar)    MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar)   mekanism.coremod.KeybindingMigrationHelper OpenModsCorePlugin (OpenModsLib-1.12.2-0.12.2.jar)   openmods.core.OpenModsClassTransformer AppleCore (AppleCore-mc1.12.2-3.4.0.jar)   squeek.applecore.asm.TransformerModuleHandler Ar_CorePlugin (additionalresources-1.9.4-0.2.0.28+47cd0bd_signed.jar)    CTMCorePlugin (CTM-MC1.12.2-1.0.2.31.jar)   team.chisel.ctm.client.asm.CTMTransformer EnderCorePlugin (EnderCore-1.12.2-0.5.78-core.jar)   com.enderio.core.common.transform.EnderCoreTransformer   com.enderio.core.common.transform.SimpleMixinPatcher TransformerLoader (OpenComputers-MC1.12.2-1.8.5+179e1c3.jar)   li.cil.oc.common.asm.ClassTransformer Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)   invtweaks.forge.asm.ContainerTransformer SecretRoomsMod-Core (secretroomsmod-1.12.2-5.6.4.jar)   com.wynprice.secretroomsmod.core.SecretRoomsTransformer LoadingPlugin (ResourceLoader-MC1.12.1-1.5.3.jar)   lumien.resourceloader.asm.ClassTransformer MalisisCorePlugin (malisiscore-1.12.2-6.5.1.jar)        GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 552.22' Renderer: 'NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2'     OpenModsLib class transformers: [llama_null_fix:FINISHED],[horse_base_null_fix:FINISHED],[pre_world_render_hook:FINISHED],[player_render_hook:FINISHED],[horse_null_fix:FINISHED]     AE2 Version: stable rv6-stable-7 for Forge 14.23.5.2768     Ender IO: No known problems detected.        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!     !!!You are looking at the diagnostics information, not at the crash.       !!!     !!!Scroll up until you see the line with '---- Minecraft Crash Report ----'!!!     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!     Pulsar/tconstruct loaded Pulses:          - TinkerCommons (Enabled/Forced)         - TinkerWorld (Enabled/Not Forced)         - TinkerTools (Enabled/Not Forced)         - TinkerHarvestTools (Enabled/Forced)         - TinkerMeleeWeapons (Enabled/Forced)         - TinkerRangedWeapons (Enabled/Forced)         - TinkerModifiers (Enabled/Forced)         - TinkerSmeltery (Enabled/Not Forced)         - TinkerGadgets (Enabled/Not Forced)         - TinkerOredict (Enabled/Forced)         - TinkerIntegration (Enabled/Forced)         - TinkerFluids (Enabled/Forced)         - TinkerMaterials (Enabled/Forced)         - TinkerModelRegister (Enabled/Forced)         - chiselIntegration (Enabled/Not Forced)         - wailaIntegration (Enabled/Not Forced)     Pulsar/natura loaded Pulses:          - NaturaCommons (Enabled/Forced)         - NaturaOverworld (Enabled/Not Forced)         - NaturaNether (Enabled/Not Forced)         - NaturaDecorative (Enabled/Not Forced)         - NaturaTools (Enabled/Not Forced)         - NaturaEntities (Enabled/Not Forced)         - NaturaOredict (Enabled/Forced)         - NaturaWorld (Enabled/Not Forced)     Pulsar/tcomplement loaded Pulses:          - ModuleCommons (Enabled/Forced)         - ModuleMelter (Enabled/Not Forced)         - ModuleArmor (Enabled/Not Forced)         - ModuleSteelworks (Enabled/Not Forced)         - ChiselPlugin (Enabled/Not Forced)         - ToolLevelingPlugin (Enabled/Not Forced)         - Oredict (Enabled/Forced)     List of loaded APIs:          * AgriCraftAPI (1.0) from agricraft-2.12.0-1.12.2-b2.jar         * AppleCoreAPI (3.4.0) from AppleCore-mc1.12.2-3.4.0.jar         * appliedenergistics2|API (rv6) from appliedenergistics2-rv6-stable-7.jar         * Baubles|API (1.4.0.2) from Baubles-1.12-1.5.2.jar         * betteradvancements|API (0.1.0.77) from BetterAdvancements-1.12.2-0.1.0.77.jar         * BetterWithModsAPI (Beta 0.6) from AppleSkin-mc1.12-1.0.14.jar         * bigreactors|API (4.0.1) from ExtremeReactors-1.12.2-0.4.5.68.jar         * bluepowerAPI (1.0) from BluePower-1.12.2-0.3.152-universal.jar         * BotaniaAPI (93) from Botania r1.10-364.4.jar         * Chisel-API (0.0.1) from Chisel-MC1.12.2-1.0.2.45.jar         * ChiselAPI|Carving (0.0.1) from Chisel-MC1.12.2-1.0.2.45.jar         * cofhapi (2.5.0) from CoFHCore-1.12.2-4.6.6.1-universal.jar         * Core (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Blocks (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Constants (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Entities (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Entities|Data (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Entities|Data|Role (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Events (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Gui (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Handlers (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Handlers|Data (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * CSLib|API (1.0.1) from PTRLib-1.0.5.jar         * ctm-api (0.1.0) from CTM-MC1.12.2-1.0.2.31.jar         * ctm-api-events (0.1.0) from CTM-MC1.12.2-1.0.2.31.jar         * ctm-api-models (0.1.0) from CTM-MC1.12.2-1.0.2.31.jar         * ctm-api-textures (0.1.0) from CTM-MC1.12.2-1.0.2.31.jar         * ctm-api-utils (0.1.0) from CTM-MC1.12.2-1.0.2.31.jar         * DraconicEvolution|API (1.3) from Draconic-Evolution-1.12.2-2.3.28.354-universal.jar         * enderioapi (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|addon (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|capacitor (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|conduits (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|farm (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|redstone (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|teleport (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|tools (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|upgrades (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * ForestryAPI|apiculture (5.0.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|arboriculture (4.3.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|book (5.8.1) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|circuits (3.1.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|climate (5.0.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|core (5.7.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|farming (5.8.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|food (1.1.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|fuels (3.0.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|genetics (5.7.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|gui (5.8.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|hives (4.1.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|lepidopterology (1.4.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|mail (3.1.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|modules (5.7.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|multiblock (3.0.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|recipes (5.4.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|storage (5.0.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|world (2.1.0) from forestry_1.12.2-5.8.2.387.jar         * iChunUtil API (1.2.0) from iChunUtil-1.12.2-7.2.2.jar         * ImmersiveEngineering|API (1.0) from ImmersiveEngineering-0.12-98.jar         * ImmersiveEngineering|ImmersiveFluxAPI (1.0) from ImmersiveEngineering-0.12-98.jar         * industrialforegoingapi (5) from industrialforegoing-1.12.2-1.12.13-237.jar         * JustEnoughItemsAPI (4.13.0) from jei_1.12.2-4.16.1.301.jar         * MatterOverdrive|API (0.4.1) from MatterOverdrive-1.12.2-0.7.1.0-universal.jar         * MekanismAPI|core (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|energy (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|gas (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|infuse (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|laser (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|transmitter (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|util (9.0.0) from Mekanism-1.12.2-9.8.3.390.jar         * MouseTweaks|API (1.0) from MouseTweaks-2.10-mc1.12.2.jar         * openblocks|api (1.2) from OpenBlocks-1.12.2-1.8.1.jar         * opencomputersapi|component (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|core (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|driver (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|driver|item (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|event (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|filesystem (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|internal (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|machine (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|manual (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|network (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|prefab (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * PatchouliAPI (6) from Patchouli-1.0-23.6.jar         * projecteapi (1.12.2-1.2.0) from ProjectE-1.12.2-PE1.4.1.jar         * redstonefluxapi (2.1.1) from RedstoneFlux-1.12-2.1.1.1-universal.jar         * StorageDrawersAPI (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * StorageDrawersAPI|event (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * StorageDrawersAPI|registry (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * StorageDrawersAPI|render (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * StorageDrawersAPI|storage (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * StorageDrawersAPI|storage-attribute (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * Thaumcraft|API (6.0.2) from Thaumcraft-1.12.2-6.1.BETA26.jar         * WailaAPI (1.3) from Hwyla-1.8.26-B41_1.12.2.jar         * zerocore|API|multiblock (1.10.2-0.0.2) from zerocore-1.12.2-0.1.2.9.jar         * zerocore|API|multiblock|rectangular (1.10.2-0.0.2) from zerocore-1.12.2-0.1.2.9.jar         * zerocore|API|multiblock|tier (1.10.2-0.0.2) from zerocore-1.12.2-0.1.2.9.jar         * zerocore|API|multiblock|validation (1.10.2-0.0.2) from zerocore-1.12.2-0.1.2.9.jar     Patchouli open book context: n/a     Launched Version: forge-14.23.5.2859     LWJGL: 2.9.4     OpenGL: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 552.22, NVIDIA Corporation     GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported.     Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'fml,forge'     Type: Client (map_client.txt)     Resource Packs:      Current Language: English (US)     Profiler Position: N/A (disabled)     CPU: 12x Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
    • I got a 1.12.2 server up and running after fixing some issues , the thing is that even for me, the host, the server is several ticks behind, i even had to set the max-tick-time to -1 to be on the server without it crashing. I have good internet and im dedicating 6gb of ram to it, but it still uses 1200mb more or less, here is a picture: https://ibb.co/RbcwgzP chunks load just fine, its the lag thats unbearable, i cant break blocks, cant walk without teleporting back to where i was, nothing.
    • I was playing this mod pack just fine yesterday and I added a few more mods to it this morning. Ive tried it with and without these mods I added and keep getting the same error. here is the latest crash log.
    • Got told by a friend that Krypton could be my issue, it's no longer maintained so I've removed it, the error I'm getting is slightly different now "Internal Exception: io.netty.handler.codec.DecoderException: Unknown serializer type 116". I have logs from my client and server in this gist: https://gist.github.com/CorneliusCornbread/7efb985ceb58cbc87cd5f926b21974a2 (too big for pastebin)
    • Hello there! I'm here today to invite you to join us in an experiance like no other. We play on a server that aims to simulate civilization in minecraft and we invite you to join us.  Become part of an expansive nation, grow your power and influence or perhaps simply assist your countrymen in their own endeavors.  With enough effort here you can do anything you can imagine. Lead an army into battle, rule over bustling towns, create a company and become rich, or perhaps retire to a simple life of farming with a small group of freinds and simply enjoy the days as they come. We also host events regularly so I promise it won't get boring for a while. If your even slightly interested I highly recommend you join the discord! We can answer any questions you have there. Thank you for your time and interest and I hope to see you soon! https://discord.com/invite/VGxhdF2V56
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.