Everything posted by Draco18s
-
[1.11.2] Custom Enchantments on Custom Items
With a min-enchantability of 41! it'll almost never get picked, as generally speaking the highest enchantment possible that can show up on an item is ~30. You should also override canApplyAtEnchantingTable and canApply.
-
Getting EntityPlayer in a TickEvent to call another method.
Which player?
-
[1.11.2] Loop through Json file
You shouldn't be manually parsing JSON files. You should be using a deserializer.
-
[1.11]Prevent item to be moved out of the inventory
No. The are at least five ways items can leave the player's inventory and I know for a fact that at least one of them is undetectable. And the other four have no event to prevent.
-
[Solved][1.11.2] Using isRemote before Minecraft.getMinecraft can still cause a crash?
The answer is "yes it will." The reason it isn't has to do with the fact that the server isn't even loading your class, which invalidates the test.
-
[1.11.2] Block not updating other blocks properly and being removed on world reload
> No crash posted
-
[1.11]Prevent item to be moved out of the inventory
No.
-
Proper way to get entity acceleration?
> It crashed > No crash posted > No code posted "Doctor! It hurts!"
-
Item crafted does not persist, but when taken from creative it persists
Uh. Yes. That's....kind of how things work.
-
[1.11.2] [SOLVED] Way of stopping ALL entity motion?
This is because the client is responsible for the player's motion and sends its changes to the server. The server is then resetting the values and updating the client.
-
[UNSOLVED][1.10.2]Need help with TESR and tileentity item
For the record, I'm not ignoring your posts. I just have no fucking idea.
-
[1.8.9] Custom Block Visual Error
....you will also need to override isFullCube and isOpaqueCube and return false.
-
[1.10.2] DamageSource protection
The LivingHurtEvent obviously. And damage sources aren't registered. The just exist. But the source is passed in the event object.
-
IProperties for texture changes 1.10
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 64 column 2 Your json file is invalid.
-
[1.11] [Client-Mod] Get itemstack name being wierd
Diesieben07 is a mod, just FYI.
-
IProperties for texture changes 1.10
Your registry name--and therefor your asset names--must be all lower case.
-
[1.10.2] DamageSource protection
Events.
-
IProperties for texture changes 1.10
Resource paths are already handling the colon: its the asset folder name. You DO have to tweak the lang file entry. That's what I meant. As for block model: always, always, ALWAYS check the log for errors. If you can't find our figure it out, always, always, ALWAYS post it.
-
IProperties for texture changes 1.10
You should not use substring, you should instead update your assets with the new prefix.
-
Why are item textures not displaying?
Method signatures, objects, overriding, events are just the ones i can think of.
-
IProperties for texture changes 1.10
Yes and getBlockState, which returns an IBlockState object, which is sort of a compound of a Block and is metadata.
-
IProperties for texture changes 1.10
You really should set the unlocalized name to the registry name: setUnlocalizedName (getRegistryName ())
-
How to change block material?
I don't know if there is a blockstate based getmaterial method. But that's what you would override.
-
[1.11.2] Another problem about fluid
Go to Entity line 1217, "handleWaterMovement." Follow it down.
-
My server crashes everytime i boot it up [Solved]
Additionally the babyanimals mod is the one causing the problem. It does not appear to be programmed correctly and will not work on servers. You can tell because the crash includes "com/outlook/siribby/babyanimals/model/ModelNewPig" in the first line. Also, this should have gone in Support & Bug Reports. This forum (Modder Support) is for mod development.
IPS spam blocked by CleanTalk.