Everything posted by larsgerrits
-
getting hardness from a block
There is no BlockStateContainer#getBlockHardness method because BlockStateContainer doesn't implement IBlockState itself, it contains the Block 's valid IBlockSate s (hence the name). There is a BlockStateContainer.StateImplementation#getBlockHardness method that implements IBlockState#getBlockHardness . You don't actually need to use the BlockStateContainer.StateImplementation class, you only need to use the IBlockState interface implemented by it. My bad, overlooked that it was in a nested class...
-
getting hardness from a block
I think you should be using BlockStateContainer.getBlockHardness , as that is what all the vanilla methods seem to call. Actually, most deprecated methods in the Block class are called by methods in BlockStateContainer .
-
Uh I don't know what's wrong lol
Minecraft 1.7.10 is no longer supported on this forum. Update to 1.10.2.
-
World Corruption
Problem found! Minecraft Version: 1.7.10. 1.7.10 is no longer supported on this forum. Update to 1.10.2.
-
[1.10] Issues with NBT
Use SlotItemHandler instead of Slot .
-
[1.10] Issues with NBT
Don't use IInventory , use the new Capability system.
-
[SOLVED]Registered Fluid correctly, getting weird texture error
[23:16:10] [Client thread/ERROR] [TEXTURE ERRORS]: Problem: broken aspect ratio and not an animation [23:16:10] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/silage_flowing.png [23:16:10] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/silage_still.png You need to copy the .mcmeta files over too.
-
Item Textures in not showing
We are not going to download a random file from the internet. Post a link to git repository, or use gist.github.com or Pastebin to post your code.
-
[1.10] Using two fluid tanks in one tile entity
Psuedo-code: if (side is up) return tank1 if (side is down) return tank2
-
Forge mods on 1.8 crash
Well, then copy the text into a spoiler tag?
-
Forge mods on 1.8 crash
"Help, me crashing!" What do you want us to do without any logs?
-
[1.10] Using two fluid tanks in one tile entity
The capability methods have an EnumFacing parameter you could use to decide which tank to return.
-
[1.10.2] [SOLVED] Block missing texture in inventory
I had this weird issue where when I fixed the Item model for a Block , the Item ALREADY in my inventory stayed the black-purple box, but the SAME Item had a model in the creative tab. Maybe this is happening to you too.
-
Prevent dualwielding of certain item
After a bit of looking, I couldn't find a way to disable that right now, but maybe someone else finds a way.
-
Sending events by program
But what is your intention? Auto-mining? Right-click bot?
-
How to set up an item model .json file for a meta block?
I think you can replace it with "property=variant", but don't quote me on that.
-
Hea guys need quick help
1.7.10 is no longer supported on this forum. Update to 1.10.2.
-
[1.10][SOLVED]Problems with entity render
You don't need to put the mob-related classes in the server proxy, but instead, they do have to be in the main classes or called from there.
-
Sending events by program
There may be other ways of doing what you want without mouse and keyboard events, so please tell us what you want.
-
Crashing while initializing mods (Phase 3)
1.7.10 is no longer supported on this forum. Update to 1.10.2.
-
Missing Texture without error
Because you never call the method... You can name your methods whatever you want, just be sure to name them something logical.
-
[1.8.9] [CLIENTSIDE][UNSOLVED] How to break a block
Some people don't, but most people do, so I'd be careful when deploying that.
-
[1.8.9] [CLIENTSIDE][UNSOLVED] How to break a block
Probably using packets, but as I said before, it will probably be considered cheating. So if you want any further help, you have to fully explain what you want to do so we don't help cheaters.
-
[1.8.9] [CLIENTSIDE][UNSOLVED] How to break a block
1) Update to 1.10.2. 2) Breaking a block on the client side is either: 1. be client-side only and not be synchronized with the server, thus will be reverted after some time, 2. or it is considered cheating if you find a way to solve issue #1.
-
Internal Server Shutting Down
1.7.10 is no longer supported on this forum. Update to 1.10.2.
IPS spam blocked by CleanTalk.