Countdown - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html) +--- Thread: Countdown (/thread-1314.html) |
RE: Countdown - daniel0916 - 01-19-2014 (01-19-2014, 06:13 AM)STR_Warrior Wrote: Non of the effects are actualy working. You can send them to a client so the client thinks an entity has an potion effect, but it doesn't do anything. Okay, i was false with the hunger effect. Sorry. Where is the Enchantment Table blocked? I added a Block class for them but nothing will be done. Must i register it anywhere? I will try to work on them. RE: Countdown - NiLSPACE - 01-19-2014 You must add it to the BlockHandler in $Blocks/BlockHandler.cpp RE: Countdown - daniel0916 - 01-19-2014 Enchantment Table Window open. Now i need SlotArea. For that i need a EnchantmentTableEntity or? Edit: I have a other idea.. RE: Countdown - daniel0916 - 01-19-2014 Okay, currently im working on the SlotArea. I added the dropping of the item when the enchantment table windows will be closed. But how can i send the three enchanting fields to the player? I will create a new thread in the development category. RE: Countdown - xoft - 01-20-2014 Just reporting here that I have fixed the cWorld:ScheduleTask() API function and it should work now. Note that I have swapped the parameters, the tick delay goes first, the function goes second. Also, there's a working example in the Debuggers plugin's "/sched" command handler. Take a note how it implements delayed messages to specific players. |