Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GooberGunter

Members
  • Joined

  • Last visited

Everything posted by GooberGunter

  1. What is the best way to generate structures bigger than a chunk? Are there tutorials for it? I've looked it up online and I know that WorldGenerator shouldn't be used for things bigger than a chunk, and I've seen that the bigger structures in minecraft like strongholds and the woodland mansion have chunkproviders, but I haven't found any tutorials on those.
  2. So now that I have a better understanding of this. My goal is to have a structure that is about 30x30, could cause runaway chunk generation since it's more than a chunk. So, would this be the case where I use a chunkprovider? If so, how? are there any tutorials on it?
  3. Thanks, I cleared that method up and its spawning in the world, but Animefan8888, how would I go about clearing the blocks above it? is there a specific method? Or do I have to literally make a method that places a bunch of air blocks right before the rest is generated?
  4. Ok so I updated the classes to: GenHouse World Generator I finally got the game to load, but I had to make the spawn chance .1% and I can't find it. The logger isn't logging in these methods either
  5. OH! What was I doing?! I changed it up a bit, making the chances for it to render lower, but still having the problem private void generateOverworld(WorldGenerator gen, World world, Random rand, int x, int z, int chance) { int randX = x + rand.nextInt(16);//takes the 0/16/32/48 and adds random number between 0 and 15 to have it spawn in any chunk int randZ = z + rand.nextInt(16); int y = world.getHeight(randX, randZ); Random r = new Random(); if(r.nextInt(chance) == 0); gen.generate(world, rand, new BlockPos(randX, y, randZ)); } Wait. Nevermind. The if statement wasn't enclosing generate. When do you use a chunkprovider? Also if anyone knows of any good generation tutorials, could you link them? Thanks
  6. Hey, I'm really new to structure gen and have had nothing to go off of other than the source code of mods and the game itself and I think I'm close to getting it to work. However, when I create a new world, it gets stuck at loading world building terrain. Here is my WorldGen class And here's my WorldGenerator houseGen class I may be way off, but I haven't found an up to date tutorial that explains in as much detail as some of the tutorials I've found about making living entities.
  7. Ugh, I'm really out of it. Thanks! You're a lifesaver!
  8. Ok, that's why. Thanks! I just updated it with the code I originally wanted and I get the enchanted book, but it doesn't have an enchantment, I figured that the following would have worked { "pools": [ { "name":"main", "rolls": 1, "entries": [ { "type": "item", "weight": 100, "name": "enchanted_book", "functions": [{ "function":"enchant_randomly" }] } ] } ] } But I just get a blank enchanted book
  9. I'm trying to make my own loot table, but for some reason, it just isn't working. I got it to work once when I was testing how the json file worked, but I haven't been able to get to work since { "pools": [ { "rolls": 1, "entries": [ { "type": "item", "weight": 100, "name": "minecraft:stone" } ] } ] }
  10. So, I have an animation for walking, but the entity only starts it for a second and jumps to the place it's wandering to instead of walking smoothly. It just move-stops, move-stops, move-stops. Like like a monopoly piece. i.e. it isn't wandering at a contant speed with a far destination, it just skips to a couple blocks in front with a little jitter, instead of wandering like any other mob. package com.ninja3659.explorationexpansion.entitites; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAIAttackMelee; import net.minecraft.entity.ai.EntityAINearestAttackableTarget; import net.minecraft.entity.ai.EntityAIWander; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; public class EntityMindFlayer extends EntityMob{ public EntityMindFlayer(World worldIn) { super(worldIn); this.experienceValue = 20; } @Override protected void entityInit() { super.entityInit(); } @Override protected void initEntityAI() { this.targetTasks.addTask(0, new EntityAINearestAttackableTarget(this, EntityPlayer.class, true, false)); this.tasks.addTask(0, new EntityAIAttackMelee(this, .5D, true)); this.tasks.addTask(3, new EntityAIWander(this, 1D));//compare to EntityPig } @Override protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(10); this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(.000001D); this.getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(2); this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(20); this.getEntityAttribute(SharedMonsterAttributes.MAX_HEALTH).setBaseValue(32); } @Override public void onLivingUpdate() { super.onLivingUpdate(); } } EDIT: TIL, I suck at searching problems on google. I put the update frequency way too high.
  11. public EntityChimera(World world) { super(world); this.targetTasks.addTask(0, new EntityAINearestAttackableTarget(this, EntityPlayer.class, true, true)); this.targetTasks.addTask(1, new EntityAIAttackMelee(this, .25D, true)); this.tasks.addTask(2, new EntityAIMoveTowardsRestriction(this, .25D)); this.tasks.addTask(4, new EntityAIWander(this, .25D)); this.tasks.addTask(5, new EntityAIWatchClosest(this, EntityPlayer.class, 20f)); this.tasks.addTask(6, new EntityAILookIdle(this)); setSize(2.0F, 2.0F); } I fixed it but it still just sits there and runs around once in a great while, it still doesn't attack the player
  12. So I've listed a the following tasks and when I test run minecraft, my mob just sits there and only once in a while pursues and attacks the player for like 2 seconds, only attacking a maximum of 2 times and then stops and sits there again. I have extended the custom mob's EntityClass to EntityMob and have declared a damage amount already. Here is the entity class public EntityChimera(World world) { super(world); this.tasks.addTask(0, new EntityAINearestAttackableTarget(this, EntityPlayer.class, true, true)); this.tasks.addTask(1, new EntityAIAttackMelee(this, 1.0D, true)); this.tasks.addTask(2, new EntityAIMoveTowardsRestriction(this, 1.0D)); this.tasks.addTask(4, new EntityAIWander(this, 1.5D)); this.tasks.addTask(5, new EntityAIWatchClosest(this, EntityPlayer.class, 20f)); this.tasks.addTask(6, new EntityAILookIdle(this)); setSize(2.0F, 2.0F); } More than anything, the mob just sits there and does nothing. I've watched a multitude of tutorials, but it doesn't seem like any of them do something different. Maybe I missed it, but I don't think so. I'm trying to get my mob to hunt down the player like all other mobs, but I think I'm missing something EDIT: turns out that when I edited it, I took out the AttackMelee task
  13. Hi, I know how to make custom creative tabs and the basics. I'm trying to add the spawn eggs that are created during the EntityRegistry to a custom creative tab, but I don't know where i should use the .setCreativeTab() method. I traced the spawn egg creation as far as EntityEggInfo, but that didn't really help.
  14. Hey, Techne kinda doesn't work well for me, my models are turning out weird, and as far as I know, it is no longer being worked on. What would be a good program to use that allows me to make a model and export it into a model class like techne? Or is there a new method using json files?
  15. I am calling both methods in the pre-init. First the entity registry and then the rendering registry through the proxy, like so: @EventHandler public void preInit(FMLPreInitializationEvent event) { Utils.getLogger().info("Pre Initialize"); ModItems.init(); ModTools.init(); ModBlocks.init(); ModItems.register(); ModTools.regeister(); ModBlocks.register(); ModEntities.init(); proxy.registerRenders(); } I don't see any error in the prompt about the model, it's just invisible Edit: Does forge not render the model of an entity if it doesn't have a texture. EDIT: The problem WAS the texture. I was under the impression that if the texture can't be found, the entity renders as white.
  16. Thanks so much for the help, it doesn't crash anymore, but now the model is invisible: current entityregistry: public class ModEntities { public static void init() { //id of mob local to this mod int entityID = 1; EntityRegistry.registerModEntity(new ResourceLocation("neem:chimera"), EntityChimera.class, "Chimera", ++entityID, ExplorationExpansion.instace, 64, 3, true, 0xF5C56B, 0xC43232); } } updated RenderRegistry: RenderingRegistry.registerEntityRenderingHandler(EntityChimera.class, new IRenderFactory<EntityChimera>() { @Override public Render<? super EntityChimera> createRenderFor(RenderManager manager) { return new RenderChimera(manager); } }); It looks like the compiler is still treating the chimera as a minecraft entity instead of an entity in my mod, how do I change this? I know this is the last thing you talked about in your post, but I don't know exactly where in the code, you're talking about.
  17. Hi, this is my first time tackling custom mobs and the game is crashing when the game has to render my custom mob. Here is the crash report: [01:18:36] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@10e51ac0[id=8b8434b7-4246-3db8-89e4-a51a52bc8fc9,name=Player882,properties={},legacy=false] com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:79) ~[YggdrasilAuthenticationService.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) [YggdrasilMinecraftSessionService.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) [YggdrasilMinecraftSessionService$1.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) [YggdrasilMinecraftSessionService$1.class:?] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?] at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) [YggdrasilMinecraftSessionService.class:?] at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3056) [Minecraft.class:?] at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_131] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_131] at java.lang.Thread.run(Unknown Source) [?:1.8.0_131] [01:18:38] [Server thread/INFO]: Player882 has just earned the achievement [Taking Inventory] [01:18:38] [Client thread/INFO]: [CHAT] Player882 has just earned the achievement [Taking Inventory] [01:18:43] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2044ms behind, skipping 40 tick(s) [01:18:45] [Client thread/ERROR]: Couldn't render entity java.lang.NullPointerException at net.minecraft.client.renderer.entity.Render.bindTexture(Render.java:130) ~[Render.class:?] at net.minecraft.client.renderer.entity.Render.bindEntityTexture(Render.java:123) ~[Render.class:?] at net.minecraft.client.renderer.entity.RenderLivingBase.renderModel(RenderLivingBase.java:249) ~[RenderLivingBase.class:?] at net.minecraft.client.renderer.entity.RenderLivingBase.doRender(RenderLivingBase.java:181) [RenderLivingBase.class:?] at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:51) [RenderLiving.class:?] at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:16) [RenderLiving.class:?] at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:389) [RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:373) [RenderManager.class:?] at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:653) [RenderGlobal.class:?] at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1389) [EntityRenderer.class:?] at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1303) [EntityRenderer.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:407) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] [01:18:46] [Server thread/INFO]: Stopping server [01:18:46] [Server thread/INFO]: Saving players [01:18:46] [Server thread/INFO]: Saving worlds [01:18:46] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [01:18:47] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [01:18:47] [Server thread/INFO]: Saving chunks for level 'New World'/The End [01:18:47] [Server thread/INFO] [FML]: Unloading dimension 0 [01:18:47] [Server thread/INFO] [FML]: Unloading dimension -1 [01:18:47] [Server thread/INFO] [FML]: Unloading dimension 1 [01:18:47] [Server thread/INFO] [FML]: Applying holder lookups [01:18:47] [Server thread/INFO] [FML]: Holder lookups applied [01:18:48] [Client thread/FATAL]: Reported exception thrown! net.minecraft.util.ReportedException: Rendering entity in world at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:431) ~[RenderManager.class:?] at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:373) ~[RenderManager.class:?] at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:653) ~[RenderGlobal.class:?] at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1389) ~[EntityRenderer.class:?] at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1303) ~[EntityRenderer.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106) ~[EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:407) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.lang.NullPointerException at net.minecraft.client.renderer.entity.RenderLivingBase.canRenderName(RenderLivingBase.java:529) ~[RenderLivingBase.class:?] at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:26) ~[RenderLiving.class:?] at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:16) ~[RenderLiving.class:?] at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:484) ~[RenderLivingBase.class:?] at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:25) ~[RenderLivingBase.class:?] at net.minecraft.client.renderer.entity.Render.doRender(Render.java:67) ~[Render.class:?] at net.minecraft.client.renderer.entity.RenderLivingBase.doRender(RenderLivingBase.java:208) ~[RenderLivingBase.class:?] at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:51) ~[RenderLiving.class:?] at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:16) ~[RenderLiving.class:?] at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:389) ~[RenderManager.class:?] ... 20 more [01:18:48] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ---- // I'm sorry, Dave. Time: 7/10/17 1:18 AM Description: Rendering entity in world java.lang.NullPointerException: Rendering entity in world at net.minecraft.client.renderer.entity.RenderLivingBase.canRenderName(RenderLivingBase.java:529) at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:26) at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:16) at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:484) at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:25) at net.minecraft.client.renderer.entity.Render.doRender(Render.java:67) at net.minecraft.client.renderer.entity.RenderLivingBase.doRender(RenderLivingBase.java:208) at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:51) at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:16) at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:389) at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:373) at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:653) at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1389) at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1303) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140) at net.minecraft.client.Minecraft.run(Minecraft.java:407) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at net.minecraft.client.renderer.entity.RenderLivingBase.canRenderName(RenderLivingBase.java:529) at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:26) at net.minecraft.client.renderer.entity.RenderLiving.canRenderName(RenderLiving.java:16) at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:484) at net.minecraft.client.renderer.entity.RenderLivingBase.renderName(RenderLivingBase.java:25) at net.minecraft.client.renderer.entity.Render.doRender(Render.java:67) at net.minecraft.client.renderer.entity.RenderLivingBase.doRender(RenderLivingBase.java:208) at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:51) at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:16) -- Entity being rendered -- Details: Entity Type: minecraft:chimera (com.ninja3659.explorationexpansion.entitites.EntityChimera) Entity ID: 348 Entity Name: entity.Chimera.name Entity's Exact location: 242.50, 64.00, 221.50 Entity's Block location: World: (242,64,221), Chunk: (at 2,4,13 in 15,13; contains blocks 240,0,208 to 255,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Entity's Momentum: 0.00, 0.00, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null -- Renderer details -- Details: Assigned renderer: com.ninja3659.explorationexpansion.renders.RenderChimera@493c0ba8 Location: -2.50,0.00,0.60 - World: (-3,0,0), Chunk: (at 13,0,0 in -1,0; contains blocks -16,0,0 to -1,255,15), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Rotation: 42.1875 Delta: 0.1636647 Stacktrace: at net.minecraft.client.renderer.entity.RenderManager.doRenderEntity(RenderManager.java:389) at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:373) at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:653) at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1389) at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1303) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityPlayerSP['Player882'/258, l='MpServer', x=245.00, y=64.00, z=220.90]] Chunk stats: MultiplayerChunkCache: 482, 482 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (240,64,212), Chunk: (at 0,4,4 in 15,13; contains blocks 240,0,208 to 255,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 1009 game time, 1009 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 69 total; [EntityPlayerSP['Player882'/258, l='MpServer', x=245.00, y=64.00, z=220.90], EntityCreeper['Creeper'/133, l='MpServer', x=280.50, y=22.00, z=174.50], EntityChicken['Chicken'/134, l='MpServer', x=284.47, y=73.00, z=168.82], EntityChicken['Chicken'/135, l='MpServer', x=274.50, y=73.00, z=189.50], EntityChicken['Chicken'/136, l='MpServer', x=276.34, y=73.00, z=184.44], EntityChicken['Chicken'/137, l='MpServer', x=276.80, y=73.00, z=185.92], EntityBat['Bat'/138, l='MpServer', x=285.50, y=44.52, z=235.87], EntityBat['Bat'/139, l='MpServer', x=285.25, y=44.06, z=236.25], EntityZombie['Zombie'/140, l='MpServer', x=284.50, y=45.00, z=246.50], EntityCreeper['Creeper'/141, l='MpServer', x=284.47, y=44.00, z=243.36], EntityCreeper['Creeper'/142, l='MpServer', x=284.30, y=45.00, z=245.57], EntityCreeper['Creeper'/143, l='MpServer', x=273.50, y=24.00, z=260.50], EntitySquid['Squid'/145, l='MpServer', x=288.73, y=57.80, z=278.49], EntityCreeper['Creeper'/148, l='MpServer', x=293.51, y=12.00, z=150.22], EntityEnderman['Enderman'/149, l='MpServer', x=300.29, y=25.00, z=168.30], EntitySkeleton['Skeleton'/150, l='MpServer', x=300.59, y=25.00, z=168.95], EntityPig['Pig'/151, l='MpServer', x=300.23, y=74.00, z=168.30], EntitySpider['Spider'/152, l='MpServer', x=297.30, y=13.10, z=190.30], EntityZombie['Zombie'/153, l='MpServer', x=296.50, y=15.00, z=190.50], EntityCreeper['Creeper'/154, l='MpServer', x=293.50, y=15.00, z=191.50], EntitySkeleton['Skeleton'/155, l='MpServer', x=290.55, y=25.00, z=191.69], EntityPig['Pig'/156, l='MpServer', x=300.50, y=75.00, z=179.50], EntityPig['Pig'/157, l='MpServer', x=290.72, y=74.00, z=179.66], EntityPig['Pig'/158, l='MpServer', x=298.54, y=75.00, z=179.76], EntitySkeleton['Skeleton'/159, l='MpServer', x=283.70, y=35.03, z=199.23], EntityZombie['Zombie'/160, l='MpServer', x=292.28, y=23.00, z=196.52], EntitySkeleton['Skeleton'/161, l='MpServer', x=290.49, y=27.00, z=203.21], EntityCreeper['Creeper'/162, l='MpServer', x=295.51, y=18.00, z=196.21], EntitySlime['Slime'/164, l='MpServer', x=320.85, y=27.09, z=172.60], EntityCreeper['Creeper'/165, l='MpServer', x=307.46, y=39.00, z=201.82], EntityCreeper['Creeper'/166, l='MpServer', x=304.61, y=39.00, z=214.82], EntitySkeleton['Skeleton'/38, l='MpServer', x=172.77, y=52.00, z=260.53], EntitySkeleton['Skeleton'/167, l='MpServer', x=305.50, y=43.00, z=216.50], EntityCreeper['Creeper'/168, l='MpServer', x=312.58, y=47.00, z=256.19], EntityCreeper['Creeper'/178, l='MpServer', x=324.18, y=13.00, z=186.48], EntityBat['Bat'/179, l='MpServer', x=324.52, y=39.10, z=176.71], EntitySkeleton['Skeleton'/55, l='MpServer', x=189.50, y=19.00, z=244.50], EntitySkeleton['Skeleton'/56, l='MpServer', x=189.50, y=19.00, z=246.50], EntitySkeleton['Skeleton'/57, l='MpServer', x=182.85, y=47.00, z=252.46], EntitySkeleton['Skeleton'/58, l='MpServer', x=176.50, y=54.00, z=268.50], EntitySquid['Squid'/59, l='MpServer', x=192.34, y=62.52, z=258.70], EntitySquid['Squid'/64, l='MpServer', x=201.57, y=53.26, z=173.27], EntitySquid['Squid'/65, l='MpServer', x=202.96, y=46.00, z=177.43], EntitySquid['Squid'/66, l='MpServer', x=205.46, y=59.52, z=183.63], EntitySquid['Squid'/67, l='MpServer', x=211.65, y=58.65, z=181.37], EntitySquid['Squid'/68, l='MpServer', x=208.60, y=52.18, z=201.60], EntitySquid['Squid'/69, l='MpServer', x=200.40, y=48.00, z=204.60], EntitySquid['Squid'/70, l='MpServer', x=200.20, y=61.98, z=263.45], EntitySquid['Squid'/71, l='MpServer', x=207.90, y=58.75, z=260.34], EntitySquid['Squid'/72, l='MpServer', x=206.14, y=60.69, z=278.00], EntitySquid['Squid'/79, l='MpServer', x=214.08, y=55.00, z=191.60], EntitySquid['Squid'/80, l='MpServer', x=207.60, y=48.98, z=192.01], EntityZombie['Zombie'/81, l='MpServer', x=221.50, y=26.00, z=240.50], EntitySquid['Squid'/82, l='MpServer', x=202.74, y=61.69, z=270.33], EntitySquid['Squid'/83, l='MpServer', x=207.79, y=57.31, z=286.94], EntityZombie['Zombie'/90, l='MpServer', x=235.50, y=36.00, z=294.61], EntityCreeper['Creeper'/91, l='MpServer', x=236.50, y=37.00, z=293.50], EntityChimera['entity.Chimera.name'/348, l='MpServer', x=242.50, y=64.00, z=221.50], EntityZombie['Zombie'/103, l='MpServer', x=240.22, y=13.00, z=193.55], EntityBat['Bat'/104, l='MpServer', x=254.75, y=26.10, z=251.43], EntitySquid['Squid'/105, l='MpServer', x=252.31, y=61.40, z=257.36], EntitySkeleton['Skeleton'/106, l='MpServer', x=243.79, y=22.00, z=263.56], EntityBat['Bat'/107, l='MpServer', x=239.25, y=24.10, z=250.25], EntityZombie['Zombie'/116, l='MpServer', x=264.30, y=30.00, z=142.14], EntityBat['Bat'/121, l='MpServer', x=271.25, y=41.10, z=180.75], EntityCreeper['Creeper'/122, l='MpServer', x=260.44, y=28.00, z=195.80], EntityBat['Bat'/123, l='MpServer', x=257.62, y=31.06, z=199.59], EntitySkeleton['Skeleton'/124, l='MpServer', x=262.71, y=20.00, z=256.50], EntityCreeper['Creeper'/125, l='MpServer', x=271.50, y=24.00, z=264.50]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:456) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2774) at net.minecraft.client.Minecraft.run(Minecraft.java:428) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) -- System Details -- Details: Minecraft Version: 1.11.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_131, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 700527696 bytes (668 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP 9.38 Powered by Forge 13.20.1.2393 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA minecraft{1.11.2} [Minecraft] (minecraft.jar) UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.1.2393.jar) UCHIJAAAA forge{13.20.1.2393} [Minecraft Forge] (forgeSrc-1.11.2-13.20.1.2393.jar) UCHIJAAAA neem{1.0-alpha} [Exploration Expansion] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 21.20.16.4550' Renderer: 'Intel(R) HD Graphics 520' Launched Version: 1.11.2 LWJGL: 2.9.4 OpenGL: Intel(R) HD Graphics 520 GL version 4.4.0 - Build 21.20.16.4550, Intel GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: Current Language: English (US) Profiler Position: N/A (disabled) CPU: 4x Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz [01:18:48] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\JEHan\Desktop\Exploration Expanded\run\.\crash-reports\crash-2017-07-10_01.18.48-client.txt AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release When I run this line in the Client Proxy RenderingRegistry.registerEntityRenderingHandler(EntityChimera.class, new RenderChimera(new ModelChimera(), .5F)); it causes the game to crash whenever the game has to render the model. But without it, the model is just a big white cube in-game. Here is my ModEntities class just in case package com.ninja3659.explorationexpansion.init; import com.ninja3659.explorationexpansion.ExplorationExpansion; import com.ninja3659.explorationexpansion.entitites.EntityChimera; import net.minecraft.client.Minecraft; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fml.client.registry.RenderingRegistry; import net.minecraftforge.fml.common.registry.EntityRegistry; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class ModEntities { public static void init() { //id of mob local to this mod int id =1; EntityRegistry.registerModEntity(new ResourceLocation("chimera"), EntityChimera.class, "Chimera", id++, ExplorationExpansion.instace, 64, 3, true, 0xF5C56B, 0xC43232); } } And my RenderChimera Class package com.ninja3659.explorationexpansion.renders; import javax.annotation.Nonnull; import com.ninja3659.explorationexpansion.Reference; import com.ninja3659.explorationexpansion.entitites.EntityChimera; import net.minecraft.client.Minecraft; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelChicken; import net.minecraft.client.model.ModelZombie; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLeashKnot; import net.minecraft.util.ResourceLocation; import net.minecraft.world.gen.ChunkProviderSettings.Factory; import net.minecraftforge.fml.client.registry.IRenderFactory; public class RenderChimera extends RenderLiving{ protected ResourceLocation chimeraTextures; public RenderChimera(ModelBase model, float shadowsize) { super(Minecraft.getMinecraft().getRenderManager(), model, shadowsize); setEntityTexture(); } protected void setEntityTexture() { chimeraTextures = new ResourceLocation(Reference.MOD_ID+"textures/entity/chimera/chimera.png"); } protected ResourceLocation func_180572_a(EntityChimera entity) { return chimeraTextures; } protected ResourceLocation getEntityTexture(Entity entity) { return this.func_180572_a((EntityChimera)entity); } }

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.