-
Posts
588 -
Joined
-
Last visited
Everything posted by shadowfacts
-
My minecraft cant run my mod but eclipse can?
shadowfacts replied to acampvsbear101's topic in Modder Support
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. -
I don't know, open a new thread.
-
My minecraft cant run my mod but eclipse can?
shadowfacts replied to acampvsbear101's topic in Modder Support
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. -
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
shadowfacts replied to Agoldfish's topic in Modder Support
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
shadowfacts replied to Agoldfish's topic in Modder Support
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. -
Hold on, let me get this straight. You are making a Java mod for Minecraft to load Ruby mods for Minecraft? Why?
-
Using NEI, if you press F9 it will highlight chunks.
-
How do I increase the reach of the player?
shadowfacts replied to memcallen's topic in Modder Support
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?
shadowfacts replied to memcallen's topic in Modder Support
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
shadowfacts replied to AdamEternal's topic in Modder Support
You'll need to use packets to spawn the item on a server. -
What do you mean "send an itemstack to a server"? What do you want the server to do with it?
-
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
shadowfacts replied to AdamEternal's topic in Modder Support
Is there a problem with it? Or, do you just want us to do the work for you? -
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]
shadowfacts replied to nidico100's topic in Modder Support
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?
shadowfacts replied to Ernio's topic in Modder Support
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)
shadowfacts replied to OllyNinjaDude's topic in Modder Support
You'll also need to either save the UUID to NBT or make the Anti-Grief TileEntity also be a chunkloader. -
Too bad, if you want to make a mod for Minecraft you will have to learn Java, because MINECRAFT IS BUILT IN JAVA.
-
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
shadowfacts replied to angellus's topic in Modder Support
Ok, so? Did it work? Or is there still a problem? -
Yay! We can use Markdown instead of BBCode for formatting!
-
Show your build.gradle file.
-
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
shadowfacts replied to angellus's topic in Modder Support
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.