
Enginecrafter
Members-
Posts
100 -
Joined
-
Last visited
Everything posted by Enginecrafter
-
This problem looks solved, but I didn't say I have another problem with shift-click moving items. When I use it, the item moves (from my invenotry to block tileEntity) fine, but when moving item from block to inventory, it duplicateds. Fo example: I have single stone in inventory. I move it to my block's inventory. The inventory displays single stone inside it's (single) slot. I move the stone back to my inventory using shift-click and then, I have two stones in my inventory. <End of example> I guess it is duplicating, because it is called on each side(client and server) But where I must insert if(!world.isRemote)? Sorry, when I am annoying, but I REALLY need help with this. This is my last step to create complex Inventory.
-
Hello. I am currently creating a nameless(only for now) block that has inventory. When I use shift-click on item, it works fine, but when I try basic movement to container(click on an item, drag cursor with item to choosed slot and click on this slot, this item moves to choosed slot) this item will disappear. If you can help me, post your help here. Here is my code
-
[1.7.10][Unsolved]TileEntity saving variables
Enginecrafter replied to Enginecrafter's topic in Modder Support
But this tutorial you recommend for me is outdated. -
[1.7.10][Unsolved]TileEntity saving variables
Enginecrafter replied to Enginecrafter's topic in Modder Support
Well, I understood. Sorry, I am going off topic... Do you know about good tutorial for leanring TileEntities, that implement IInventory? I never made them, but I want to learn how-to them. -
[1.7.10][Unsolved]TileEntity saving variables
Enginecrafter replied to Enginecrafter's topic in Modder Support
OK, it worked. And... Can you explainme, what does this packet? Or how this packet work? It worked, but I don't understand it. -
[1.7.10][Unsolved]TileEntity saving variables
Enginecrafter replied to Enginecrafter's topic in Modder Support
But, to what class? To my TileEntity class or my block's class? -
[1.7.10][Unsolved]TileEntity saving variables
Enginecrafter replied to Enginecrafter's topic in Modder Support
I explain, why I think they are not saved. But I am not sure, because of this: 1. I place one block (from my mod:excavator) and when I placed it, it created tileentity and writes to it a INT direction. Then, is writed in code: every tick check if is powered by redstone. If true, set BOOLEAN active to true. This boolean is used only for texture. This block will check every tick, if behind it is any block, if true, then drops it on this(machine) block. 2. I leave(exit from) the world and again join (play) the world. 3. I looked at the blocks. All are rotated to the default direction-South(0). When I place a block next to it's back texture side, and power it with redstone, nothing happens, but when I place a block at side, where back texture side was rototated before, it destroy the block and drop it. And about the block update. I made this block react to redstone-when I turn the power ON, the block must change it's texture. But nothing happens while I place or destroy block next to it. I wanted when is redstone on, update or notify block. Sorry, if you find any mistakes, I am writing from mobile now and the keyboard is too small. -
[1.7.10][Unsolved]TileEntity saving variables
Enginecrafter replied to Enginecrafter's topic in Modder Support
Oh, sorry. I forgot to place my code inside of my post. Here is it: And, how can I notify this block of neighbour change (Make this block update or update its texture)? -
I have a block, that have TileEntity. When I "re-log" to the world, all my Blocks-with-tileEntity are rotated to 0(South) Can you help me with fixing it?
-
They all can't help you. The 1.5.2 forge and MCP are outdated and don't work. I tried it. I tried to make a mod for my modpack( Minecraft 1.5.2 ) and when I downloaded it, I ran it and it throws my lot of exceptions of type java."something".FileNotFoundException. It means, you must update your whole modpack. In all ways, you can't modify or create mods for Minecraft 1.5.2. Below you can find way, that solves this problem. 1.Update your modpack to newer version. I don't recommend 1.6.x or 1.7.2. 1.6.4 for outdation. 1.7.2 for CurrentModificationException I recommended to update to version 1.7.10 or 1.8. If you update your modpack, they can help you. I am so sorry, but if you want it, you must do this.