Everything posted by larsgerrits
-
[1.11] Checking for lethal damage.
Yes, you can use whatever class you want.
-
[1.11] Checking for lethal damage.
I don't know if there's a better way, but I couldn't find a PlayerDeathEvent or something similar. Subscribe to the LivingHurtEvent , and check if the EntityLivingBase is an instanceof EntityPlayer , and if the damage will kill the player and is between your "saving" threshold, set the damage to 0 to not take damage and give him health if you need.
-
{SOLVED} [1.11] Textures for item not showing up
I always use an interface with default methods and only override them in the proxy I need it in. Yes, it forces my mod on Java 8 and higher, but most users should be using Java 8 by now. Also, code that should be on both side shouldn't be in a proxy, as it kinda defeats the purpose of a proxy: code that needs to be run on a specific side, not both.
-
Exception in server tick loop
1.7.10 is no longer supported by Forge.
-
{Solved!!! Finally!!!} [1.10.2] Gui With Chest
hasTileEntity(IBlockState) Return a new instance of your TileEntity . No, you remove that method and keep your code in your TileEntity .
-
Custom Sound Types for Block Sound Events
If you can't figure it out yourself, post the crash log.
-
[1.10.2] Problem with Color Multiplier of Block
Do you by any chance have the ClientProxy override preInit without calling super.preInit() , causing the TileEntity not to be registered on the client side?
-
Door interaction ingame
Powered by Forge 13.19.0.2130 This tells me you are not using the latest version (13.19.1.2195). Update and that should fix it.
-
How to reopen container or replace?
From the video, I'd say you are making new slots with the same IDs, thus having the same ItemStack in both slots.
-
1.11 Exception While adding particle
Remove the mods 1 by 1 (including Optifine) to see what's causing the issue. Probably Optifine being Optifine.
-
Door interaction ingame
Are you using the latest version of Forge (1.11-13.19.1.2195)? Can you post the logs?
-
crash
1.7.10 is no longer supported by Forge.
-
{Solved}[1.10.2] Block texture unable to be located
Minecraft only accepts textures with a size of a multiple of 16x16 pixels. This has nothing to do with the color depth of the image, which indicates how many bits it uses for each color.
-
{Solved}[1.10.2] Block texture unable to be located
Well, seeing it now has to do with your image having a bad signature, you can try saving it again or try to remake the image.
-
Crash Log of 1.7.10 forge with around 180 mods
1.7.10 is no longer supported by Forge.
-
Crashing on crafting - 1.11
Update Forge, this has already been fixed.
-
Help me! :c error :(
Allocate more RAM to Minecraft.
-
Does anyone have a download link to MDKExample?
If you download the MDK, you should get the example with you. Which version did you download, and from where?
-
Loading a new mod - HELP!
There are a lot of jerks on the internet redistributing mods so they generate income instead of the authors of the mods. Sometimes, they contain malware and viruses. They also claim that mods work on the latest version of Minecraft, while they are not made for it. This will, quite clearly, not work. Only download from Curse. the Minecraft Forums and the mod owners' website, if they have one. Only download Forge from the Forge File Server, located here.
-
[SOLVED][1.10.2] Rendering Block's Animated Texture
You made it for a block, which already has the standard animation with mcmeta files. He did it for armor, which doesn't have that, so he had to do it himself.
-
Login in eclipse
In your run configurations, add --username "YourUsername" to your program arguments. If you want to actually log in, you can also add --password the same way you did your username.
-
[Solved] [1.10.2] Blocks not working properly
You should call ModBlocks.registerBlock inside the ModBlocks.registry method, replacing the current GameRegistry.register methods, so you don't register an ItemBlock for each block twice.
-
[1.11] getAllInBox
http://bfy.tw/7454 This should be enough to understand it.
-
[Solved] [1.10.2] Blocks not working properly
Well, to call that method to register a Block , you need to pass in the Block you want to register. So you have to call that method for each block you have.
-
A way to see the number of lines
http://bfy.tw/927r
IPS spam blocked by CleanTalk.