Everything posted by DavidM
-
Game Chrashes on shift click on custom container [1.12.2]
Post your code then.
-
How to registrate a GUI with container and without tileentity?
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]
Post your code and crash.
-
[1.12.2] How to make a permanent item inventory?
1. See my revised post. 2. ItemStackHandler#serializeNBT.
-
[1.12.2] How to make a permanent item inventory?
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.)
-
Forge: does it have viruses?
1. Please do not necro old threads. 2. You would be better off to just disable your anti-virus temporarily and download Forge.
-
Forge won't install
If you meant the Win10 Edition, then unfortunately you cannot install Forge on that. Forge only works with the Java Edition.
-
trouble compiling
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).
-
trouble compiling
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.
-
trouble compiling
Override BlockTrapDoor#neighborChanged and leave it empty.
-
trouble compiling
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).
-
trouble compiling
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.
-
trouble compiling
Post the error.
-
1.12.2 need help for my datafixer
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?
That would be wrong. You should extend BlockFalling instead.
-
is it possible to change empty hand behavior
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.
-
[Solved] Profile image lost
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.
-
Being able to place a block on all directions
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.
-
What is causing this???
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
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.
-
Being able to place a block on all directions
If you cannot program, then unfortunately you cannot make a mod. Minecraft modding is programming in Java.
-
[1.12.2] Render a texture above players to indicate they're typing in chat
Your problem is not related to this thread. Please create your own thread.
-
[1.12.2] How to remove potion from player delivered from block
You probably want if (!world.isRemote) The latter executes the code on the server side.
-
"It looks like you are using an unsupported modified version of the game. The game crashed whilst ticking entity"
Please create your own thread and post you log(s) according to the EAQ.
-
[1.12.2] Block named "Ruby Block" is getting named as tile.ruby_block.name while in-game for what reason?
No. He makes up details. "Hmm... I don't know what this does so I'll just connect some big words together and hopefully the audience won't figure out my mistake." I would recommend some text-based tutorials like https://github.com/TheGreyGhost/MinecraftByExample.
IPS spam blocked by CleanTalk.