Posted October 19, 201510 yr So i basically have a block which will be like "the core" of a multi-block structure. From it i will check if the multiblock is created or not. That's the easy part. However what i want this "core" to do is, to plant different type of plants (like wheat seeds, saplings....). It's basically a 3x3 planter. However instead of giving this "core-block" a inventory of it's own i want it to check different blocks that are touching this "core-block" which have an inventory. Which means that if a chest is touching this "core-block" and this chest has seeds in it, the "core-block" will go ahead and plant them. And when they are fully grown it will put the goods inside this chest. And the cycle repeats... I hope you understood what i want to accomplish.
October 19, 201510 yr Author Check if the Block has a TileEntity that implements IInventory. If so, use it. Can i use isAssignableFrom(IInventory) in this?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.