Cuberite Forum

Full Version: Countdown
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13
(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.
You must add it to the BlockHandler in $Blocks/BlockHandler.cpp
Enchantment Table Window open. Now i need SlotArea. For that i need a EnchantmentTableEntity or?

Edit: I have a other idea..
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.
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.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13