serena41605866
Members-
Posts
5 -
Joined
-
Last visited
Everything posted by serena41605866
-
[SOLVED][1.14] How to change a loot table dynamically?
serena41605866 replied to serena41605866's topic in Modder Support
The_Wabbit, desht: Thank you for your quick and brief replies. I have read onReplaced method of ChestBlock and understood how to implement. -
I am creating a new block which can contain some items, and, now, if the block is destroyed, only the block is dropped. I want to make it possible to drop not only the block but also items in it. I read the code of HopperTileEntity and I think extending LocableLootTileIntity is a key, but I cannot understand which methods are important. Would you tell me how to change a loot table dynamically?
-
Thank you for your reply. Yes, it happens for every world file. I created more than 10 worlds and it happens for all the worlds. No, it does not happen without my mod. I do not encounter the problem with Vanilla or only Forge. I also try to use another mod which only has original item (not block), and I do not encounter the problem with this item mod. The problem happens only with my block mod which I described in previous post. The problem may happen without mod but I do not know reproducing procedure.
-
Hi, I am creating a new mod. I am encountering the problem below: latest.log That is very simple mod: I create a block and it drops an random item if I click with iron, gold or diamond. It seems working well, but when I die, I cannot respawn. MyBlock.java Precisely, after creating a new world, I use this block many times. Then, I go to nether, and dive to lava. Now, I cannot respawn. (Even if I can respawn, by repeating to use the block and to dive lava sometimes, I cannot respawn.) Nothing happens after clicking respawn button. I cannot go back to title, neither. Do you have any solutions? Do you have any ideas which I should try?