Everything posted by Kore
-
Snow-like Block Keeps Floating
get a random update and have it fall down a block if it has nothing under it
-
Minimap Mod
for the pixels you could do a world.getTopSolidOrLiquidBlock(x, z)... and just have it display in a hud(search for a tutorial)
-
[1.4.6] Custom Rendering in Inventory
worst case you can just make an animation that rotates it.
-
Several TileEntities for a block
it should... he said its a machine
-
Open GUI with item right click
I cannot find a way to open my gui inside of my item
-
Several TileEntities for a block
well in the block you could do onBlockActivated and then do a switch with this.metadata
-
Help with block!
I know you probably did this but did you register a gui handler?
-
Help with block!
can you post the error
-
System cannot find path specified?
make a new mcp folder and put in the mcp, then put in your jars(minecraft, mc server, bin, resources) then run decompile then run install.bat inside the forge that you put in
-
Help with block!
in the tile entity instead of writing to a list just do nbt.setString("UsernameNBT", this.username) and also use this.username=nbt.getString("UsernameNBT")
-
Break a 5x5 cube
Alright so I have a pick that breaks a 5x5 cube and I want it to drop the items in block they were at. how would this be possible. P.S. I have the coords and id stored in a variable
-
Would this work for a 5x5 Crafting grid recipe list?
I have and ItemStack[26][] saying that 0-24 is the inputs and 25 is the output.
-
MODDING HELP (GENERATING METADATA BLOCKS)
well if you want, you dont need a newWorldGenMinable, you could create a new class that does the exact same but make a parameter for metadata Hope this helps!
-
How to make a Workbench with New Recipes?
In the tutorials, you can create a block with a container/gui, just edit that code to fit the vanilla crafting table
-
Blocks surrounding give an error
Alright, I have found that the error is at .getBlockTileEntity, Please Help!
-
[Modding Help]Ore Generation Trouble
private void generateNether(World world, Random random, int Xcoord, int Zcoord); where is the y in the genNether?
-
How can I make it so an item is only used when it is in the Inventory Hotbar?
ITickHandler and the check slots 0-8 of the player(Hotbar)and see if they have it
-
Blocks surrounding give an error
I am trying to make a new electricity system and when I try to find the tile entities around my block to determine the length of the wire it gives me an error, heres my code/error TileEntity var1 = worldObj.getBlockTileEntity(xCoord+1, yCoord, zCoord); TileEntity var2 = worldObj.getBlockTileEntity(xCoord-1, yCoord, zCoord); TileEntity var3 = worldObj.getBlockTileEntity(xCoord, yCoord+1, zCoord); TileEntity var4 = worldObj.getBlockTileEntity(xCoord, yCoord-1, zCoord); TileEntity var5 = worldObj.getBlockTileEntity(xCoord, yCoord, zCoord+1); TileEntity var6 = worldObj.getBlockTileEntity(xCoord, yCoord, zCoord-1); 2013-01-06 20:06:30 [iNFO] [sTDERR] java.lang.NullPointerException 2013-01-06 20:06:30 [iNFO] [sTDERR] at kore.mods.korecraft.TileEntityWire.findDistance(TileEntityWire.java:68) 2013-01-06 20:06:30 [iNFO] [sTDERR] at kore.mods.korecraft.TileEntityWire.<init>(TileEntityWire.java:12) 2013-01-06 20:06:30 [iNFO] [sTDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2013-01-06 20:06:30 [iNFO] [sTDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 2013-01-06 20:06:30 [iNFO] [sTDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 2013-01-06 20:06:30 [iNFO] [sTDERR] at java.lang.reflect.Constructor.newInstance(Unknown Source) 2013-01-06 20:06:30 [iNFO] [sTDERR] at java.lang.Class.newInstance0(Unknown Source) 2013-01-06 20:06:30 [iNFO] [sTDERR] at java.lang.Class.newInstance(Unknown Source) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.tileentity.TileEntity.createAndLoadEntity(TileEntity.java:138) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.world.chunk.storage.AnvilChunkLoader.readChunkFromNBT(AnvilChunkLoader.java:418) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedReadChunkFromNBT(AnvilChunkLoader.java:103) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk(AnvilChunkLoader.java:83) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.safeLoadChunk(ChunkProviderServer.java:182) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:118) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:310) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:84) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:100) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458) 2013-01-06 20:06:30 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 2013-01-06 20:06:30 [iNFO] [sTDOUT] Skipping TileEntity with id tileEntityWire
-
Furnace Recipes that require more then 1 item input
well... if you look in some of the files, you should get a array of itemstacks(Inventory) and you could check if this with this amount are in slot a then set slot a to -= amount and set slot b to the created thing
-
Spawners?(unsolved!!)
net.minecraft.block.BlockMobSpawner
-
[SOLVED] Machine's GUI desync after re-entering the world
check to make sure that you do not set all the data to 0 when you add block to world and if so do a if(i!=null)return 0 else return i Update your mod... many of the things become easier with new forge
-
Java 7 Network issues
just redownload everything and make sure you are using the newest mcp/forge/minecraft/JDK/JRE and make sure you delete your mcp folder and make a new one(Save and reobf work first obviously)
-
packet issues
1. probably a localhost thing unless you edited base classes somewhere 2. you could try to add a system.out in it to make sure it is actually sending and debug from that
-
Spawners?(unsolved!!)
just go in your block file and type this. and look through everything... that gives inspiration. also it is onBlock something so type this.onBlock and then go to your super class and find that method and copy it and Whalaa you are done
-
[Modding Help] I am requesting help on make a new jukebox Block
make it a normal block that extends blockContainer and have a tileentity for it to say what record it contains and then onBlockActivated() if(TileEntityBlaBla.hasRecord){ parXWorld.spawnEntity }else{ if(parXEntityPlayer.getCurrentItemInHand==record.id){//Something like this TileEntityBlaBla.setRecord record.id; } }
IPS spam blocked by CleanTalk.