This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package rcteam.rc2.proxy; | |
import net.minecraft.client.renderer.ItemMeshDefinition; | |
import net.minecraft.client.resources.IReloadableResourceManager; | |
import net.minecraft.client.resources.model.ModelResourceLocation; | |
import net.minecraft.item.ItemStack; | |
import net.minecraftforge.client.MinecraftForgeClient; | |
import net.minecraftforge.client.model.ModelLoader; | |
import net.minecraftforge.client.model.ModelLoaderRegistry; | |
import net.minecraft.client.Minecraft; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[15:44:14] [Client thread/ERROR] [FML]: Model definition for location rc2:tile.track_water#inventory not found | |
[15:44:14] [Client thread/ERROR] [FML]: Model definition for location rc2:tile.entrance#inventory not found | |
[15:44:14] [Client thread/ERROR] [FML]: Model definition for location rc2:tile.track_wooden#facing=down not found | |
[15:44:14] [Client thread/ERROR] [FML]: Model definition for location rc2:tile.track_water#facing=west not found | |
[15:44:14] [Client thread/ERROR] [FML]: Model definition for location rc2:item.scoop#inventory not found | |
[15:44:14] [Client thread/ERROR] [FML]: Model definition for location rc2:tile.track_inverted#facing=down not found | |
[15:44:14] [Client thread/ERROR] [FML]: Model definition for location rc2:tile.track_water#facing=down not found | |
[15:44:14] [Client thread/ERROR] [FML]: Model definition for location rc2:tile.track_inverted#facing=west not found | |
[15:44:14] [Client thread/ERROR] [FML]: Model definition for location rc2:item.hammer#inventory not found | |
[15:44:14] [Client thr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import net.minecraft.block.Block; | |
import net.minecraft.block.material.Material; | |
import net.minecraft.block.properties.IProperty; | |
import net.minecraft.block.properties.PropertyBool; | |
import net.minecraft.block.properties.PropertyDirection; | |
import net.minecraft.block.state.BlockState; | |
import net.minecraft.block.state.IBlockState; | |
import net.minecraft.creativetab.CreativeTabs; | |
import net.minecraft.entity.EntityLivingBase; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connected to the target VM, address: '127.0.0.1:49706', transport: 'socket' | |
[13:50:29] [main/INFO]: username: [email protected] | |
[13:50:29] [main/INFO]: Extra: [] | |
[13:50:29] [main/INFO]: Password found, attempting login | |
[13:50:29] [main/INFO]: Logging in with username & password | |
[13:50:31] [main/INFO]: Login Succesful! | |
[13:50:31] [main/INFO]: Running with arguments: [--userProperties, [{"name":"twitch_access_token","value":"fnpsih9tsgq7wgs04619cbzxwfu024d"}], --assetsDir, C:/Users/Gerald/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --userType, mojang, --accessToken, {REDACTED}, --version, 1.8, --uuid, 1487d900d7a847b494cf0cd5ddf9160e, --username, shadekiller666, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] | |
[13:50:31] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | |
[13:50:31] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker | |
[13:50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CoasterPack { | |
public enum Type { | |
FOLDER, ZIP | |
} | |
private Type type; | |
private String name; | |
private ZipFile zipFile; | |
// private HashMap<String, BlockTrack> tracks = new HashMap<>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package rcteam.rc2.proxy; | |
import cpw.mods.fml.client.registry.ClientRegistry; | |
import cpw.mods.fml.common.registry.GameRegistry; | |
import net.minecraft.client.Minecraft; | |
import net.minecraft.client.renderer.texture.TextureAtlasSprite; | |
import net.minecraft.client.renderer.texture.TextureMap; | |
import net.minecraft.client.resources.IResourceManager; | |
import net.minecraft.item.Item; | |
import net.minecraft.util.ResourceLocation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BlockTrackRenderHandler implements ISimpleBlockRenderingHandler { | |
int renderId = -1; | |
public BlockTrackRenderHandler(int renderId) { | |
this.renderId = renderId; | |
} | |
@Override | |
public void renderInventoryBlock(Block block, int metadata, int modelId, RenderBlocks renderer) { | |
if (block instanceof BlockTrack) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package shadekiller666.multiblock.blocks; | |
import net.minecraft.block.Block; | |
import net.minecraft.block.material.Material; | |
import net.minecraft.block.properties.IProperty; | |
import net.minecraft.block.properties.PropertyBool; | |
import net.minecraft.block.properties.PropertyDirection; | |
import net.minecraft.block.state.BlockState; | |
import net.minecraft.block.state.IBlockState; | |
import net.minecraft.creativetab.CreativeTabs; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static Pattern vertexPattern = Pattern.compile("(v( (\\-){0,1}\\d+(\\.\\d+)?){3,4} *\\n)|(v( (\\-){0,1}\\d+(\\.\\d+)?){3,4} *$)"); | |
private static Pattern vertexNormalPattern = Pattern.compile("(vn( (\\-){0,1}\\d+(\\.\\d+)?){3,4} *\\n)|(vn( (\\-){0,1}\\d+(\\.\\d+)?){3,4} *$)"); | |
private static Pattern textureCoordinatePattern = Pattern.compile("(vt( (\\-){0,1}\\d+\\.\\d+){2,3} *\\n)|(vt( (\\-){0,1}\\d+(\\.\\d+)?){2,3} *$)"); | |
private static Pattern face_V_VT_VN_Pattern = Pattern.compile("(f( \\d+/\\d+/\\d+){3,4} *\\n)|(f( \\d+/\\d+/\\d+){3,4} *$)"); | |
private static Pattern face_V_VT_Pattern = Pattern.compile("(f( \\d+/\\d+){3,4} *\\n)|(f( \\d+/\\d+){3,4} *$)"); | |
private static Pattern face_V_VN_Pattern = Pattern.compile("(f( \\d+//\\d+){3,4} *\\n)|(f( \\d+//\\d+){3,4} *$)"); | |
private static Pattern face_V_Pattern = Pattern.compile("(f( \\d+){3,4} *\\n)|(f( \\d+){3,4} *$)"); | |
private static Pattern groupObjectPattern = Pattern.compile("([go]( [\\w\\d\\.]+) *\\n)|([go]( [\\w\\d\\.]+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"forge_marker": 1, | |
"defaults": { | |
"textures": { | |
"#texture": "forgedebugmodelloaderregistry:texture", | |
"#chest": "entity/chest/normal" | |
}, | |
"model": "forgedebugmodelloaderregistry:chest.b3d" | |
}, | |
"variants": { | |
"normal": [{ |