Skip to content

Instantly share code, notes, and snippets.

View Asherslab's full-sized avatar

AshersLab Asherslab

  • LDT Team
  • Australia
View GitHub Profile
package com.minecolonies.chatchainmc.core.util;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.minecolonies.chatchainmc.core.ChatChainMC;
import com.minecolonies.chatchainmc.core.config.TemplatesConfig;
import com.minecolonies.chatchainmc.core.config.TemplatesConfig.ChannelOverridesConfig;
import com.minecolonies.chatchainmc.core.config.TemplatesConfig.ClientOverridesConfig;
import com.minecolonies.chatchainmc.core.config.TemplatesConfig.TypeOverridesConfig;
import com.minecolonies.chatchainmc.core.config.TemplatesConfig.UserOverridesConfig;
[02:46:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[02:46:17] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[02:46:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[02:46:17] [main/INFO] [FML]: Forge Mod Loader version 14.23.4.2705 for Minecraft 1.12.2 loading
[02:46:17] [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_171, running on Linux:amd64:4.9.103-xxxx-std-ipv6-64, installed at /usr/lib/jvm/java-1.8-openjdk/jre
[02:46:17] [main/INFO] [FML]: Searching /home/container/./mods for mods
[02:46:17] [main/INFO] [FML]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from CmdBuilder-s7.1-c1.2.0-v1.3.0.jar
[02:46:17] [main/INFO] [FML]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from idea-1.0-SNAPSHOT.jar
[02:46:17] [main/WARN] [FML]: The coremod com.therandomlabs.randompat
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderException: java.lang.ClassCastException: com.idea.IdeaMod cannot be cast to net.minecraftforge.fml.common.ModContainer
at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:382)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:225)
at net.minecraft.client.Minecraft.init(Minecraft.java:503)
at net.minecraft.client.Minecraft.run(Minecraft.java:411)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
package com.idea;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
[19:06:14] [main/INFO] [GradleStart]: Extra: []
[19:06:15] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/Asher/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[19:06:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:06:15] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:06:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[19:06:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
Exception in thread "main"
Exception: java.lang.NoSuchMethodError thrown from the UncaughtExceptionHandler in thread "main"
Process finished with exit code 1
package com.minecolonies.coremod.blocks.decorative;
import com.minecolonies.api.util.constant.Constants;
import com.minecolonies.api.util.constant.NbtTagConstants;
import com.minecolonies.coremod.blocks.AbstractBlockMinecoloniesStairs;
import com.minecolonies.coremod.creativetab.ModCreativeTabs;
import com.minecolonies.coremod.tileentities.TileEntityShingle;
import net.minecraft.block.BlockPlanks;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.properties.IProperty;
[14:01:44] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing start region for level 0
[14:01:44] [Server thread/INFO] [STDOUT]: [com.minecolonies.coremod.tileentities.TileEntityShingle:readFromNBT:42]: Compound: {x:-1274,y:64,z:-280,id:"minecraft:minecolonies.shingle",type:1}
[14:01:44] [Server thread/INFO] [STDOUT]: [com.minecolonies.coremod.tileentities.TileEntityShingle:readFromNBT:43]: Thing: type:1
[14:01:44] [Server thread/INFO] [STDOUT]: [com.minecolonies.coremod.tileentities.TileEntityShingle:readFromNBT:44]: Thing2: spruce
[14:01:45] [Server thread/INFO] [FML]: Unloading dimension -1
[14:01:45] [Server thread/INFO] [FML]: Unloading dimension 1
[14:01:47] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level 'Test World'/overworld
[14:01:47] [Server thread/INFO] [STDOUT]: [com.minecolonies.coremod.tileentities.TileEntityShingle:writeToNBT:31]: Thing: type:1
[14:01:47] [Server thread/INFO] [STDOUT]: [com.minecolonies.coremod.tileentities.TileEntitySh
#!/usr/bin/env python
import argparse
import base64
import json
import os
import shlex
import subprocess
import sys
{
"variants": {
"facing=south,half=bottom,shape=straight": { "model": "minecolonies:shingle/oak_clay_shingle" },
"facing=north,half=bottom,shape=straight": { "model": "minecolonies:shingle/oak_clay_shingle", "y": 180},
"facing=west,half=bottom,shape=straight": { "model": "minecolonies:shingle/oak_clay_shingle", "y": 90},
"facing=east,half=bottom,shape=straight": { "model": "minecolonies:shingle/oak_clay_shingle", "y": 270},
"facing=east,half=bottom,shape=outer_right": { "model": "minecolonies:shingle/oak_clay_shingle_corner_convex" },
"facing=west,half=bottom,shape=outer_right": { "model": "minecolonies:shingle/oak_clay_shingle_corner_convex", "y": 180},
"facing=south,half=bottom,shape=outer_right": { "model": "minecolonies:shingle/oak_clay_shingle_corner_convex", "y": 90},
"facing=north,half=bottom,shape=outer_right": { "model": "minecolonies:shingle/oak_clay_shingle_corner_convex", "y": 270},
{
"variants": {
"facing=south,half=bottom,shape=straight": { "model": "minecolonies:shingle/oak_clay_shingle" },
"facing=north,half=bottom,shape=straight": { "model": "minecolonies:shingle/oak_clay_shingle", "y": 180},
"facing=west,half=bottom,shape=straight": { "model": "minecolonies:shingle/oak_clay_shingle", "y": 90},
"facing=east,half=bottom,shape=straight": { "model": "minecolonies:shingle/oak_clay_shingle", "y": 270},
"facing=east,half=bottom,shape=outer_right": { "model": "minecolonies:shingle/oak_clay_shingle_corner_convex" },
"facing=west,half=bottom,shape=outer_right": { "model": "minecolonies:shingle/oak_clay_shingle_corner_convex", "y": 180},
"facing=south,half=bottom,shape=outer_right": { "model": "minecolonies:shingle/oak_clay_shingle_corner_convex", "y": 90},
"facing=north,half=bottom,shape=outer_right": { "model": "minecolonies:shingle/oak_clay_shingle_corner_convex", "y": 270},