Hello, I'm current attempting to make a mob that travels a fairly large distance from their spawn point - about 200 blocks. Is this possible without a significant drop in framerate?
I dislike it when the villagers don't use the house around the edges of village. I'm hoping that if I increase the village radius the villagers will start to use the houses around the outskirts since they'll be able to move farther away from the village center.
Hello, I was wondering if there was a was I could mount a mob on a horse. I'll tried to copy some code from the skeleton riders event but it fails to work in game.
The code I copied.
this.horse = new EntityHorse(this.world);
horse.setPosition((double)this.posX, (double)this.posY, (double)this.posZ);
horse.setHorseTamed(true);
this.world.spawnEntity(horse);
this.startRiding(horse);
The only noticeable thing that happens is this printing to the console:
Hello, I've been trying to increase the radius of a vanilla village by 2. I've looked around through the vanilla code and I couldn't find anything that'll allow me to access the field, edit it and permanently keep the value of the int double it's value. Mainly due to this line of code in the Village.class update method.
I crashed when I tried to switch tabs in the creative inventory
---- Minecraft Crash Report ----
// Would you like a cupcake?
Time: 5/19/13 10:53 AM
Description: Rendering screen
java.lang.NullPointerException
at quivermod.QuiverMod$2.func_78012_e(QuiverMod.java:127)
at net.minecraft.creativetab.CreativeTabs.func_78016_d(CreativeTabs.java:90)
at net.minecraft.creativetab.CreativeTabs.getIconItemStack(CreativeTabs.java:209)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_74233_a(GuiContainerCreative.java:904)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_74185_a(GuiContainerCreative.java:731)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(ayl.java:80)
at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:31)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:664)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1155)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:870)
at net.minecraft.client.Minecraft.run(Minecraft.java:759)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at quivermod.QuiverMod$2.func_78012_e(QuiverMod.java:127)
at net.minecraft.creativetab.CreativeTabs.func_78016_d(CreativeTabs.java:90)
at net.minecraft.creativetab.CreativeTabs.getIconItemStack(CreativeTabs.java:209)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_74233_a(GuiContainerCreative.java:904)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_74185_a(GuiContainerCreative.java:731)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(ayl.java:80)
at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:31)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:664)
0
Hello, I'm current attempting to make a mob that travels a fairly large distance from their spawn point - about 200 blocks. Is this possible without a significant drop in framerate?
0
Thanks Guys, my problem is solved.
As you can see the villagers are spread out more evenly.
0
So this would require me to remake the villager.class? Or just override that particular AI task?
0
I dislike it when the villagers don't use the house around the edges of village. I'm hoping that if I increase the village radius the villagers will start to use the houses around the outskirts since they'll be able to move farther away from the village center.
0
Nevermind I fixed my problem by putting the code above into it's own method that gets called in the update method rather than the constructor.
0
But doesn't MapGenVillage have nothing to do with village radius?
0
Hello, I was wondering if there was a was I could mount a mob on a horse. I'll tried to copy some code from the skeleton riders event but it fails to work in game.
The only noticeable thing that happens is this printing to the console:
0
Thanks
0
Thanks, I'll try that out... Nice mods by the way.
0
Yes, I've even used reflection in my mod, however since this line of code:
I can't increase the villageRadius past 32.
It gets called repeatedly in the update method.
0
Hello, I've been trying to increase the radius of a vanilla village by 2. I've looked around through the vanilla code and I couldn't find anything that'll allow me to access the field, edit it and permanently keep the value of the int double it's value. Mainly due to this line of code in the Village.class update method.
Is there a way I could increase the radius?
Thanks.
1
I have this problem too. Other than that the mod runs fine for me.
0
0
---- Minecraft Crash Report ----
// Would you like a cupcake?
Time: 5/19/13 10:53 AM
Description: Rendering screen
java.lang.NullPointerException
at quivermod.QuiverMod$2.func_78012_e(QuiverMod.java:127)
at net.minecraft.creativetab.CreativeTabs.func_78016_d(CreativeTabs.java:90)
at net.minecraft.creativetab.CreativeTabs.getIconItemStack(CreativeTabs.java:209)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_74233_a(GuiContainerCreative.java:904)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_74185_a(GuiContainerCreative.java:731)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(ayl.java:80)
at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:31)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:664)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1155)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:870)
at net.minecraft.client.Minecraft.run(Minecraft.java:759)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at quivermod.QuiverMod$2.func_78012_e(QuiverMod.java:127)
at net.minecraft.creativetab.CreativeTabs.func_78016_d(CreativeTabs.java:90)
at net.minecraft.creativetab.CreativeTabs.getIconItemStack(CreativeTabs.java:209)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_74233_a(GuiContainerCreative.java:904)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_74185_a(GuiContainerCreative.java:731)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(ayl.java:80)
at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:31)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:664)
-- Screen render details --
Details:
Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
Mouse location: Scaled: (296, 16). Absolute: (593, 446)
Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['kshadow12'/526, l='MpServer', x=51.50, y=65.62, z=-123.50]]
Chunk stats: MultiplayerChunkCache: 441
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (58,4,-122), Chunk: (at 10,0,6 in 3,-8; contains blocks 48,0,-128 to 63,255,-113), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 264 game time, 264 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: 18 total; [EntityCow['Cow'/687, l='MpServer', x=106.50, y=64.00, z=-97.50], MoCEntityMaggot['Maggot'/610, l='MpServer', x=90.50, y=64.00, z=-19.50], EntityCow['Cow'/686, l='MpServer', x=108.50, y=64.00, z=-99.50], MoCEntitySnake['Snake'/685, l='MpServer', x=0.50, y=64.00, z=-61.50], MoCEntityBird['Bird'/684, l='MpServer', x=-1.87, y=64.15, z=-53.66], MoCEntityMaggot['Maggot'/609, l='MpServer', x=90.53, y=64.00, z=-24.53], MoCEntityBird['Bird'/683, l='MpServer', x=2.50, y=64.00, z=-57.50], MoCEntityBird['Bird'/681, l='MpServer', x=-4.50, y=64.00, z=-62.50], MoCEntityRaccoon['Raccoon'/620, l='MpServer', x=18.03, y=64.00, z=-195.91], MoCEntityRaccoon['Raccoon'/621, l='MpServer', x=20.50, y=64.00, z=-193.50], MoCEntityButterfly['ButterFly'/504, l='MpServer', x=105.53, y=64.00, z=-203.88], EntityChicken['Chicken'/505, l='MpServer', x=95.26, y=64.00, z=-88.65], EntityChicken['Chicken'/506, l='MpServer', x=105.50, y=64.00, z=-90.50], MoCEntityMaggot['Maggot'/500, l='MpServer', x=9.50, y=64.00, z=-61.50], MoCEntityMaggot['Maggot'/501, l='MpServer', x=13.60, y=64.00, z=-62.61], MoCEntityButterfly['ButterFly'/502, l='MpServer', x=107.50, y=64.00, z=-207.50], MoCEntityButterfly['ButterFly'/503, l='MpServer', x=103.68, y=64.00, z=-205.98], EntityClientPlayerMP['kshadow12'/526, l='MpServer', x=51.50, y=65.62, z=-123.50]]
Retry entities: 0 total; []
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:441)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2413)
at net.minecraft.client.Minecraft.run(Minecraft.java:775)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.5.2
Operating System: Windows Vista (x86) version 6.0
Java Version: 1.7.0_10, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 200430152 bytes (191 MB) / 598056960 bytes (570 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 2169 (121464 bytes; 0 MB) allocated, 313 (17528 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.51 FML v5.2.2.684 Minecraft Forge 7.8.0.684 Optifine OptiFine_1.5.2_HD_U_D2 12 mods loaded, 12 mods active
mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{5.2.2.684} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{7.8.0.684} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
GuiAPI{0.15.6} [GuiAPI] (GuiAPI-0.15.6-1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
mod_Audiotori{r6 for 1.5.2} [mod_Audiotori] (Audiotori_r6__1_5_2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CustomSpawner{2.0.0} [DrZhark's CustomSpawner] (CustomMobSpawner DEV 2.0.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CustomNpcs{0.8} [CustomNpcs] (CustomNPCs_1.5.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MoCreatures{5.2.0} [DrZhark's Mo'Creatures Mod] (DrZharks MoCreatures Mod DEV v5.2.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MCA{3.3.4} [Minecraft Comes Alive] (mca v3.3.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Millenaire{4.9.5} [MillÈnaire] (millenaire4.9.5.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MoreSwordsMod{2.4.2} [More Swords Mod] (More Swords Mod 2.4.4 For 1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MutantCreatures{1.3.4} [Mutant Creatures] (Mutant Creatures v1.3.4 mc1.5.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
LWJGL: 2.4.2
OpenGL: GeForce 7300 LE/PCI/SSE2 GL version 2.1.2, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Texture Pack: faithful32pack
Profiler Position: N/A (disabled)
Vec3 Pool Size: 468 (26208 bytes; 0 MB) allocated, 93 (5208 bytes; 0 MB) used
0