-
Posts
588 -
Joined
-
Last visited
Everything posted by shadowfacts
-
If Java is "way too confusing" for you, then you shouldn't be modding; you will inevitable screw up something major. So, go learn Java.
-
My advice, seeing as you're updating anyways, is to update to 1.8. There are lots of tutorials, some organized, some random topics, and some tutorials that just say "Go look at this code, you can figure it out" (cough cough, TGG). Wuppy's 1.8 tutorials (Structured, very detailed, very well explained) Minecraft Forge's Tutorials board (Completely random, varies, quite useful) TheGreyGhost's MinecraftByExample (Have some code, you can figure it out yourself, very helpful even if you're the kind of person who doesn't learn well this way) -Shadowfacts
-
[1.7.10] Get a block to drop an ore dict block
shadowfacts replied to fallingkitten's topic in Modder Support
Don't use the ore dictionary. Use GameRegistry.findBlock(modId, unlocName) instead. -
The fact that you think it's crappy does not change the fact that if you make any PR to the 1.7.10 branch that does not fix some critical bug, Lex will close it and tell you to move to 1.8.
-
pr as in pull request? As in you are pull requesting custom horse armor into Minecraft Forge for 1.7.10? If you are I can guarantee that Lex is going to close the pull request and tell you to use 1.8.
-
I'm really struggling to make a lightning sword
shadowfacts replied to CyberRocky's topic in Modder Support
Item.java not Block.java -
[1.7.10] Add to variable on item pickup, then delete the item?
shadowfacts replied to Ms_Raven's topic in Modder Support
Yes, it does; it saves the ItemStack which contains the stack size. Use EntityItem.getEntityItem(), which returns an ItemStack (it is poorly name) and use ItemStack.stackSize to find the size. -
[1.7.10] Explosion does not register
shadowfacts replied to BoonieQuafter-CrAfTeR's topic in Modder Support
1. You don't register the entity both as a mod entity and as a global entity, just use registerModEntity 2. Don't use static entity IDs, use a Configuration to allow the user to change it 3. You have redundant checks for this.worldObj.isRemote, you only need one 3. isRemote is true on the client and false on the server, you want to be creating the explosion on the server not the client if (!this.worldObj.isRemote) { this.setDead(); this.worldObj.createExplosion((Entity) null, this.posX, this.posY, this.posZ, 10f, true); } -
C17PacketCustomPayload Packet Sending To Bukkit Server
shadowfacts replied to MCCoding's topic in Modder Support
You don't need FML, diesieben is just saying that you can look at the FMLAT source code for an example of how to use ITweaker. -
Side note: almost all of the code in your TE having to do with energy is copied from the CoFH RF API. If you're going to use their code, include their API, don't copy/paste it.
-
Trying to mod on ubuntu need help setting up src file
shadowfacts replied to ShadowBeastGod's topic in Modder Support
1. Holy fucking shit that formatting is painful to look at. Just use plain black text without any fucking glow, it is really hard to read. 2. Open the folder in a command line and run the command ./gradlew setupDecompWorkspace eclipse Note, you may need to use chmod (requires sudo) to make the gradlew file executable. -
[1.7.10] How to Drag-and-Drop an element in GuiScrollingList?
shadowfacts replied to Abastro's topic in Modder Support
Access Transformers -
Creating an instance of a class freezes up Minecraft?
shadowfacts replied to ashjack's topic in Modder Support
How? It's really not that complicated. P.S. You should join the cool people in IRC, then we can explain how to use GitHub -
What variables?
-
[1.7.10] How to Change Player Model and Texture
shadowfacts replied to Thornack's topic in Modder Support
I'm not sure but I would start by looking at the source code for iChun's Morph mod. -
[1.7.10] Vanilla: Mining lag with custom mod
shadowfacts replied to PotatoGaming's topic in Modder Support
1. Show your code. 2. Are you listening to any events related to block breaking? -
[1.7.10] [Not Solved] IntelliJ freaking out because of forge.
shadowfacts replied to a topic in Modder Support
What gradle tasks did you run to setup the IDEA workspeace? -
You can publish your library mod to a Maven repository and use Gradle to compile it/add it to the workspace. Or, you could use Git submodules, which is basically having one repo (a submodule) embedded inside another and then instructing Gradle to compile it. The latter is the setup I am currently using for my mod and OpenBlocks is using.
-
The arguments in the parameters? What? You mean the parameters of World#spawnParticle?
-
Override addInformation in your Item class and add any aditional data you want to the List of Strings.
-
Why do you need to use findItem? Just reference the Item object in the Items class.
-
Ah, thank you for noticing that, I've updated the link for anyone who happens to stumble across this in the future.
-
Side note: you shouldn't use the package identifier com.sa because you don't own http://sa.com (I'd guess Saudi Arabia does). Instead use something like awesomespider.yourmodnamehere