• Recently Browsing

    No registered users viewing this page.

  • Posts

    • Hello, I am attempting to download the Chisel mod for 1.12.2 and it requires CTM (ConnectedTexturesMod) to function properly. As I have attempted to download and run the game, it seems to crash every time, giving me this warning:    I have attempted to uninstall different mods that I do not need anymore and have also reinstalled CTM multiple times. Would someone be able to guide me through what the issue could potentially be? Thanks.    WARNING: coremods are present:   CTMCorePlugin (CTM-MC1.12.2-1.0.2.31.jar) Contact their authors BEFORE contacting forge // Shall we play a game? Time: 5/25/20 2:18 PM Description: Initializing game java.lang.NoSuchMethodError: team.chisel.ctm.client.model.parsing.ModelLoaderCTM.getJSON(Lnet/minecraft/util/ResourceLocation;)Lcom/google/gson/JsonElement;     at team.chisel.client.render.ModelLoaderChisel.accepts(ModelLoaderChisel.java:47)     at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:123)     at net.minecraftforge.client.model.ModelLoader.func_177569_a(ModelLoader.java:235)     at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153)     at net.minecraftforge.client.model.ModelLoader.func_188640_b(ModelLoader.java:223)     at net.minecraftforge.client.model.ModelLoader.func_177570_a(ModelLoader.java:150)     at net.minecraft.client.renderer.block.model.ModelManager.func_110549_a(ModelManager.java:28)     at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110542_a(SimpleReloadableResourceManager.java:121)     at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:513)     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)  
    • Hey everyone, I'm currently trying to build a custom portal block and everything is working nicely so far, however I've run into a weird issue with the portal animation (the one that plays out when standing inside the portal): Just like the vanilla game I call a function that renders the portal animation, I call it from a RenderGameOverlayEvent (which should be the correct event) and the timeInPortal value also is computed correctly (I checked to make sure, it changes as intended and is calculated the same way the vanilla portal calculates it). As far as I understand the code this value controls the alpha value of the texture, however it is always rendered with no transparency at all, even if I substitute timeInPortal with 0 and I'm not sure why. I'm assuming either the blend mode is wrong (which is unlikely, as I copied the code from the vanilla class) or I load my texture wrong/without alpha for some reason. Any pointers? (Yes, the block is set up to have translucency and as a block in the world it renders correctly, but not as an overlay texture for some reason) The render code (apart from grabbing a Minecraft Instance named mc this is exactly how vanilla does it aswell): public static void renderPortalAnim(float timeInPortal, int scaledWidth, int scaledHeight) { if (timeInPortal < 1.0F) { timeInPortal = timeInPortal * timeInPortal; timeInPortal = timeInPortal * timeInPortal; timeInPortal = timeInPortal * 0.8F + 0.2F; } Minecraft mc = Minecraft.getInstance(); RenderSystem.disableAlphaTest(); RenderSystem.disableDepthTest(); RenderSystem.depthMask(false); RenderSystem.defaultBlendFunc(); RenderSystem.color4f(1.0F, 1.0F, 1.0F, timeInPortal); mc.getTextureManager().bindTexture(AtlasTexture.LOCATION_BLOCKS_TEXTURE); TextureAtlasSprite textureatlassprite = mc.getBlockRendererDispatcher().getBlockModelShapes().getTexture(BlockInit.custom_portal.getDefaultState()); float f = textureatlassprite.getMinU(); float f1 = textureatlassprite.getMinV(); float f2 = textureatlassprite.getMaxU(); float f3 = textureatlassprite.getMaxV(); Tessellator tessellator = Tessellator.getInstance(); BufferBuilder bufferbuilder = tessellator.getBuffer(); bufferbuilder.begin(7, DefaultVertexFormats.POSITION_TEX); bufferbuilder.func_225582_a_(0.0D, (double)scaledHeight, -90.0D).func_225583_a_(f, f3).endVertex(); bufferbuilder.func_225582_a_((double)scaledWidth, (double)scaledHeight, -90.0D).func_225583_a_(f2, f3).endVertex(); bufferbuilder.func_225582_a_((double)scaledWidth, 0.0D, -90.0D).func_225583_a_(f2, f1).endVertex(); bufferbuilder.func_225582_a_(0.0D, 0.0D, -90.0D).func_225583_a_(f, f1).endVertex(); tessellator.draw(); RenderSystem.depthMask(true); RenderSystem.enableDepthTest(); RenderSystem.enableAlphaTest(); RenderSystem.color4f(1.0F, 1.0F, 1.0F, 1.0F); }  
    • 1. That is literally an empty method (i.e. it does nothing). 2. If you did anything in your implementation of it, just call your own method instead of openInventory.
    • Please clarify "it don't do anything". Post logs.
  • Topics

  • Who's Online (See full list)