Everything posted by Animefan8888
-
[1.10.2]Need an algorithm to find a spot to put a grave-chest
Use nested for loops to check what block is there though you will want to start from the center which can be a little tricky. for (int xOff = 0; xOff < radius; xOff++ { // Two more for loops with x and y... // Check all block positions //Do stuff }
-
Throw-able explosive not working properly 1.10
The answer you are looking for is you are not passing the right parameters, look in world at createExplosion it tells you the what each variable is. Also by formatted he means it kinda "cascades". public void example(int i) { if (i == 1) { i = 0; } }
-
[1.8] Block Texture not appearing in world
Post the solution was it the missing variant?
-
[1.8] Block Texture not appearing in world
Are you sure there is still no errors? The only thing I could think of is that you do not have the facing variants...
-
[1.10.2] Adding day/night cycle to the End after killing the Ender Dragon
Also isSkyColored(). *Edit and this @SideOnly(Side.CLIENT) public net.minecraftforge.client.IRenderHandler getSkyRenderer() { return this.skyRenderer; } Basically if "blank" return a different field that will render your sky otherwise it will always render the end sky as it is hardcoded.
-
[1.8] Block Texture not appearing in world
Woops didn't see the 1.8 sign... I was going off of 1.10.2... Where do you register the renders? Where is the blockstate JSON do you have one?
-
[1.8] Block Texture not appearing in world
createBlockState() doesn't return a BlockState it returns a BlockStateContainer, when you are overriding something always put the @Override annotation it helps a lot.
-
[1.10.2] Adding day/night cycle to the End after killing the Ender Dragon
When "blank" happens set hasNoSky to false.
-
[1.8] Block Texture not appearing in world
Wrong method hasTileEntity(IBlockState state) not hasTileEntity() Also remove getRenderType()
-
[1.10.2][CLOSED]Creating Non Existing Blocks
When button is pushed switch a boolean. Then when boolean is true and or false which ever you decide make stuff render.
-
[1.10.2][SOLVED] Saving player data
Read the docs http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/
-
[1.10.2 - 1249] Npe while trying to teleport player
Your Collision bounding box is null. It can not be null or entities can not collide with it.
-
[1.8] Block Texture not appearing in world
Do not extend BlockContainer instead just override hasTileEntity(IBlockState state) and createTileEntity(IblockAccess world, IBlockState state.)
-
[1.10.2] Attempted to load class net/minecraft/client/gui/GuiScreen
You are fine to do that. As in it will not crash the game, but be aware that the server will default back to the super.
-
[1.10.2]NBTTagCompound uncaught exception upon exiting world?
It would allow you to check what stack was returned there with out taking any action and you should be able to call it from the field (assuming it is not private or protected and is initialized. If it is private or protected create a getter method for it).
-
[1.10.2]NBTTagCompound uncaught exception upon exiting world?
You could create a field of ItemStackHandler.
-
Elegant modding and Substitution
- [1.10.02] Entity constructor not working correctly
How are you changing it, I feel the problem is that orientation is not synced between client and server... Look into DataWatcher- [Solved][1.10.2] EntityInteract event seems to fire twice on each side
Okay, I'll try. But do you have a reason, or just guessing. It seems to have exactly the same call hierarchy as EntityInteract does. I am just guessing as I do not know the exact call hierarchy of those events as I haven't messed around with them yet. Haven't really done much since 1.7.10 except the basics... I will try my best to help though.- [Solved][1.10.2] EntityInteract event seems to fire twice on each side
Try using EntityInteractSpecific.- [1.10.02] Entity constructor not working correctly
So where do you check the orientation?- [1.1.0.2] Custom wood EnumType?
If you are using an IDE (hopefully you are and are not using something like notepad) just use your search feature and look for where the method is called. In this case getWoodType() is only ever called from within the leaves classes. Therefore it is not necessary unless some other mod uses it and doesn't check for null for some reason. So maybe just in case return something that works that is not null.- [1.1.0.2] Custom wood EnumType?
You do not need to put anything there, just leave it as null and override all methods using that enum and use your own.- [1.1.0.2] Custom wood EnumType?
Where does it ask for said enum type?- [1.10.02] Entity constructor not working correctly
Are you sure you are calling the right constructor? - [1.10.02] Entity constructor not working correctly
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.