-
Posts
1830 -
Joined
-
Last visited
-
Days Won
13
Everything posted by DavidM
-
Game Chrashes on shift click on custom container [1.12.2]
DavidM replied to Schleim_time's topic in Modder Support
Post your code then. -
How to registrate a GUI with container and without tileentity?
DavidM replied to Schleim_time's topic in Modder Support
How many slots do you have? I doubt the problem is the number of slots. Also post your crash. -
Game Chrashes on shift click on custom container [1.12.2]
DavidM replied to Schleim_time's topic in Modder Support
Post your code and crash. -
[1.12.2] How to make a permanent item inventory?
DavidM replied to grillo781's topic in Modder Support
1. See my revised post. 2. ItemStackHandler#serializeNBT. -
[1.12.2] How to make a permanent item inventory?
DavidM replied to grillo781's topic in Modder Support
1. Stop using IHasModel. 2. What is this NBT even for? You are not doing anything with it. 3. You never serialized the ItemStackHandler to NBT in your BeyBladeProvider, thus the content is not saved. You have the serializeNBT method, but it does not save the NBT of the ItemStackHandler. (Hint: Creating a new and completely irrelevant NBTTagCompound and returning it in the serializeNBT method isn't going save your ItemStackHandler.) -
1. Please do not necro old threads. 2. You would be better off to just disable your anti-virus temporarily and download Forge.
-
If you meant the Win10 Edition, then unfortunately you cannot install Forge on that. Forge only works with the Java Edition.
-
You should learn to figure that out by yourself with your IDE (hint: look in the parent class you are extending). That error is a compile time error. Your IDE should tell you what is wrong (syntax error is underlined in red in most IDEs).
-
Yes pretty much. Make sure you have the correct parameters. If you don't know Java, then you need to learn it before making Minecraft mods. Knowledge of Java is required for modding.
-
Override BlockTrapDoor#neighborChanged and leave it empty.
-
That is a compile time error. You should know how to fix it if you know basic Java (again, don't just copy the entire BlockTrapDoor class).
-
1. Stop using static initializers. Read the common issues and recommendations for more details. 2. Stop using IHasModel. Read the common issues and recommendations for more details. 3. There is already a BlockTrapDoor. Extend that instead of copying all the code from that class.
-
Post the error.
-
Irrelevant: You might want to use something like regex to clean up that bunch of if elses. Using sub-string to check if the last few characters equal to "dragon_amulet" would also work. Just don't use a bunch of if elses.
-
How to make custom falling blocks like sand?
DavidM replied to Schleim_time's topic in Modder Support
That would be wrong. You should extend BlockFalling instead. -
is it possible to change empty hand behavior
DavidM replied to assasinwar9's topic in Modder Support
Give the player mining fatigue? Override ItemArmor#onWornTick (can't remember the spelling) and checks the ItemStack the player is holding. If the ItemStack is not empty, drop it. -
The forum updated a few days ago. It seems that the update cleared everyone's profile picture. Some effects of the update that users have experienced are posts prior to the update cannot be found by searching, recently activity cleared in profile, etc.
-
If you meant you wish to replace the texture of the punji sticks, then you might want to create a texture pack instead of a mod. If you wish to remove a block/item from a mod, then remove the recipe(s) for that block/item in one of the inits event. Never remove the registration of the block/item.
-
Sorry. 1.7.10 is no longer supported on this forum due to its age. Update to a modern version of Minecraft to receive support.
-
C++ - What do I need to know to make a Forge injectable client
DavidM replied to jumpak's topic in Modder Support
You are basically asking "how do I build a car with eggs and flour?" The short answer is "you don't". What exactly are you trying to accomplish? Please elaborate. -
If you cannot program, then unfortunately you cannot make a mod. Minecraft modding is programming in Java.
-
[1.12.2] How to remove potion from player delivered from block
DavidM replied to DinoPawz's topic in Modder Support
You probably want if (!world.isRemote) The latter executes the code on the server side.