
Xcox123
Members-
Posts
96 -
Joined
-
Last visited
Everything posted by Xcox123
-
Anyone?
-
[1.7.10] Can't Find the Source Code in Eclipse Package Explorer
Xcox123 replied to benloz10's topic in Modder Support
Referenced Librarays (or where the .jars are in your package explorer) -> forge-1.7.10-bunch-of-numbers.jar -
First yes I know I shouldn't be using 1.6.4 stop telling me, I have my reasons. I followed a tutorial to make a custom world type that was for previous versions(1.4 I think) so I wasn't expecting it to work 100% right first time. However, My world type "works" fine(by that I mean it generates a world using my world type) but the world is completely empty. I know most stuff has changed, so anyone who knows anything about this will look at it facepalming, but I honestly have no idea why nothing is spawning. Here is my code: WorldType declering in my main class: TestWorldType: TestWorldChunkManager: TestWorldChunkProvider: No entities spawning + no structures is on purpose btw
-
how do you make a coremod? or library mod? and use it in your mods?
Xcox123 replied to mrgreaper's topic in Modder Support
Google: ASM Java -
Compiling Minecraft Forge from Github to make it editable.
Xcox123 replied to Xcox123's topic in Modder Support
Sweet that worked! Thanks -
Compiling Minecraft Forge from Github to make it editable.
Xcox123 replied to Xcox123's topic in Modder Support
Pretty sure I just pressed next to everything and let it install. Shall I re-install it quick, and shall I change anything if I do -
Compiling Minecraft Forge from Github to make it editable.
Xcox123 replied to Xcox123's topic in Modder Support
Still got the error: A problem occurred starting process 'command 'git'' -
Compiling Minecraft Forge from Github to make it editable.
Xcox123 replied to Xcox123's topic in Modder Support
I had to do a bit of googling for this, as I didn't know what that meant. I came across this https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge . It said that to initialize the submodules, i had to do git clone --recursive [your URL], and I'm assuming here [your URL] is https://github.com/minecraftforge/fml , as thats what I need to initialize. I have tried this with the MinecraftForge repo and FML repo in different folders, but the folders in the same folder, and tried gradlew setupForge eclipse in both. Then I tried replacing the empty fml folder i have in my repo'd MinecraftForge folder, and replaced it with the FML repo. Then, I got the error, A problem occured starting process 'command git''. Any tips? -
Compiling Minecraft Forge from Github to make it editable.
Xcox123 replied to Xcox123's topic in Modder Support
Error on running "gradlew setupForge" on https://github.com/minecraftforge/minecraftforge Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain I've never used gradle in any other way than setting up a basic modding area, so I have no idea how to fix this(yes I can tell that a class is missing) -
Compiling Minecraft Forge from Github to make it editable.
Xcox123 replied to Xcox123's topic in Modder Support
Sorry if this is a very stupid question, but are you talking about https://github.com/MinecraftForge/ForgeGradle , as setupForge doesn't exist -
I would like to temp edit some minecraft code to test some things, and I was told to compile MinecraftForge via github to change it. How does this work?
-
Haven't checked myself, but check the code for a minecart and hopper or something, as when thats broken it drops both the minecart and hopper seperatly.
-
I want to TEMP edit minecrafts code, so it can only spawn my custom biome(testing purposes). However, I can't. I'm guessing it's because it's in a .jar file, but is it possible?
-
http://bit.ly/SCxYos
-
at net.wowcraft.model.ModelCrate.<init>(ModelCrate.java:114) ~[ModelCrate.class:?] at net.wowcraft.renderer.RenderCrate.<init>(RenderCrate.java:19) ~[RenderCrate.class:?] at net.wowcraft.proxy.ClientProxy.registerRenderThings(ClientProxy.java:12) ~[ClientProxy.class:?] I need your renderer class. As seen here, the error is being caused at java:114 in your ModelCrate class, which is being called in your RenderCrate class at java:19, and again in ClientProxy at java:12. If you could please show those lines of code that would be extremeley helpful ^.^ ~Xcox123
-
I have got a block, that renders an item on a block when right clicked. My problem is that my item is glitching out, or shaking violently. Here is the render code, located in my TileEntitySpecialRenderer class, in renderTileEntityAt method: Also, if you need the rest of the code for any reason - https://github.com/Xcox123/TinkersTweaks/tree/master/java/com/xcox123 The render code is in render - RenderSharpeningStone, I derped with the package making. The rest is in tinkersTweaks.
-
Aka, how do I add an enchantment to an ItemStack?
-
Thanks so much! Fyi you are by far my favourite person here Now I have a completely unrelated question. I have my ItemStack, and I want to enchant it, how do I do that? Not upon crafting, just enchant it. I thought it would be simple(something like ItemStack.enchant) but I can't find any tutorials on it.
-
No, heres my code setup: The item is an ItemStack thats being rendered on top of a block(not able to pickup). I have a bunch of boolean/int 's and can tell when I have right clicked the block 20 times. What I want is, that when I right click it 20 times(I have all that code done and working) I want it to enchant it without it glowing.
-
Sorry, I know this is prob obvious, but how do I enchant an item in code?
-
Simple question, how do I add an enchantment to a tool/weapon without it glowing?
-
Awesome thanks! I got the item rendering above the block! Now my aim is to rotate it I looked into the EntityItem code, which I think is the code that is when you drop an item onto the floor. After looking into that a bit, here is my code: The motionX/Y/z are directly out of the EntityItem class, and I'm using the in renderEntityWithPosYaw - can't find that used in minecraft's entity code anywhere, so that line is just a guess on what it should be(the calling motions bit). My problem is the with this setup, the item spazzes out on my block.
-
Hey guys, (hopefully) easy question here. When calling the EntityItem method, I need to put in the "World". I'm a bit unsure of exactly what it's asking for, but I need it to say the block above another block. To put it in another way, how do I get what block I right clicked, and get a set of co-ords relative to it(one block above it)
-
This code is in my TileEntitySpecialRenderer class, where my model render code is. What do you mean by translare the rendering location GL11.gltranslatef? I haven't used openGL before Also, where is this used in the vannila code? I can't remember any personally