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
# This file uses centimeters as units for non-parametric coordinates. | |
mtllib cmb2_tesseract.mtl | |
v 0.950000 0.000000 1.050000 | |
v 1.050000 0.000000 1.050000 | |
v 0.950000 1.000000 1.050000 | |
v 1.050000 1.000000 1.050000 | |
v 0.950000 1.000000 0.950000 | |
v 1.050000 1.000000 0.950000 | |
v 0.950000 0.000000 0.950000 |
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
newmtl lambert7SG | |
Kd 1.00 1.00 1.00 | |
Ka 0.00 0.00 0.00 | |
#map_Kd forgedebugmodelloaderregistry:texture | |
map_Kd minecraft:blocks/cobblestone | |
newmtl lambert8SG | |
Kd 1.00 1.00 0.00 | |
Ka 0.00 0.00 0.00 | |
map_Kd minecraft:blocks/cobblestone |
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 RCTickHandler { | |
public static boolean disableTrackItemAnimation = false; | |
public static float rollAmount = 0.0f; | |
public static boolean flipped = false; | |
private Minecraft mc = Minecraft.getMinecraft(); | |
private Field camRoll = ReflectionHelper.findField(EntityRenderer.class, new String[] {"camRoll", "field_78495_O"}); | |
private EntityLivingBase prevViewEntity = mc.renderViewEntity; | |
private EntityPassenger passenger = null; | |
@SubscribeEvent |
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 EntityPassenger extends EntityLivingBase { | |
public EntityLivingBase player = this; | |
public static RCKeyBinding[] rcKeys; | |
public EntityPassenger(World world, RCKeyBinding[] rcKeys) { | |
super(world); | |
width = 0; | |
height = 0; | |
} |
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 final class MultiBlockManager { | |
private static final MultiBlockManager instance = new MultiBlockManager(); | |
private static HashMap structMap = new HashMap(); | |
private boolean haveStructuresBeenRegistered = false; | |
public static MultiBlockManager getInstance() { | |
return instance; | |
} | |
private MultiBlockManager() {} |
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 abstract class MultiBlockStructure { | |
private List<Block> structure = new ArrayList<Block>(); | |
private List<Block> rotated1 = new ArrayList<Block>(); | |
private List<Block> rotated2 = new ArrayList<Block>(); | |
private List<Block> rotated3 = new ArrayList<Block>(); | |
private List<Block> aliases; | |
private int[] aliasIndices; | |
private int[] aliasIndices1; | |
private int[] aliasIndices2; | |
private int[] aliasIndices3; |
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 interface IMultiBlockStructure { | |
public boolean isStructureFormed(int id, TileEntity tileEntity); | |
public boolean checkStructure(int id, World world, int x, int y, int z, ForgeDirection direction, MultiBlockStructure structure); | |
public void registerStructure(); | |
public MultiBlockStructure getStructure(int id); | |
} |
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 MultiBlockTrackFabricator extends MultiBlockStructure { | |
public static MultiBlockTrackFabricator structure = new MultiBlockTrackFabricator(); | |
@Override | |
public void registerStructure() { | |
structure.addLayer(RCBlocks.track_fabricator, "#O#", "O#O", "#F#", '#', RCBlocks.track_fabricator_casing, 'F', RCBlocks.track_fabricator, 'O', RCBlocks.track_fabricator_output); | |
structure.addLayer(null, "#G#", "G G", "#G#", '#', RCBlocks.track_fabricator_casing, 'G', RCBlocks.track_fabricator_glass); | |
structure.addLayer(null, "###", "###", "###", '#', RCBlocks.track_fabricator_casing); | |
structure.setStructureDimensions(3, 3, 3); |
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
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch main | |
git -c diff.mnemonicprefix=false -c core.quotepath=false pull --no-commit --rebase main master | |
From https://github.com/MinecraftForge/MinecraftForge | |
* branch master -> FETCH_HEAD | |
First, rewinding head to replay your work on top of it... | |
error: The following untracked working tree files would be overwritten by checkout: |
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
---- Minecraft Crash Report ---- | |
// But it works on my machine. | |
Time: 6/14/15 12:57 PM | |
Description: Initializing game | |
java.lang.RuntimeException: No base model or submodel provided for this MultiModel.Baked. | |
at net.minecraftforge.client.model.MultiModel$Baked.<init>(MultiModel.java:50) | |
at net.minecraftforge.client.model.MultiModel.bake(MultiModel.java:196) | |
at net.minecraftforge.client.model.ModelLoader$WeightedPartWrapper.bake(ModelLoader.java:390) |