One last question for a while when i tried to make my block like sand it falls and stuff but when it falls the texture changes to stone do you know why?
Because when your block falls, it changes the block to an entity which takes textures from entityFallingSand and renderFallingSand, which again takes it from the terrain.png instead of your textures.
To fix this you will need to make a new renderFallingSand, a new entityFallingSand and register them.
Hello i think youre tutorials are amazing but i have an issue with the ore generation
heres is my code
package
DaRX.darxcraft2.mmod;
import
java.util.Random;
import
net.minecraft.world.World;
import
net.minecraft.world.chunk.IChunkProvider;
import
net.minecraft.world.gen.feature.WorldGenMinable;
import
cpw.mods.fml.common.IWorldGenerator;
public
class WorldGeneratorOreDarx implements IWorldGenerator {
@Override
public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator,
IChunkProvider chunkProvider) {
switch(world.provider.dimensionId) {
case -1:
generateNether(world, random, chunkX * 16, chunkZ * 16);
case 0:
generateSurface(world, random, chunkX * 16, chunkZ * 16);
}
}
private void generateNether(World world, Random random, int blockX, int blockZ) {
}
private
void generateSurface(World world, Random random, int blockX, int blockZ) {
for (int i = 0; i < 8; i++) {
int Xcoord = blockX + random.nextInt(16);
int Ycoord = random.nextInt();
int Zcoord = blockZ + random.nextInt(16);
(
new WorldGenMinable(oreDarx.tutBlock.blockID, 8)).generate(world, random, Xcoord, Ycoord, Zcoord);
}
}
}
The issue with it is that i dont know how to change the tutBlock so that it works with my oreDarx , when i try to fix it, it sais to make a constructor in my oreDarx's class butt then .BlockID messes up aswell. also when i load up the Client to make a new world it gets stuck on loading terrain. i would be glad if u could help.
Hello i think youre tutorials are amazing but i have an issue with the ore generation
heres is my code
package
DaRX.darxcraft2.mmod;
import
java.util.Random;
import
net.minecraft.world.World;
import
net.minecraft.world.chunk.IChunkProvider;
import
net.minecraft.world.gen.feature.WorldGenMinable;
import
cpw.mods.fml.common.IWorldGenerator;
public
class WorldGeneratorOreDarx implements IWorldGenerator {
@Override
public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator,
IChunkProvider chunkProvider) {
switch(world.provider.dimensionId) {
case -1:
generateNether(world, random, chunkX * 16, chunkZ * 16);
case 0:
generateSurface(world, random, chunkX * 16, chunkZ * 16);
}
}
private void generateNether(World world, Random random, int blockX, int blockZ) {
}
private
void generateSurface(World world, Random random, int blockX, int blockZ) {
for (int i = 0; i < 8; i++) {
int Xcoord = blockX + random.nextInt(16);
int Ycoord = random.nextInt();
int Zcoord = blockZ + random.nextInt(16);
(
new WorldGenMinable(oreDarx.tutBlock.blockID, 8)).generate(world, random, Xcoord, Ycoord, Zcoord);
}
}
}
The issue with it is that i dont know how to change the tutBlock so that it works with my oreDarx , when i try to fix it, it sais to make a constructor in my oreDarx's class butt then .BlockID messes up aswell. also when i load up the Client to make a new world it gets stuck on loading terrain. i would be glad if u could help.
Inside the generateSurface() method it's just to add this:
private void generateSurface(World world, Random random, int blockX, int blockZ) {
for (i = 0; i < rarity; i++) {
Xcoord = blockX + random.nextInt(16);
Ycoord = random.nextInt(maxYlevel);
Zcoord = blockZ + random.nextInt(16);
(new WorldGenMinable(yourMainClass.yourBlock.blockID, maxBlocksInAVein)).generate(world, random, Xcoord, Ycoord, Zcoord);
}
}
thanks for all the code so far but ive all of a sudden got Alot more bugs i dont know if its the recent updates to mcp and forge but its really confusing also im new to modding
issue #1
2013-01-16 19:50:14 [WARNING] [ForgeModLoader] Attempted to add a EntityItem to the world with a invalid item: ID 168 at (161.36, 25.46, 102.33), this is most likely a config issue between you and the server. Please double check your configs
the Item is not dropping from its ore but the ids arent for the Item or ore
issue #2
the second one dosent have a error in the error report but one of my Items textures are overlapping with the leather tunic but it is only the one item whitch is wierd because its like all of the other items
issue #3 [ForgeModLoader] The mod mod_DarxCraft2 is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
cant go into my own tab
the tab used to work and i havent made any changes recently
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Rendering screen
A full error report has been saved to C:\Users\Luke\Desktop\DarxCraft 2\mcp726\jars\.\crash-reports\crash-2013-01-16_20.10.12-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
To make spoilers in just have [spoiler.] in front of the text that goes in the spoiler and [/spoiler.] after the text that goes inside the spoiler, but without the ".".
It's hard to see the error with the code, at least for me, in those error messages. Can't you pm me the code and I will try to help you as much as I can.
When you do crafting recipes are you going to cover furnaces too?
I will cover both crafting and furnace, and might as well have for items with metadata.
BTW: Again I'm really sorry about the lack of content coming this week, but I will do alot of stuff next week I think. To try to balance it up I guess.
Could you do a tutorial on how to organize your mod classes. ie, recipes in one place, blocks in another. I can't work it out from the code
Do you mean like registering your blocks in one class and all the items in another class? Or do you mean in different packages like how pahimar (EE3) has it?
Can you make a tutorial on how to make multiple potion effects on food please I cant find a tutorial anywhere. And thanks your tutorials really are helpful I hope im not asking for too much
Can you make a tutorial on how to make multiple potion effects on food please I cant find a tutorial anywhere. And thanks your tutorials really are helpful I hope im not asking for too much
The problem with this is that it needs a whole class for each item that will have multiple potion effects. There is no way as for now that you can add more than one potion effect without making another class for every food with different effects.
Next tutorial will be recipes, and I think they will be out either today or tomorrow. I'm not sure though because I have to fix some bugs in a game I'm trying to make.
Because when your block falls, it changes the block to an entity which takes textures from entityFallingSand and renderFallingSand, which again takes it from the terrain.png instead of your textures.
To fix this you will need to make a new renderFallingSand, a new entityFallingSand and register them.
heres is my code
The issue with it is that i dont know how to change the tutBlock so that it works with my oreDarx , when i try to fix it, it sais to make a constructor in my oreDarx's class butt then .BlockID messes up aswell. also when i load up the Client to make a new world it gets stuck on loading terrain. i would be glad if u could help.
Inside the generateSurface() method it's just to add this:
If so I fixed it with putting 4 public int. In the WorldGenerationTutorial class.
issue #1
2013-01-16 19:50:14 [WARNING] [ForgeModLoader] Attempted to add a EntityItem to the world with a invalid item: ID 168 at (161.36, 25.46, 102.33), this is most likely a config issue between you and the server. Please double check your configs
the Item is not dropping from its ore but the ids arent for the Item or ore
issue #2
the second one dosent have a error in the error report but one of my Items textures are overlapping with the leather tunic but it is only the one item whitch is wierd because its like all of the other items
issue #3
[ForgeModLoader] The mod mod_DarxCraft2 is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
issue 4
i cant go into the search tab
-- BEGIN ERROR REPORT db4dafe5 --------
Full report at:
C:\Users\Luke\Desktop\DarxCraft 2\mcp726\jars\.\crash-reports\crash-2013-01-16_20.08.57-client.txt
Please show that file to Mojang, NOT just this screen!
Generated 16/01/13 8:08 PM
-- Head --
Stacktrace:
at net.minecraft.item.ItemStack.getDisplayName(ItemStack.java:501)
at net.minecraft.item.ItemStack.getTooltip(ItemStack.java:551)
at net.minecraft.client.gui.inventory.GuiContainerCreative.updateCreativeSearch(GuiContainerCreative.java:339)
at net.minecraft.client.gui.inventory.GuiContainerCreative.setCurrentCreativeTab(GuiContainerCreative.java:497)
at net.minecraft.client.gui.inventory.GuiContainerCreative.mouseClicked(GuiContainerCreative.java:399)
at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:203)
at net.minecraft.client.gui.inventory.GuiContainerCreative.handleMouseInput(GuiContainerCreative.java:516)
at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:177)
-- Affected screen --
Details:
Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player458'/277, l='MpServer', x=160.56, y=25.62, z=102.30]]
Chunk stats: MultiplayerChunkCache: 325
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (172,64,161), Chunk: (at 12,4,1 in 10,10; contains blocks 160,0,160 to 175,255,175), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 5855 game time, 5855 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: 104 total; [EntityChicken['Chicken'/133, l='MpServer', x=146.38, y=80.00, z=176.44], EntityChicken['Chicken'/132, l='MpServer', x=151.59, y=82.00, z=181.56], EntityBat['Bat'/152, l='MpServer', x=170.69, y=26.10, z=98.75], EntityBat['Bat'/153, l='MpServer', x=173.53, y=26.29, z=105.51], EntityBat['Bat'/154, l='MpServer', x=172.76, y=25.82, z=107.92], EntitySkeleton['Skeleton'/155, l='MpServer', x=175.88, y=40.00, z=113.47], EntityCreeper['Creeper'/156, l='MpServer', x=173.31, y=19.00, z=139.38], EntityItem['item.tile.gravel'/157, l='MpServer', x=171.94, y=64.13, z=156.34], EntityItem['item.tile.mushroom'/158, l='MpServer', x=168.72, y=64.13, z=156.25], EntityZombie['Zombie'/159, l='MpServer', x=160.50, y=28.00, z=179.50], EntityWolf['Wolf'/148, l='MpServer', x=171.50, y=67.00, z=24.75], EntityZombie['Zombie'/149, l='MpServer', x=166.69, y=36.00, z=64.75], EntityZombie['Zombie'/150, l='MpServer', x=165.00, y=35.00, z=70.13], EntityZombie['Zombie'/151, l='MpServer', x=161.44, y=30.00, z=93.97], EntityWolf['Wolf'/171, l='MpServer', x=181.84, y=65.00, z=45.50], EntityZombie['Zombie'/170, l='MpServer', x=181.00, y=35.00, z=38.44], EntityWolf['Wolf'/169, l='MpServer', x=192.58, y=71.00, z=26.48], EntityBat['Bat'/168, l='MpServer', x=184.53, y=51.10, z=27.41], EntityCreeper['Creeper'/175, l='MpServer', x=191.75, y=41.00, z=123.63], EntityBat['Bat'/174, l='MpServer', x=177.47, y=27.27, z=115.53], EntityWolf['Wolf'/173, l='MpServer', x=177.78, y=64.00, z=52.75], EntitySkeleton['Skeleton'/172, l='MpServer', x=186.91, y=36.00, z=60.50], EntityWolf['Wolf'/51, l='MpServer', x=88.06, y=63.00, z=27.44], EntityWolf['Wolf'/186, l='MpServer', x=194.22, y=68.00, z=55.69], EntityCreeper['Creeper'/187, l='MpServer', x=197.59, y=34.00, z=107.00], EntityClientPlayerMP['Player458'/277, l='MpServer', x=160.56, y=25.62, z=102.30], EntityZombie['Zombie'/185, l='MpServer', x=192.03, y=40.00, z=31.50], EntitySkeleton['Skeleton'/55, l='MpServer', x=95.56, y=31.00, z=71.91], EntityCreeper['Creeper'/190, l='MpServer', x=203.47, y=35.00, z=114.34], EntitySkeleton['Skeleton'/54, l='MpServer', x=94.84, y=31.00, z=74.06], EntityBat['Bat'/191, l='MpServer', x=200.75, y=36.79, z=118.25], EntitySkeleton['Skeleton'/53, l='MpServer', x=92.07, y=30.00, z=66.57], EntityEnderman['Enderman'/188, l='MpServer', x=199.06, y=30.00, z=118.66], EntitySkeleton['Skeleton'/52, l='MpServer', x=91.69, y=30.00, z=65.69], EntityCreeper['Creeper'/189, l='MpServer', x=195.59, y=28.00, z=115.00], EntityChicken['Chicken'/59, l='MpServer', x=106.53, y=64.00, z=95.53], EntityCreeper['Creeper'/178, l='MpServer', x=182.50, y=33.00, z=170.00], EntitySpider['Spider'/179, l='MpServer', x=185.28, y=33.00, z=179.78], EntityChicken['Chicken'/58, l='MpServer', x=104.44, y=65.00, z=95.34], EntitySkeleton['Skeleton'/176, l='MpServer', x=186.09, y=44.00, z=115.41], EntityBat['Bat'/56, l='MpServer', x=93.38, y=16.10, z=92.25], EntitySkeleton['Skeleton'/177, l='MpServer', x=177.88, y=34.00, z=166.53], EntityChicken['Chicken'/61, l='MpServer', x=101.25, y=64.00, z=96.56], EntityChicken['Chicken'/60, l='MpServer', x=112.39, y=66.00, z=85.04], EntityChicken['Chicken'/68, l='MpServer', x=114.47, y=64.00, z=115.44], EntityZombie['Zombie'/69, l='MpServer', x=117.69, y=59.00, z=151.63], EntityChicken['Chicken'/70, l='MpServer', x=127.41, y=72.00, z=166.56], EntitySkeleton['Skeleton'/64, l='MpServer', x=119.09, y=22.00, z=41.50], EntityCreeper['Creeper'/201, l='MpServer', x=220.74, y=52.00, z=114.14], EntityZombie['Zombie'/65, l='MpServer', x=120.63, y=36.00, z=32.94], EntitySkeleton['Skeleton'/200, l='MpServer', x=223.09, y=54.00, z=119.47], EntityChicken['Chicken'/66, l='MpServer', x=121.63, y=62.28, z=74.56], EntityCreeper['Creeper'/202, l='MpServer', x=221.41, y=54.00, z=137.44], EntityCreeper['Creeper'/67, l='MpServer', x=122.97, y=28.00, z=87.50], EntityZombie['Zombie'/78, l='MpServer', x=136.50, y=17.00, z=31.50], EntityBat['Bat'/79, l='MpServer', x=141.47, y=18.63, z=26.25], EntityZombie['Zombie'/193, l='MpServer', x=206.97, y=17.00, z=177.63], EntitySkeleton['Skeleton'/192, l='MpServer', x=204.94, y=17.00, z=178.47], EntitySkeleton['Skeleton'/85, l='MpServer', x=132.69, y=39.00, z=50.69], EntitySpider['Spider'/84, l='MpServer', x=129.44, y=42.00, z=57.54], EntityZombie['Zombie'/87, l='MpServer', x=129.30, y=11.00, z=77.30], EntityCreeper['Creeper'/86, l='MpServer', x=135.22, y=41.00, z=53.09], EntityCreeper['Creeper'/81, l='MpServer', x=136.47, y=47.00, z=34.94], EntitySkeleton['Skeleton'/80, l='MpServer', x=135.88, y=46.00, z=28.59], EntitySkeleton['Skeleton'/83, l='MpServer', x=133.69, y=39.00, z=49.69], EntitySpider['Spider'/82, l='MpServer', x=132.53, y=39.00, z=47.81], EntityZombie['Zombie'/93, l='MpServer', x=132.69, y=26.00, z=93.22], EntityZombie['Zombie'/92, l='MpServer', x=133.31, y=26.00, z=92.41], EntityChicken['Chicken'/95, l='MpServer', x=129.41, y=63.00, z=86.47], EntityCreeper['Creeper'/94, l='MpServer', x=136.69, y=54.00, z=81.34], EntityWolf['Wolf'/208, l='MpServer', x=224.88, y=64.00, z=79.56], EntitySpider['Spider'/89, l='MpServer', x=130.72, y=26.00, z=89.84], EntityWolf['Wolf'/209, l='MpServer', x=239.75, y=68.00, z=79.50], EntityZombie['Zombie'/88, l='MpServer', x=136.59, y=55.00, z=78.63], EntityWolf['Wolf'/210, l='MpServer', x=229.50, y=69.00, z=85.16], EntityCreeper['Creeper'/91, l='MpServer', x=131.91, y=26.00, z=87.72], EntitySkeleton['Skeleton'/211, l='MpServer', x=230.16, y=41.00, z=176.53], EntitySkeleton['Skeleton'/90, l='MpServer', x=127.25, y=27.00, z=89.38], EntityChicken['Chicken'/100, l='MpServer', x=139.12, y=74.00, z=160.56], EntityChicken['Chicken'/101, l='MpServer', x=128.44, y=72.00, z=168.56], EntityBat['Bat'/98, l='MpServer', x=143.75, y=16.10, z=105.75], EntityBat['Bat'/99, l='MpServer', x=136.55, y=30.63, z=96.14], EntityCreeper['Creeper'/96, l='MpServer', x=140.28, y=15.00, z=97.03], EntityBat['Bat'/97, l='MpServer', x=133.00, y=15.05, z=109.84], EntityBat['Bat'/110, l='MpServer', x=150.25, y=19.10, z=50.75], EntityCreeper['Creeper'/111, l='MpServer', x=144.97, y=45.00, z=61.66], EntityWolf['Wolf'/108, l='MpServer', x=150.63, y=64.00, z=23.84], EntityBat['Bat'/109, l='MpServer', x=148.88, y=18.00, z=46.79], EntityChicken['Chicken'/119, l='MpServer', x=157.44, y=62.47, z=99.41], EntityZombie['Zombie'/118, l='MpServer', x=147.22, y=25.00, z=105.25], EntityCreeper['Creeper'/117, l='MpServer', x=149.50, y=37.00, z=91.00], EntityCreeper['Creeper'/116, l='MpServer', x=155.66, y=32.00, z=84.63], EntityCreeper['Creeper'/115, l='MpServer', x=150.50, y=31.39, z=76.53], EntityCreeper['Creeper'/114, l='MpServer', x=158.30, y=28.32, z=74.11], EntityZombie['Zombie'/113, l='MpServer', x=158.31, y=28.83, z=73.31], EntityCreeper['Creeper'/112, l='MpServer', x=152.63, y=39.00, z=55.72], EntityBat['Bat'/127, l='MpServer', x=149.38, y=25.10, z=182.63], EntitySkeleton['Skeleton'/126, l='MpServer', x=148.50, y=23.00, z=179.88], EntityCreeper['Creeper'/125, l='MpServer', x=147.70, y=12.05, z=181.00], EntityChicken['Chicken'/124, l='MpServer', x=154.53, y=84.00, z=168.31], EntityChicken['Chicken'/123, l='MpServer', x=157.41, y=88.00, z=166.63], EntityChicken['Chicken'/122, l='MpServer', x=155.31, y=75.00, z=158.41], EntityChicken['Chicken'/121, l='MpServer', x=155.38, y=70.00, z=152.59], EntityChicken['Chicken'/120, l='MpServer', x=153.31, y=73.00, z=159.34]]
Retry entities: 0 total; []
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2401)
at net.minecraft.client.Minecraft.run(Minecraft.java:787)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_06, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 855629512 bytes (815 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 3038 (170128 bytes; 0 MB) allocated, 2 (112 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_DarxCraft2 [mod_DarxCraft2] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
LWJGL: 2.4.2
OpenGL: Intel(R) HD Graphics Family GL version 3.0.0 - Build 8.15.10.2274, Intel
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: 984 (55104 bytes; 0 MB) allocated, 17 (952 bytes; 0 MB) used
java.lang.NullPointerException
at net.minecraft.item.ItemStack.getDisplayName(ItemStack.java:501)
at net.minecraft.item.ItemStack.getTooltip(ItemStack.java:551)
at net.minecraft.client.gui.inventory.GuiContainerCreative.updateCreativeSearch(GuiContainerCreative.java:339)
at net.minecraft.client.gui.inventory.GuiContainerCreative.setCurrentCreativeTab(GuiContainerCreative.java:497)
at net.minecraft.client.gui.inventory.GuiContainerCreative.mouseClicked(GuiContainerCreative.java:399)
at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:203)
at net.minecraft.client.gui.inventory.GuiContainerCreative.handleMouseInput(GuiContainerCreative.java:516)
at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:177)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1511)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:846)
at net.minecraft.client.Minecraft.run(Minecraft.java:771)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 5d3991d0 ----------
cant go into my own tab
the tab used to work and i havent made any changes recently
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Rendering screen
A full error report has been saved to C:\Users\Luke\Desktop\DarxCraft 2\mcp726\jars\.\crash-reports\crash-2013-01-16_20.10.12-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT e48c4a40 --------
Full report at:
C:\Users\Luke\Desktop\DarxCraft 2\mcp726\jars\.\crash-reports\crash-2013-01-16_20.10.12-client.txt
Please show that file to Mojang, NOT just this screen!
Generated 16/01/13 8:10 PM
-- Head --
Stacktrace:
at net.minecraft.item.ItemStack.<init>(ItemStack.java:64)
at net.minecraft.creativetab.CreativeTabs.getIconItemStack(CreativeTabs.java:209)
at net.minecraft.client.gui.inventory.GuiContainerCreative.renderCreativeTab(GuiContainerCreative.java:833)
at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:660)
at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:88)
at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:43)
at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:591)
-- Screen render details --
Details:
Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
Mouse location: Scaled: (294, 14). Absolute: (588, 450)
Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player416'/277, l='MpServer', x=160.56, y=25.62, z=102.30]]
Chunk stats: MultiplayerChunkCache: 220
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (172,64,161), Chunk: (at 12,4,1 in 10,10; contains blocks 160,0,160 to 175,255,175), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 5911 game time, 5911 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: 104 total; [EntityWolf['Wolf'/51, l='MpServer', x=88.06, y=63.00, z=27.44], EntityClientPlayerMP['Player416'/277, l='MpServer', x=160.56, y=25.62, z=102.30], EntitySkeleton['Skeleton'/55, l='MpServer', x=93.88, y=31.00, z=73.25], EntitySkeleton['Skeleton'/54, l='MpServer', x=95.66, y=31.00, z=74.38], EntitySkeleton['Skeleton'/53, l='MpServer', x=92.00, y=30.00, z=66.63], EntitySkeleton['Skeleton'/52, l='MpServer', x=91.69, y=30.00, z=65.69], EntityChicken['Chicken'/59, l='MpServer', x=104.44, y=65.00, z=95.34], EntityBat['Bat'/56, l='MpServer', x=93.38, y=16.10, z=92.25], EntitySkeleton['Skeleton'/63, l='MpServer', x=119.47, y=21.69, z=42.38], EntityChicken['Chicken'/61, l='MpServer', x=101.25, y=64.00, z=96.56], EntityChicken['Chicken'/60, l='MpServer', x=106.53, y=64.00, z=95.53], EntityChicken['Chicken'/68, l='MpServer', x=113.56, y=66.00, z=86.44], EntityChicken['Chicken'/69, l='MpServer', x=114.53, y=64.96, z=113.05], EntityZombie['Zombie'/70, l='MpServer', x=117.69, y=59.00, z=151.63], EntityChicken['Chicken'/71, l='MpServer', x=127.41, y=72.00, z=166.56], EntityZombie['Zombie'/64, l='MpServer', x=121.75, y=35.00, z=32.44], EntityChicken['Chicken'/65, l='MpServer', x=121.66, y=62.52, z=74.59], EntityCreeper['Creeper'/66, l='MpServer', x=122.97, y=28.00, z=87.50], EntitySkeleton['Skeleton'/67, l='MpServer', x=126.28, y=28.00, z=89.47], EntityZombie['Zombie'/78, l='MpServer', x=136.50, y=17.00, z=31.50], EntityBat['Bat'/79, l='MpServer', x=137.54, y=17.55, z=33.29], EntitySkeleton['Skeleton'/85, l='MpServer', x=132.69, y=39.00, z=50.69], EntitySpider['Spider'/84, l='MpServer', x=129.79, y=42.39, z=58.63], EntityZombie['Zombie'/87, l='MpServer', x=129.30, y=11.00, z=77.30], EntityCreeper['Creeper'/86, l='MpServer', x=135.22, y=41.00, z=53.09], EntityCreeper['Creeper'/81, l='MpServer', x=137.09, y=47.00, z=35.16], EntitySkeleton['Skeleton'/80, l='MpServer', x=135.88, y=46.00, z=28.59], EntitySkeleton['Skeleton'/83, l='MpServer', x=133.69, y=39.00, z=49.69], EntitySpider['Spider'/82, l='MpServer', x=132.53, y=39.00, z=47.81], EntityCreeper['Creeper'/93, l='MpServer', x=135.56, y=54.00, z=80.42], EntityZombie['Zombie'/92, l='MpServer', x=132.56, y=26.00, z=93.06], EntityCreeper['Creeper'/95, l='MpServer', x=139.84, y=15.00, z=97.13], EntityChicken['Chicken'/94, l='MpServer', x=129.41, y=63.00, z=86.47], EntitySpider['Spider'/89, l='MpServer', x=130.75, y=26.00, z=89.84], EntityZombie['Zombie'/88, l='MpServer', x=136.56, y=55.00, z=75.17], EntityZombie['Zombie'/91, l='MpServer', x=133.50, y=26.00, z=92.09], EntityCreeper['Creeper'/90, l='MpServer', x=131.91, y=26.00, z=87.72], EntityChicken['Chicken'/100, l='MpServer', x=128.44, y=72.00, z=168.56], EntityBat['Bat'/98, l='MpServer', x=142.73, y=31.66, z=103.74], EntityChicken['Chicken'/99, l='MpServer', x=137.81, y=74.00, z=160.53], EntityBat['Bat'/96, l='MpServer', x=137.70, y=13.97, z=107.47], EntityBat['Bat'/97, l='MpServer', x=143.75, y=16.10, z=105.75], EntityBat['Bat'/110, l='MpServer', x=150.25, y=19.10, z=50.75], EntityCreeper['Creeper'/111, l='MpServer', x=144.97, y=45.00, z=61.66], EntityWolf['Wolf'/108, l='MpServer', x=150.63, y=64.00, z=23.84], EntityBat['Bat'/109, l='MpServer', x=145.33, y=18.45, z=41.47], EntityChicken['Chicken'/119, l='MpServer', x=157.44, y=62.15, z=99.41], EntityZombie['Zombie'/118, l='MpServer', x=147.22, y=25.00, z=105.25], EntityCreeper['Creeper'/117, l='MpServer', x=149.50, y=37.00, z=91.00], EntityCreeper['Creeper'/116, l='MpServer', x=155.63, y=32.00, z=84.63], EntityCreeper['Creeper'/115, l='MpServer', x=151.28, y=31.00, z=76.00], EntityCreeper['Creeper'/114, l='MpServer', x=158.30, y=28.68, z=74.14], EntityZombie['Zombie'/113, l='MpServer', x=158.30, y=28.11, z=73.30], EntityCreeper['Creeper'/112, l='MpServer', x=152.63, y=39.00, z=55.72], EntityBat['Bat'/127, l='MpServer', x=149.38, y=25.10, z=182.63], EntitySkeleton['Skeleton'/126, l='MpServer', x=148.50, y=23.00, z=179.88], EntityCreeper['Creeper'/125, l='MpServer', x=147.70, y=12.61, z=181.00], EntityChicken['Chicken'/124, l='MpServer', x=154.53, y=84.00, z=168.31], EntityChicken['Chicken'/123, l='MpServer', x=157.41, y=88.00, z=166.63], EntityChicken['Chicken'/122, l='MpServer', x=155.31, y=75.00, z=158.41], EntityChicken['Chicken'/121, l='MpServer', x=155.38, y=70.00, z=152.59], EntityChicken['Chicken'/120, l='MpServer', x=153.31, y=73.00, z=159.34], EntityChicken['Chicken'/133, l='MpServer', x=146.38, y=80.00, z=176.44], EntityChicken['Chicken'/132, l='MpServer', x=150.47, y=82.00, z=177.69], EntityBat['Bat'/152, l='MpServer', x=170.69, y=26.10, z=98.75], EntityBat['Bat'/153, l='MpServer', x=180.05, y=25.86, z=106.44], EntityBat['Bat'/154, l='MpServer', x=173.41, y=25.31, z=104.14], EntitySkeleton['Skeleton'/155, l='MpServer', x=175.88, y=40.00, z=113.47], EntityCreeper['Creeper'/156, l='MpServer', x=173.31, y=19.00, z=139.38], EntityItem['item.tile.gravel'/157, l='MpServer', x=171.94, y=64.13, z=156.34], EntityItem['item.tile.mushroom'/158, l='MpServer', x=168.72, y=64.13, z=156.25], EntityZombie['Zombie'/159, l='MpServer', x=160.50, y=28.00, z=179.50], EntityWolf['Wolf'/148, l='MpServer', x=171.50, y=67.00, z=24.75], EntityZombie['Zombie'/149, l='MpServer', x=166.69, y=36.00, z=64.75], EntityZombie['Zombie'/150, l='MpServer', x=165.06, y=35.00, z=70.06], EntityZombie['Zombie'/151, l='MpServer', x=161.44, y=30.00, z=93.97], EntityWolf['Wolf'/171, l='MpServer', x=177.78, y=64.00, z=52.75], EntitySkeleton['Skeleton'/170, l='MpServer', x=186.91, y=36.00, z=60.50], EntityWolf['Wolf'/169, l='MpServer', x=181.84, y=65.00, z=45.50], EntityZombie['Zombie'/168, l='MpServer', x=181.00, y=35.00, z=38.44], EntitySkeleton['Skeleton'/175, l='MpServer', x=177.88, y=34.00, z=166.53], EntitySkeleton['Skeleton'/174, l='MpServer', x=186.09, y=44.00, z=115.41], EntityCreeper['Creeper'/173, l='MpServer', x=191.75, y=41.00, z=123.63], EntityBat['Bat'/172, l='MpServer', x=171.82, y=25.02, z=114.71], EntityBat['Bat'/167, l='MpServer', x=184.53, y=51.10, z=27.41], EntityWolf['Wolf'/186, l='MpServer', x=193.50, y=71.00, z=28.91], EntityWolf['Wolf'/187, l='MpServer', x=190.91, y=67.00, z=55.34], EntityZombie['Zombie'/185, l='MpServer', x=192.03, y=40.00, z=31.50], EntityCreeper['Creeper'/190, l='MpServer', x=195.59, y=28.00, z=115.00], EntityCreeper['Creeper'/191, l='MpServer', x=203.47, y=35.00, z=114.34], EntityCreeper['Creeper'/188, l='MpServer', x=197.59, y=34.00, z=107.00], EntityEnderman['Enderman'/189, l='MpServer', x=199.25, y=30.00, z=118.44], EntityCreeper['Creeper'/176, l='MpServer', x=182.50, y=33.00, z=170.00], EntitySpider['Spider'/177, l='MpServer', x=185.94, y=33.00, z=179.53], EntityCreeper['Creeper'/201, l='MpServer', x=222.95, y=51.00, z=113.01], EntitySkeleton['Skeleton'/200, l='MpServer', x=223.09, y=54.00, z=119.47], EntityCreeper['Creeper'/202, l='MpServer', x=221.41, y=54.00, z=137.44], EntitySkeleton['Skeleton'/193, l='MpServer', x=204.94, y=17.00, z=178.47], EntityBat['Bat'/192, l='MpServer', x=203.36, y=35.64, z=120.19], EntityZombie['Zombie'/194, l='MpServer', x=206.97, y=17.00, z=177.63], EntityWolf['Wolf'/208, l='MpServer', x=224.88, y=64.00, z=79.56], EntityWolf['Wolf'/209, l='MpServer', x=239.75, y=68.00, z=79.50], EntityWolf['Wolf'/210, l='MpServer', x=229.50, y=69.00, z=85.16], EntitySkeleton['Skeleton'/211, l='MpServer', x=230.16, y=41.00, z=176.53]]
Retry entities: 0 total; []
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2401)
at net.minecraft.client.Minecraft.run(Minecraft.java:787)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_06, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 853390040 bytes (813 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 4171 (233576 bytes; 0 MB) allocated, 1517 (84952 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_DarxCraft2 [mod_DarxCraft2] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
LWJGL: 2.4.2
OpenGL: Intel(R) HD Graphics Family GL version 3.0.0 - Build 8.15.10.2274, Intel
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: 818 (45808 bytes; 0 MB) allocated, 264 (14784 bytes; 0 MB) used
java.lang.NullPointerException
at net.minecraft.item.ItemStack.<init>(ItemStack.java:64)
at net.minecraft.creativetab.CreativeTabs.getIconItemStack(CreativeTabs.java:209)
at net.minecraft.client.gui.inventory.GuiContainerCreative.renderCreativeTab(GuiContainerCreative.java:833)
at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:660)
at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:88)
at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:43)
at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:591)
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1004)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:882)
at net.minecraft.client.Minecraft.run(Minecraft.java:771)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 504b090f ----------
also how do i do spoiler on the forum
It's hard to see the error with the code, at least for me, in those error messages. Can't you pm me the code and I will try to help you as much as I can.
Hope all you guys like it. If you want me to make more modding videos, just comment saying WE WANT VIDEOS!
I will cover both crafting and furnace, and might as well have for items with metadata.
BTW: Again I'm really sorry about the lack of content coming this week, but I will do alot of stuff next week I think. To try to balance it up I guess.
Using this, I have made my first mod!!
Check it out: http://www.minecraftforum.net/topic/1653560-147forge-brownies-100/
I have added you in credits and provided a link to this topic.
Do you mean like registering your blocks in one class and all the items in another class? Or do you mean in different packages like how pahimar (EE3) has it?
They just say what should I do first and I think I will take something else than that now first sorry.
The problem with this is that it needs a whole class for each item that will have multiple potion effects. There is no way as for now that you can add more than one potion effect without making another class for every food with different effects.
Next tutorial will be recipes, and I think they will be out either today or tomorrow. I'm not sure though because I have to fix some bugs in a game I'm trying to make.
That's what I was thinking about yeah.