Everything posted by shadowfacts
-
My minecraft cant run my mod but eclipse can?
If is the video you followed then you did it wronge. You have to open up your mod's folder in the command prompt and run the command gradlew build. If you are 100% sure you used gradlew build, the post your build.gradle file.
-
Help with crashing
I don't know, open a new thread.
-
My minecraft cant run my mod but eclipse can?
How did you build your mod? If you didn't use gradlew build, then you need to. When Gradle builds your mod it automagically reobfuscates it. The error you are gettin is because you are trying to use an deobfuscated method in an obfuscated environment.
-
Help with crashing
That's not how proxies work. You should be using the @SidedProxy annotation on one field which is an instance of CommonProxy, call all your proxy methods on that.
-
Custom Items/Blocks have missing textures
Jack2611, if you just have a simple item which doesn't do anything other than what a plain old vanilla item can do, using Item is fine.
-
Custom Items/Blocks have missing textures
For all of the items except for oStick, you've forgotten the : after your mod id. If that still doesn't fix it then, what the exact path case sensitive to the resource.
-
load resources dynamicly
Hold on, let me get this straight. You are making a Java mod for Minecraft to load Ruby mods for Minecraft? Why?
-
[1.7] How to highlight Chunk ?
Using NEI, if you press F9 it will highlight chunks.
-
How do I increase the reach of the player?
You should only need to call this method the first time when your item enters the hotbar and when a player that has the item rejoins the server.
-
How do I increase the reach of the player?
It is quite simple, just need to call setBlockReachDistance like so: ((EntityPlayerMP)entity).theItemInWorldManager.setBlockReachDistance(double distance); You just need to call this method with a double, (the default reach distance according to ItemInWorldManager is 5.0D).
-
Give player item when clicking block? 1.7.10-10.13.2
You'll need to use packets to spawn the item on a server.
-
Send itemstack to server
What do you mean "send an itemstack to a server"? What do you want the server to do with it?
-
Vec3
It is a vector in three dimensions, hence the name Vec3. What do you want to use it for?
-
Give player item when clicking block? 1.7.10-10.13.2
Is there a problem with it? Or, do you just want us to do the work for you?
-
[SOLVED][1.7.10] Custom Output Amount?
Do you mean for a recipe that you added or a recipe from Vanilla Minecraft? If you mean your own recipe, just change the constructor you use for the result ItemStack to new ItemStack(YourItem, qty) where qty is the number of items to output. If you want to modify a recipe from Vanilla, then don't. It is generally a bad idea to mess with Vanilla, you might break compatibility with other mods.
-
[1.7.10] Custom 3D Model like Slime Block from [1.8]
Sessional, nidico100 wants their block to look like the slime block. What he/she wants would not involve using custom bounding box.
-
[SOLVED, coders mistake][1.7.10] How to open Gui with packet?
Instead of using event.player.openGui(...) try using FMLNetworkHandler to open the GUI. This is the code I used to open the GUI for my custom furnace.
-
[Solved] Tile Entity Protection (Anti-Grief)
You'll also need to either save the UUID to NBT or make the Anti-Grief TileEntity also be a chunkloader.
-
[1.7.10]Spawning Lightning Bolts
Too bad, if you want to make a mod for Minecraft you will have to learn Java, because MINECRAFT IS BUILT IN JAVA.
-
Insta Kill
You could have the damage for your weapon be something along the lines of MAX_INT. Or when your weapon is used to attack something, you could find the entity being attacked and just set its health to 0.
-
[1.7.10] Increasing a Player's Step Height
Ok, so? Did it work? Or is there still a problem?
-
New Beta Forums
Yay! We can use Markdown instead of BBCode for formatting!
-
InvokationTargetException
Show your build.gradle file.
-
[1.7.10]Spawning Lightning Bolts
Why are you trying to spawn the entity at (maxDamage, maxDamage, maxDamage)? All three instance of "maxDamage" should be replaced with the x, y, and z coordinates respectively.
-
[1.7.10] Increasing a Player's Step Height
Where do you create the field "thePlayer". If you use something like Minecraft.getMinecraft().thePlayer, it only works on the client side. It might be helpful to look at how Vazkii does it.
IPS spam blocked by CleanTalk.