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.

yanksrock1019

Members
  • Joined

  • Last visited

Everything posted by yanksrock1019

  1. Also I want it only to apply if i have the enchantment
  2. I just created an enchantment that effects boots and I want the enchantment to add a speed effect on the player based on the level of enchantment. I would I make the enchanment apply a speed boost.
  3. Adding new types of enchantments
  4. Does anyone have a good enchantment tutorial? I can't seem to find a good one.
  5. package com.sapphire.world; import java.util.Random; import com.sapphire.items.blocks.MainBlocks; import cpw.mods.fml.common.IWorldGenerator; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; public class WorldGenSapphire implements IWorldGenerator{ public void generate(Random rand, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider){ switch(world.provider.dimensionId){ case -1: generateNether(world, rand, chunkX * 16, chunkZ * 16); case 0: generateSurface(world, rand, chunkX * 16, chunkZ * 16); case 1: generateEnd(world, rand, chunkX * 16, chunkZ * 16); } } private void generateSurface(World world, Random rand, int chunkX, int chunkZ){ for (int i = 0; i < 100; i++){ int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(64); int randPosZ = chunkZ + rand.nextInt(16); (new WorldGenMinable(MainBlocks.sapphireOre, 10)).generate(world, rand, randPosX, randPosY, randPosZ); } } private void generateNether(World world, Random rand, int chunkX, int chunkZ) { } private void generateEnd(World world, Random rand, int chunkX, int chunkZ){ for (int i = 0; i < 100; i++){ int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(64); int randPosZ = chunkZ + rand.nextInt(16); (new WorldGenMinable(MainBlocks.sapphireOre, 10)).generate(world, rand, randPosX, randPosY, randPosZ); } } }
  6. Here is my code, I can't find the error. package com.puplet.tile_entity; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.inventory.ISidedInventory; import net.minecraft.item.Item; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemTool; import net.minecraft.item.crafting.FurnaceRecipes; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraft.tileentity.TileEntity; import com.puplet.blocks.PupletBlocks; import com.puplet.blocks.PupletFurnace; import com.puplet.items.PupletItems; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class TileEntityPupletFurnace extends TileEntity implements ISidedInventory { private static final int[] slotsTop = new int[] { 0 }; private static final int[] slotsBottom = new int[] { 2, 1 }; private static final int[] slotsSides = new int[] { 1 }; private ItemStack[] furnaceItemStacks = new ItemStack[3]; public int furnaceBurnTime; public int currentBurnTime; public int furnaceCookTime; private String furnaceName; public void furnaceName(String string){ this.furnaceName = string; } @Override public int getSizeInventory() { return this.furnaceItemStacks.length; } @Override public ItemStack getStackInSlot(int slot) { return this.furnaceItemStacks[slot]; } @Override public ItemStack decrStackSize(int par1, int par2) { if (this.furnaceItemStacks[par1] != null) { ItemStack itemstack; if (this.furnaceItemStacks[par1].stackSize <= par2) { itemstack = this.furnaceItemStacks[par1]; this.furnaceItemStacks[par1] = null; return itemstack; } else { itemstack = this.furnaceItemStacks[par1].splitStack(par2); if (this.furnaceItemStacks[par1].stackSize == 0) { this.furnaceItemStacks[par1] = null; } return itemstack; } } else { return null; } } @Override public ItemStack getStackInSlotOnClosing(int slot) { if (this.furnaceItemStacks[slot] != null) { ItemStack itemstack = this.furnaceItemStacks[slot]; this.furnaceItemStacks[slot] = null; return itemstack; } else { return null; } } @Override public void setInventorySlotContents(int slot, ItemStack itemstack) { this.furnaceItemStacks[slot] = itemstack; if (itemstack != null && itemstack.stackSize > this.getInventoryStackLimit()) { itemstack.stackSize = this.getInventoryStackLimit(); } } @Override public String getInventoryName() { return this.hasCustomInventoryName() ? this.furnaceName : "Tut Furnace"; } @Override public boolean hasCustomInventoryName() { return this.furnaceName != null && this.furnaceName.length() > 0; } @Override public int getInventoryStackLimit() { return 64; } public void readFromNBT(NBTTagCompound tagCompound) { super.readFromNBT(tagCompound); NBTTagList tagList = tagCompound.getTagList("Items", 10); this.furnaceItemStacks = new ItemStack[this.getSizeInventory()]; for (int i = 0; i < tagList.tagCount(); ++i) { NBTTagCompound tabCompound1 = tagList.getCompoundTagAt(i); byte byte0 = tabCompound1.getByte("Slot"); if (byte0 >= 0 && byte0 < this.furnaceItemStacks.length) { this.furnaceItemStacks[byte0] = ItemStack.loadItemStackFromNBT(tabCompound1); } } this.furnaceBurnTime = tagCompound.getShort("BurnTime"); this.furnaceCookTime = tagCompound.getShort("CookTime"); this.currentBurnTime = getItemBurnTime(this.furnaceItemStacks[1]); if (tagCompound.hasKey("CustomName", ) { this.furnaceName = tagCompound.getString("CustomName"); } } public void writeToNBT(NBTTagCompound tagCompound) { super.writeToNBT(tagCompound); tagCompound.setShort("BurnTime", (short) this.furnaceBurnTime); tagCompound.setShort("CookTime", (short) this.furnaceBurnTime); NBTTagList tagList = new NBTTagList(); for (int i = 0; i < this.furnaceItemStacks.length; ++i) { if (this.furnaceItemStacks[i] != null) { NBTTagCompound tagCompound1 = new NBTTagCompound(); tagCompound1.setByte("Slot", (byte) i); this.furnaceItemStacks[i].writeToNBT(tagCompound1); tagList.appendTag(tagCompound1); } } tagCompound.setTag("Items", tagList); if (this.hasCustomInventoryName()) { tagCompound.setString("CustomName", this.furnaceName); } } @SideOnly(Side.CLIENT) public int getCookProgressScaled(int par1) { return this.furnaceCookTime * par1 / 200; } @SideOnly(Side.CLIENT) public int getBurnTimeRemainingScaled(int par1) { if (this.currentBurnTime == 0) { this.currentBurnTime = 200; } return this.furnaceBurnTime * par1 / this.currentBurnTime; } public boolean isBurning() { return this.furnaceBurnTime > 0; } public void updateEntity() { boolean flag = this.furnaceBurnTime > 0; boolean flag1 = false; if (this.furnaceBurnTime > 0) { --this.furnaceBurnTime; } if (!this.worldObj.isRemote) { if (this.furnaceBurnTime == 0 && this.canSmelt()) { this.currentBurnTime = this.furnaceBurnTime = getItemBurnTime(this.furnaceItemStacks[1]); if (this.furnaceBurnTime > 0) { flag1 = true; if (this.furnaceItemStacks[1] != null) { --this.furnaceItemStacks[1].stackSize; if (this.furnaceItemStacks[1].stackSize == 0) { this.furnaceItemStacks[1] = furnaceItemStacks[1].getItem().getContainerItem(this.furnaceItemStacks[1]); } } } } if (this.isBurning() && this.canSmelt()) { ++this.furnaceCookTime; if (this.furnaceCookTime == 200) { this.furnaceCookTime = 0; this.smeltItem(); flag1 = true; } } else { this.furnaceCookTime = 0; } } if (flag != this.furnaceBurnTime > 0) { flag1 = true; PupletFurnace.updateBlockState(this.furnaceBurnTime > 0, this.worldObj, this.xCoord, this.yCoord, this.zCoord); } if (flag1) { this.markDirty(); } } private boolean canSmelt() { if (this.furnaceItemStacks[0] == null) { return false; } else { ItemStack itemstack = FurnaceRecipes.smelting().getSmeltingResult(this.furnaceItemStacks[0]); if (itemstack == null) return false; if (this.furnaceItemStacks[2] == null) return true; if (!this.furnaceItemStacks[2].isItemEqual(itemstack)) return false; int result = furnaceItemStacks[2].stackSize + itemstack.stackSize; return result <= getInventoryStackLimit() && result <= this.furnaceItemStacks[2].getMaxStackSize(); } } public void smeltItem() { if (this.canSmelt()) { ItemStack itemstack = FurnaceRecipes.smelting().getSmeltingResult(this.furnaceItemStacks[0]); if (this.furnaceItemStacks[2] == null) { this.furnaceItemStacks[2] = itemstack.copy(); } else if (this.furnaceItemStacks[2].getItem() == itemstack.getItem()) { this.furnaceItemStacks[2].stackSize += itemstack.stackSize; } --this.furnaceItemStacks[0].stackSize; if(this.furnaceItemStacks[0].stackSize >= 0){ this.furnaceItemStacks[0] = null; } } } public static int getItemBurnTime(ItemStack itemstack){ if(itemstack == null){ return 0; }else{ Item item = itemstack.getItem(); if(item instanceof ItemBlock && Block.getBlockFromItem(item) != Blocks.air){ Block block = Block.getBlockFromItem(item); if(block == PupletBlocks.pupletOre){ return 200; } if(block.getMaterial() == Material.rock){ return 300; } } if(item == PupletItems.ingotPuplet) return 1600; if(item instanceof ItemTool && ((ItemTool) item).getToolMaterialName().equals("EMERALD")) return 300; return GameRegistry.getFuelValue(itemstack); } } public static boolean isItemFuel(ItemStack itemstack){ return getItemBurnTime(itemstack) > 0; } @Override public boolean isUseableByPlayer(EntityPlayer player) { return this.worldObj.getTileEntity(this.xCoord, this.yCoord, this.zCoord) != this ? false : player.getDistanceSq((double) this.xCoord + 0.5D, (double) this.yCoord + 0.5D, (double) this.zCoord + 0.5D) <= 64.0D; } @Override public void openInventory() { } @Override public void closeInventory() { } @Override public boolean isItemValidForSlot(int par1, ItemStack itemstack) { return par1 == 2 ? false : (par1 == 1 ? isItemFuel(itemstack) : true); } @Override public int[] getAccessibleSlotsFromSide(int par1) { return par1 == 0 ? slotsBottom : (par1 == 1 ? slotsTop : slotsSides); } @Override public boolean canInsertItem(int par1, ItemStack itemstack, int par3) { return this.isItemValidForSlot(par1, itemstack); } @Override public boolean canExtractItem(int par1, ItemStack itemstack, int par3) { return par3 != 0 || par1 != 1 || itemstack.getItem() == Items.bucket; } }
  7. I'm getting this error whenever I open up my custom Furnace java.lang.ClassCastException: com.puplet.tile_entity.TileEntityPupletFurnace cannot be cast to net.minecraft.tileentity.TileEntityFurnace
  8. I have just created a crop(strawberry plant) but the only way to get the drops from the fully grown crop is to destroy the dirt under it. How can I fix this? Crop class: package com.puplet.blocks; import java.util.Random; import com.puplet.items.PupletItems; import net.minecraft.block.BlockCrops; import net.minecraft.init.Items; import net.minecraft.item.Item; public class PupletCrop extends BlockCrops{ /** * seeds */ @Override protected Item func_149866_i() { return PupletItems.pupletSeeds; } /** * crop */ @Override protected Item func_149865_P() { return PupletItems.Strawberry; } }
  9. So what do I do
  10. I don't think so because I can't even open the achievement page.
  11. [13:10:34] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [13:10:34] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [13:10:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [13:10:34] [main/INFO] [FML]: Forge Mod Loader version 7.2.137.1054 for Minecraft 1.7.2 loading [13:10:34] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_51, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7 [13:10:34] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [13:10:34] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [13:10:34] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [13:10:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [13:10:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [13:10:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [13:10:34] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [13:10:34] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Anthony/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1054/forgeSrc-1.7.2-10.12.0.1054.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [13:10:34] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [13:10:34] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Anthony/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1054/forgeSrc-1.7.2-10.12.0.1054.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [13:10:34] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [13:10:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [13:10:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [13:10:35] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [13:10:35] [main/INFO]: Setting user: Player219 [13:10:36] [Client thread/INFO]: LWJGL Version: 2.9.0 [13:10:36] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [13:10:36] [Client thread/INFO] [FML]: MinecraftForge v10.12.0.1054 Initialized [13:10:36] [Client thread/INFO] [FML]: Replaced 141 ore recipies [13:10:36] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [13:10:36] [Client thread/INFO] [FML]: Searching C:\Users\Anthony\Downloads\forge-1.7.2-10.12.0.1054-src\eclipse\mods for mods [13:10:37] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [13:10:38] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [13:10:38] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Puplet Mod [13:10:38] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [13:10:39] [sound Library Loader/INFO]: Sound engine started [13:10:39] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [13:10:39] [Client thread/INFO]: Created: 256x256 textures/items-atlas [13:10:39] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [13:10:39] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Puplet Mod [13:10:39] [Client thread/INFO]: Created: 256x256 textures/items-atlas [13:10:39] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas SoundSystem shutting down... Author: Paul Lamb, www.paulscode.com Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [13:10:40] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms [13:10:40] [sound Library Loader/INFO]: Sound engine started [13:10:42] [server thread/INFO]: Starting integrated minecraft server version 1.7.2 [13:10:42] [server thread/INFO]: Generating keypair [13:10:42] [server thread/INFO] [FML]: Injecting new block and item data into this server instance [13:10:42] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@20d25c1d) [13:10:42] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@20d25c1d) [13:10:42] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@20d25c1d) [13:10:42] [server thread/INFO]: Preparing start region for level 0 POKEE false [13:10:44] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [13:10:44] [Netty IO #1/INFO] [FML]: Client protocol version 1 [13:10:44] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected] [13:10:44] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [13:10:44] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [13:10:44] [server thread/INFO] [FML]: [server thread] Server side modded connection established [13:10:44] [server thread/INFO]: Player219[local:E:bb7e5dad] logged in with entity id 327 at (175.58819792952787, 64.0, 317.04280469208953) [13:10:44] [server thread/INFO]: Player219 joined the game [13:10:44] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established Achievement Get [13:10:51] [server thread/INFO]: Player219 has just earned the achievement [achievement.minePuplet] [13:10:51] [Client thread/INFO]: [CHAT] Player219 has just earned the achievement [achievement.minePuplet] [13:10:52] [server thread/INFO]: Stopping server [13:10:52] [server thread/INFO]: Saving players [13:10:52] [server thread/INFO]: Saving worlds [13:10:52] [server thread/INFO]: Saving chunks for level 'New World'/Overworld [13:10:52] [server thread/INFO]: Saving chunks for level 'New World'/Nether [13:10:52] [server thread/INFO]: Saving chunks for level 'New World'/The End [13:10:52] [server thread/INFO] [FML]: Unloading dimension 0 [13:10:52] [server thread/INFO] [FML]: Unloading dimension -1 [13:10:52] [server thread/INFO] [FML]: Unloading dimension 1 [13:10:52] [Client thread/FATAL]: Reported exception thrown! net.minecraft.util.ReportedException: Rendering item at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:599) ~[RenderItem.class:?] at net.minecraft.client.gui.achievement.GuiAchievement.func_146254_a(GuiAchievement.java:138) ~[GuiAchievement.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1054) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:912) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Caused by: java.lang.NullPointerException at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:266) ~[itemStack.class:?] at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:415) ~[RenderItem.class:?] at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:560) ~[RenderItem.class:?] ... 10 more ---- Minecraft Crash Report ---- // There are four lights! Time: 4/16/14 1:10 PM Description: Rendering item java.lang.NullPointerException: Rendering item at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:266) at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:415) at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:560) at net.minecraft.client.gui.achievement.GuiAchievement.func_146254_a(GuiAchievement.java:138) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1054) at net.minecraft.client.Minecraft.run(Minecraft.java:912) at net.minecraft.client.main.Main.main(Main.java:112) 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:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:266) at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:415) -- Item being rendered -- Details: Item Type: null Item Aux: ~~ERROR~~ NullPointerException: null Item NBT: null Item Foil: ~~ERROR~~ NullPointerException: null Stacktrace: at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:560) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['Player219'/327, l='MpServer', x=167.39, y=64.62, z=314.56]] Chunk stats: MultiplayerChunkCache: 225, 225 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (200,64,248), Chunk: (at 8,4,8 in 12,15; contains blocks 192,0,240 to 207,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 8066 game time, 8066 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: survival (ID 0). Hardcore: false. Cheats: false Forced entities: 131 total; [EntityWitch['Witch'/31, l='MpServer', x=93.28, y=37.00, z=293.25], EntityZombie['Zombie'/30, l='MpServer', x=91.88, y=35.00, z=300.53], EntityCreeper['Creeper'/33, l='MpServer', x=88.88, y=36.00, z=303.53], EntitySquid['Squid'/37, l='MpServer', x=105.97, y=58.19, z=272.22], EntitySquid['Squid'/42, l='MpServer', x=110.50, y=56.38, z=267.50], EntityBat['Bat'/43, l='MpServer', x=105.25, y=21.10, z=283.25], EntityCreeper['Creeper'/46, l='MpServer', x=105.44, y=38.00, z=316.56], EntityCreeper['Creeper'/47, l='MpServer', x=110.69, y=35.00, z=315.69], EntitySkeleton['Skeleton'/45, l='MpServer', x=100.44, y=17.00, z=304.94], EntityChicken['Chicken'/51, l='MpServer', x=111.44, y=64.00, z=295.59], EntityChicken['Chicken'/50, l='MpServer', x=100.53, y=65.00, z=306.78], EntityChicken['Chicken'/49, l='MpServer', x=103.47, y=64.00, z=306.84], EntityChicken['Chicken'/48, l='MpServer', x=99.38, y=64.00, z=316.44], EntityZombie['Zombie'/55, l='MpServer', x=131.50, y=37.16, z=266.69], EntityCreeper['Creeper'/54, l='MpServer', x=124.97, y=17.00, z=265.31], EntityCreeper['Creeper'/53, l='MpServer', x=109.50, y=37.00, z=321.00], EntityEnderman['Enderman'/52, l='MpServer', x=110.50, y=36.00, z=331.50], EntitySkeleton['Skeleton'/59, l='MpServer', x=124.34, y=16.00, z=274.78], EntityCreeper['Creeper'/58, l='MpServer', x=119.16, y=12.00, z=282.38], EntityCreeper['Creeper'/57, l='MpServer', x=124.25, y=11.00, z=281.59], EntityItem['item.item.ingotPuplet'/542, l='MpServer', x=165.85, y=63.13, z=314.75], EntitySquid['Squid'/56, l='MpServer', x=121.59, y=56.00, z=265.78], EntitySkeleton['Skeleton'/63, l='MpServer', x=125.51, y=18.37, z=281.59], EntitySkeleton['Skeleton'/62, l='MpServer', x=125.50, y=18.00, z=280.71], EntityBat['Bat'/61, l='MpServer', x=121.50, y=21.10, z=287.00], EntityBat['Bat'/60, l='MpServer', x=125.53, y=23.10, z=281.25], EntityBat['Bat'/68, l='MpServer', x=125.53, y=54.10, z=301.25], EntitySquid['Squid'/69, l='MpServer', x=118.25, y=59.00, z=321.50], EntityClientPlayerMP['Player219'/327, l='MpServer', x=167.39, y=64.62, z=314.56], EntityCreeper['Creeper'/64, l='MpServer', x=127.00, y=52.00, z=277.25], EntityZombie['Zombie'/65, l='MpServer', x=118.84, y=48.00, z=286.97], EntityBat['Bat'/66, l='MpServer', x=120.03, y=51.76, z=287.94], EntityBat['Bat'/67, l='MpServer', x=118.47, y=37.10, z=298.25], EntitySkeleton['Skeleton'/76, l='MpServer', x=139.41, y=21.00, z=283.31], EntityCreeper['Creeper'/77, l='MpServer', x=138.50, y=21.00, z=283.69], EntityCreeper['Creeper'/78, l='MpServer', x=130.47, y=30.00, z=282.03], EntityCreeper['Creeper'/79, l='MpServer', x=140.22, y=21.00, z=283.88], EntitySkeleton['Skeleton'/72, l='MpServer', x=135.50, y=20.00, z=247.09], EntityCreeper['Creeper'/73, l='MpServer', x=143.16, y=42.00, z=265.90], EntityBat['Bat'/74, l='MpServer', x=132.75, y=43.10, z=259.53], EntitySkeleton['Skeleton'/75, l='MpServer', x=129.41, y=46.00, z=268.13], EntitySkeleton['Skeleton'/85, l='MpServer', x=142.44, y=22.00, z=292.94], EntitySquid['Squid'/84, l='MpServer', x=138.50, y=56.34, z=282.50], EntityBat['Bat'/87, l='MpServer', x=137.00, y=21.79, z=294.34], EntitySkeleton['Skeleton'/86, l='MpServer', x=139.13, y=22.00, z=290.50], EntitySpider['Spider'/81, l='MpServer', x=142.81, y=35.00, z=287.50], EntitySkeleton['Skeleton'/80, l='MpServer', x=140.02, y=33.00, z=281.78], EntitySquid['Squid'/83, l='MpServer', x=142.50, y=56.34, z=278.25], EntityZombie['Zombie'/82, l='MpServer', x=141.09, y=36.00, z=274.47], EntitySquid['Squid'/93, l='MpServer', x=135.50, y=55.31, z=296.44], EntitySquid['Squid'/92, l='MpServer', x=142.05, y=55.23, z=298.45], EntitySquid['Squid'/95, l='MpServer', x=137.50, y=55.38, z=298.50], EntitySquid['Squid'/94, l='MpServer', x=138.03, y=55.31, z=291.50], EntityEnderman['Enderman'/89, l='MpServer', x=132.78, y=35.00, z=293.25], EntityCreeper['Creeper'/88, l='MpServer', x=142.06, y=35.00, z=288.88], EntitySquid['Squid'/91, l='MpServer', x=141.95, y=55.31, z=297.47], EntityCreeper['Creeper'/90, l='MpServer', x=131.78, y=35.00, z=292.31], EntityZombie['Zombie'/102, l='MpServer', x=147.88, y=17.00, z=278.75], EntityCreeper['Creeper'/103, l='MpServer', x=149.50, y=20.00, z=283.50], EntityCreeper['Creeper'/101, l='MpServer', x=144.53, y=24.00, z=256.50], EntitySquid['Squid'/98, l='MpServer', x=144.50, y=59.37, z=305.50], EntitySquid['Squid'/96, l='MpServer', x=133.06, y=58.16, z=299.31], EntitySquid['Squid'/97, l='MpServer', x=140.13, y=55.00, z=300.34], EntityZombie['Zombie'/108, l='MpServer', x=155.38, y=26.00, z=336.03], EntityZombie['Zombie'/106, l='MpServer', x=157.53, y=36.00, z=309.16], EntityZombie['Zombie'/107, l='MpServer', x=150.16, y=25.00, z=333.63], EntityCreeper['Creeper'/104, l='MpServer', x=146.69, y=36.00, z=288.59], EntitySquid['Squid'/105, l='MpServer', x=149.53, y=55.56, z=295.53], EntityItem['item.item.ingotPuplet'/119, l='MpServer', x=170.03, y=63.13, z=308.44], EntitySkeleton['Skeleton'/118, l='MpServer', x=174.88, y=19.00, z=301.41], EntitySkeleton['Skeleton'/117, l='MpServer', x=174.75, y=17.00, z=296.97], EntityZombie['Zombie'/116, l='MpServer', x=172.50, y=21.00, z=302.03], EntityZombie['Zombie'/115, l='MpServer', x=167.72, y=21.00, z=299.56], EntityZombie['Zombie'/114, l='MpServer', x=169.03, y=21.00, z=295.44], EntitySheep['Sheep'/122, l='MpServer', x=175.50, y=79.00, z=380.19], EntityPig['Pig'/121, l='MpServer', x=166.44, y=65.00, z=343.47], EntityPig['Pig'/120, l='MpServer', x=175.81, y=63.00, z=344.06], EntityChicken['Chicken'/139, l='MpServer', x=184.56, y=69.00, z=237.41], EntityZombie['Zombie'/138, l='MpServer', x=182.34, y=54.00, z=235.13], EntityPig['Pig'/141, l='MpServer', x=180.75, y=64.00, z=337.84], EntitySkeleton['Skeleton'/140, l='MpServer', x=180.16, y=40.00, z=304.53], EntitySheep['Sheep'/143, l='MpServer', x=187.53, y=87.00, z=386.44], EntitySheep['Sheep'/142, l='MpServer', x=190.66, y=88.00, z=382.19], EntitySkeleton['Skeleton'/154, l='MpServer', x=201.91, y=33.00, z=237.53], EntityBat['Bat'/157, l='MpServer', x=206.44, y=30.05, z=256.28], EntityItem['item.item.arrow'/158, l='MpServer', x=194.19, y=16.13, z=276.81], EntityWitch['Witch'/159, l='MpServer', x=197.56, y=46.00, z=301.06], EntitySheep['Sheep'/144, l='MpServer', x=190.50, y=88.00, z=393.28], EntityZombie['Zombie'/171, l='MpServer', x=222.09, y=40.00, z=300.50], EntityZombie['Zombie'/170, l='MpServer', x=214.44, y=40.00, z=301.69], EntityCreeper['Creeper'/169, l='MpServer', x=219.00, y=26.00, z=293.59], EntityBat['Bat'/175, l='MpServer', x=218.26, y=39.02, z=310.25], EntityZombie['Zombie'/174, l='MpServer', x=223.41, y=39.00, z=302.05], EntityBat['Bat'/173, l='MpServer', x=219.72, y=39.05, z=300.53], EntityWitch['Witch'/172, l='MpServer', x=210.69, y=42.00, z=300.66], EntityZombie['Zombie'/163, l='MpServer', x=205.75, y=44.00, z=321.34], EntitySpider['Spider'/162, l='MpServer', x=200.50, y=45.00, z=304.38], EntityEnderman['Enderman'/161, l='MpServer', x=202.59, y=45.00, z=296.66], EntityEnderman['Enderman'/160, l='MpServer', x=206.31, y=44.00, z=298.00], EntityPig['Pig'/164, l='MpServer', x=192.34, y=64.00, z=329.28], EntityCreeper['Creeper'/186, l='MpServer', x=233.66, y=49.00, z=251.97], EntityZombie['Zombie'/187, l='MpServer', x=232.50, y=45.00, z=263.09], EntityZombie['Zombie'/184, l='MpServer', x=234.47, y=44.00, z=254.03], EntitySkeleton['Skeleton'/185, l='MpServer', x=234.06, y=44.00, z=245.56], EntitySkeleton['Skeleton'/190, l='MpServer', x=224.25, y=43.00, z=295.50], EntityCreeper['Creeper'/191, l='MpServer', x=225.13, y=39.00, z=305.84], EntityZombie['Zombie'/188, l='MpServer', x=233.78, y=44.00, z=256.78], EntitySkeleton['Skeleton'/189, l='MpServer', x=232.77, y=44.00, z=258.77], EntityPig['Pig'/178, l='MpServer', x=223.69, y=84.00, z=364.94], EntityBat['Bat'/176, l='MpServer', x=214.25, y=39.89, z=312.59], EntityBat['Bat'/177, l='MpServer', x=208.41, y=44.10, z=330.75], EntityBat['Bat'/182, l='MpServer', x=238.53, y=21.95, z=256.94], EntityZombie['Zombie'/183, l='MpServer', x=231.03, y=45.00, z=247.50], EntityCreeper['Creeper'/205, l='MpServer', x=244.78, y=26.00, z=279.09], EntityCreeper['Creeper'/204, l='MpServer', x=245.03, y=23.00, z=273.59], EntityCreeper['Creeper'/207, l='MpServer', x=248.41, y=35.00, z=360.22], EntitySkeleton['Skeleton'/206, l='MpServer', x=241.94, y=19.00, z=334.44], EntityBat['Bat'/201, l='MpServer', x=239.50, y=16.70, z=246.28], EntityCreeper['Creeper'/200, l='MpServer', x=242.69, y=16.22, z=245.31], EntityCreeper['Creeper'/203, l='MpServer', x=242.78, y=23.00, z=270.97], EntitySkeleton['Skeleton'/202, l='MpServer', x=242.66, y=24.00, z=263.31], EntityPig['Pig'/196, l='MpServer', x=233.50, y=74.00, z=389.47], EntityPig['Pig'/193, l='MpServer', x=234.53, y=71.00, z=344.94], EntityPig['Pig'/192, l='MpServer', x=233.50, y=75.00, z=345.50], EntityPig['Pig'/195, l='MpServer', x=235.22, y=68.00, z=380.50], EntityPig['Pig'/194, l='MpServer', x=228.50, y=79.00, z=353.19], EntitySheep['Sheep'/212, l='MpServer', x=245.50, y=71.00, z=391.72], EntitySheep['Sheep'/213, l='MpServer', x=240.56, y=68.00, z=386.50], EntityBat['Bat'/208, l='MpServer', x=243.25, y=41.92, z=351.38], EntitySheep['Sheep'/209, l='MpServer', x=245.84, y=63.00, z=383.25], EntityPig['Pig'/211, l='MpServer', x=243.88, y=68.00, z=394.31]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:412) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2518) at net.minecraft.client.Minecraft.run(Minecraft.java:933) at net.minecraft.client.main.Main.main(Main.java:112) 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:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 776695936 bytes (740 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 7811 (437416 bytes; 0 MB) allocated, 1922 (107632 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP v9.01-pre FML v7.2.137.1054 Minecraft Forge 10.12.0.1054 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.2.137.1054} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.0.1054.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.12.0.1054} [Minecraft Forge] (forgeSrc-1.7.2-10.12.0.1054.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Puplet{2.0} [Puplet Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.6 LWJGL: 2.9.0 OpenGL: Intel(R) HD Graphics 4600 GL version 4.0.0 - Build 9.18.10.3071, Intel 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) Vec3 Pool Size: 3906 (218736 bytes; 0 MB) allocated, 1347 (75432 bytes; 0 MB) used Anisotropic Filtering: Off (1) #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Anthony\Downloads\forge-1.7.2-10.12.0.1054-src\eclipse\.\crash-reports\crash-2014-04-16_13.10.52-client.txt AL lib: (EE) alc_cleanup: 1 device not closed
  12. I am trying to create an achievement, but every time I pick up the Item that would activate the achievement, it crashes. The Event: The achievements and Achievement Page: And the event registry:
  13. does anyone know how to see the default minecraft files so that I have an example of certain files
  14. To increase the chance I should put i<100, right?
  15. I thought so too, but it still gets weird enchantments
  16. I just want to know which line affects the amount it spawns and on what level
  17. How do I prevent something like an axe from getting "Bane of Arthropods", and so on.
  18. package com.puplet.pupletmod; 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 WorldGeneratorPuplet implements IWorldGenerator{ 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 generateSurface(World world, Random random, int chunkX,int chunkZ) { for (int i = 0; i < 13; i++){ int randPosX = chunkX + random.nextInt(16); int randPosY = random.nextInt(40); int randPosZ = chunkZ +random.nextInt(16); (new WorldGenMinable(PupletMod.pupletOre, 10)).generate(world, random, randPosX, randPosY, randPosZ); } } private void generateNether(World world, Random random, int chunkX,int chunkZ) { } }
  19. Can someone please help me with ore generation, and making my ore spawn as often as coal. I have the file but I don't really understand it. I just looked at an example and copied it, but I want to know how to make it spawn more often and at different levels.
  20. When I put 4 as the render index it showed up as gold armor while on the player
  21. What number do I use for the renderIndex, should I create another one?

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.