Everything posted by Animefan8888
-
[1.8.9] Instanly growing trees
Try this while loop (not tested) while(iblockstate.getBlock() instanceof IGrowable && igrowable.canUseBonemeal(worldIn, new Random(), pos, iblockstate) && igrowable.canGrow(worldIn, pos, iblockstate, worldIn.isRemote)) {
-
[1.7.10] Custom dimension crashing on loading WorldProvider
I don't see an = so I will assume no it needs to equal something.
-
[1.7.10] Custom dimension crashing on loading WorldProvider
Is terrainType ever initialized?
-
[1.8.9] Instanly growing trees
Try removing the !world.isRemote it should appear then, currently it is not synced
-
[SOLVED][1.10.2] Render an item inside a block
Re position the spot where you are rendering to center on the block(doubles/floats), and disable the lighting in GL11 or enable which ever works.
-
[1.7.10] Custom dimension crashing on loading WorldProvider
In the log it says line 85
-
[1.8.9] Instanly growing trees
Could you post your code?
-
[1.8.9] Recolouring a 3D item model
Yes.
-
[1.7.10] Custom dimension crashing on loading WorldProvider
Something is null in your chunk manager
-
[1.7.10] Custom dimension crashing on loading WorldProvider
Never mind about the constructor WorldProvider doesn't require one lol. But just remove the abstract modifier when you declare the class.
-
[SOLVED][1.10.2] Render an item inside a block
Look in RenderEntityItem.
-
[1.7.10] Custom dimension crashing on loading WorldProvider
You don't even have a constructor class is abstract if you didn't see my last post.
-
[1.7.10] Custom dimension crashing on loading WorldProvider
You commented out your constuctor in your WorldProvider. *Edit your WorldProvider class is abstract therefore it can't be instantiated.
-
[1.8.9] Instanly growing trees
If bonemeal can be used on it grow() should make it skip a step up specified by the plant. You could use a while loop and the while loop should only run if the plant can be affected by bonemeal and if it is not at it's final stage.
-
[1.7.10] Custom dimension crashing on loading WorldProvider
Could you push to github so I can see every new thing.
-
[1.7.10] Custom dimension crashing on loading WorldProvider
Try doing the registry in the PreLoad method.
-
[1.7.10] Custom dimension crashing on loading WorldProvider
World provider needs to be registered first. Do you ever call DimensionRegistry.mainRegistry();
-
[1.7.10] Custom dimension crashing on loading WorldProvider
Post all of the registry code.
-
[1.7.10] Custom dimension crashing on loading WorldProvider
Did the crash change?
-
[1.7.10] Custom dimension crashing on loading WorldProvider
You also need to register the WorldProvider.
-
Need some help with block rendering.
For the normal variant you need [] as well as {}
-
Need some help with block rendering.
You need a blockstate json and a block model json look into the minecraft jar to see the file structure. And you only need to call ModelLoader once for blocks aswell as items
-
How does the hotbar works?
Like this Minecraft.getMinecraft().getRenderItem().renderItemAndEffectIntoGUI(getStackInSlot(), xPosition, yPosition);
-
How does the hotbar works?
The overlay needs to have access to the itemstacks, from the inventory not the gui.
-
How does the hotbar works?
Since the players inventory is synced between client and server the client has the most updated data most of the time. It accesses the players inventory and displays the ItemStacks from that.
IPS spam blocked by CleanTalk.