Everything posted by lexy
-
[1.10.2] Tank will not keep data when harvested
*obsolete* can't seem to be able to delete this though
-
How can I get AbstractClientPlayer
Minecraft.getMinecraft().player is an EntityPlayerSP which is a AbstractClientPlayer (see inheritance hierarchy below). Why do you say it isn't the right one?
-
I cannot figure out how to use mods with forge
Hi ajago359! It's likely this is some version problem. Could you please post the links you've used to download forge and SkyFactory 3 mod?
-
[Solved] [1.12] No item texture or render
@Draco18s I do want it to display differently since I currently have no reason to believe the json is being taken into consideration. That's why i first ask for any logged errors.
-
Custom Dimension - Array Index Out of Bounds Exception
Cool. Could you also tell me a bit where you copied the original code from? As Draco pointed out your "a" variable gets slightly out of hand. This is most likely because of your 3 loops: for(int j = 0; j < 5; j++) { for(int k = 0; k < 5; k++) { ... for (int n = 0; n < 33; n++) { This can actually get you up to 5 x 5 x 33 = 825 pretty quickly. It's likely you want int j = 0; j < 4 , int k = 0; k < 4, int n = 0; n < 32 which should index the heightmap up to 512 = 4 x 4 x 32 . Exception helps you out by pointing: java.lang.ArrayIndexOutOfBoundsException: 513 at harry.harrysmod.world.dimension.NormalTerrainGen.generateHeightmap(NormalTerrainGen.java:160) So it's likely value 513 for the indexing variable "a" is the ofender while previous values (e.g. 512) were not, hence my idea of limiting it to 512.
-
Custom Dimension - Array Index Out of Bounds Exception
Hi! Could you please post the full exception message? Thanks!
-
[Solved] [1.12] No item texture or render
Do you get any errors in console while the game world loads? Can you share the full code on some github? I'll try to boot it up as well, don't see any particular thing out of the ordinary. The first thing i'd do is set some display property for first / third person on your imbuedstick.json, see if that changes anything. For you it should look like: { "parent": "item/generated", "textures": { "layer0": "mirenergy:items/imbuedstick" }, "display": { "thirdperson": { "rotation": [-90,0,0], "translation": [0,1,-3], "scale": [0.55,0.55,0.55] }, "firstperson": { "rotation": [0,-135,25], "translation": [0,4,2], "scale": [1.7,1.7,1.7] } } }
IPS spam blocked by CleanTalk.