siiikooo0743
Forge Modder-
Posts
42 -
Joined
-
Last visited
Everything posted by siiikooo0743
-
onPlayerStoppedUsing without walking slow?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
cause that is not how it works^^. Minecraft calls that for you when the player let's go the mouse button. -siiikooo -
onPlayerStoppedUsing without walking slow?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Yeah but it isn't being called unless you call player.setItemInUse(stack, maxDuration) , which slows the player down, like eating would:( -siiikooo -
Can I make minecraft call Item.onPlayerStoppedUsing() without the player walking slow? -siiikooo
-
[solved]Block Setting Hardness depending on metadata?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Works, whoot -siiikooo -
[solved]Block Setting Hardness depending on metadata?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Thanks, didn't even see that function Trying it now, but should work. -siiikooo -
[Solved]Why does my TileEntity lose its Data on World reload??
siiikooo0743 replied to siiikooo0743's topic in Modder Support
THANK YOU! Works! -siiikooo -
[Solved]Why does my TileEntity lose its Data on World reload??
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Mod on GitHub now: https://github.com/siiikooo0743/JAOUM If you want to check out the whole code. -siiikooo -
[solved]Block Setting Hardness depending on metadata?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
anyone? -
[Solved]Why does my TileEntity lose its Data on World reload??
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Hi, TileEntity.invalidate() never get's called. this.chunkTileEntityMap.put(chunkposition, par4TileEntity); gets called and par4TileEntity has all the data. -siiikooo -
[Solved]Why does my TileEntity lose its Data on World reload??
siiikooo0743 replied to siiikooo0743's topic in Modder Support
The Data seems to get lost between the TileEntity.readFromNBT([...]) and the later called Block.getBlockTexture([...]), where i use the Tile Entity. Trying to find out why -siiikooo -
[Solved]Why does my TileEntity lose its Data on World reload??
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Got breakpoints working and the data gets actually properly read. The Block just doesn't update right. I'm fixing that now. siiikooo -
[Solved]Why does my TileEntity lose its Data on World reload??
siiikooo0743 replied to siiikooo0743's topic in Modder Support
My problem at the moment is to get breakpoints working in my project setup. But i might just use the standart setup now. -siiikooo -
k I have no idea. Never saw this error before. Good luck fixing it -siiikooo
-
Maybe it's more than you have?? But I don't know. -siiikooo
-
[solved]Block Setting Hardness depending on metadata?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Saw there is an metadata sensitive version. So i would only need to override this function for every Item. But how do i do that without actually overriding to file??? -siiikooo -
[solved]Block Setting Hardness depending on metadata?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Where(in which function) would i place this snippet best? Best would be if changed the hardness even when the player holds down the left Mousebutton and than turns over the block.(Other than the Dragonegg) -siiikooo -
Hi, my TileEntity loses its Data when i save and reload the world. Why? TileEntity: public class TE_BuildingBlock extends TileEntity { public int TextureBlockID; public int TextureBlockMetadata; @Override public void writeToNBT(NBTTagCompound par1) { super.writeToNBT(par1); par1.setInteger("TextureBlockID", TextureBlockID); par1.setInteger("TextureBlockMetadata", TextureBlockMetadata); } @Override public void readFromNBT(NBTTagCompound par1) { super.readFromNBT(par1); TextureBlockID = par1.getInteger("TextureBlockID"); TextureBlockMetadata = par1.getInteger("TextureBlockMetadata"); } } MainMod: GameRegistry.registerTileEntity(TE_BuildingBlock.class, "buildingBlock"); Block: public TileEntity createTileEntity(World world, int metadata) { return new TE_BuildingBlock(); } @Override public boolean hasTileEntity(int metadata) { return true; } Thanks siiikooo
-
[SOLVED]Texture dependent on TileEntity?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
hard if i don't have the world but i solved it. thanks anyways siiikooo -
Hi, is there a way to set the hardness of a block depending on what his metadata is? For exmample if the metadata is 0 the hardness is 1.0F and if it's 1 the hardness is 3.0F Thanks siiikooo
-
[SOLVED]Texture dependent on TileEntity?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Thanks a lot man! Helped a lot! Will test it now. -siiikooo EDIT: Is there an easy way of teeling mc that this block needs an update? -
[SOLVED]Texture dependent on TileEntity?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Hi, i can't see how this would help me: But thanks for the idea of a TileEntitySpecialRenderer -siiikooo -
Is your mod loaded on the Server? Maybe check the Serverconsole. Can't seem to find anything wrong in the code. siiikooo
-
Hi, is it possible to change the texture of a block dependent on it's TileEntity? I have more than 16 different textures so i can't do it with metadata. Thanks siiikooo
-
[SOLVED]NullPointer at TileEntity.func_85027_a?
siiikooo0743 replied to siiikooo0743's topic in Modder Support
Oh... that is code is really old. Back then i didn't know that that is the ClientWorld lol Thanks i never noticed that. -
Hi, i get this crash-report: http://paste.minecraftforge.net/view/0501b3b8 every time the updateEntity()-function of my TileEntity is called. gitHub: https://github.com/siiikooo0743/Extradimensional-Hotbar/tree/master/MCP/mcp/src/minecraft/siiikooo0743/EXDIHO Thanks in advanced siiikooo0743