Commit Graph

1750 Commits

Author SHA1 Message Date
asofold
2334bc9f22 Hover check: Check if chunks are loaded before triggering a violation. 2013-04-21 19:48:04 +02:00
asofold
fa50f34023 Add the auxiliary OnDemandTickListener class for temporary TickListener
registration.

* OnDemandTickListener contains API for convenient on-demand
registration and use.
* TickTask recognizes these and conveniently sets them
registered/unregistered.
* TickTask was optimized to allow faster adding and removal of
TickListener instances.
* Used for delayed component registration.
* Future purpose.
2013-04-18 17:10:12 +02:00
asofold
a950a2b7f8 Use a "temporary" TickListener to process queued IHoldSubComponents
instances.
2013-04-15 16:20:41 +02:00
asofold
d15a1d1f9e Only add TickListener instances once. 2013-04-15 16:16:05 +02:00
asofold
de5f152df9 [BLEEDING] Flesh out aspects of ComponentRegistry.
* Fixes data removal ignoring chat.logins and chat.text for a part.
* Move some components interfaces and ReflectionUtil to NCPCommons.
* Unregister components in reverse order.
* Add ComponentRegistryProvider for generic sub-registries (DataManager
for instance).
* Add IHoldSUbComponents for delayed sub-component registration
(convenient for iteration over parent-components with later registration
of sub components not missing out any registered parent components for
those). [Partly implemented: Using this during runtime does not yet
work, only used in onEnable.]
* Let CheckListener implement IHoldSubComponents and use this with
addCheck to register the queued checks after all the listeners.
* Register the core system components in a bunch before the
CheckListenerS, to allow sub-registries to work directly and to allow
getAPI().addComponent on the plugin class during construction of
CheckListeners.
2013-04-15 16:11:08 +02:00
asofold
652342c6c9 Add getMCAccess(boolean). 2013-04-15 09:05:01 +02:00
asofold
7575c93640 Set locked chest to instantly breakable with 1.5. 2013-04-14 17:45:13 +02:00
asofold
7d79c2302d Increment dependency versions (dev, cb2691) due to CB beta release. 2013-04-14 17:41:06 +02:00
asofold
003e104ef4 Add module for CB2691 to match the beta release of CraftBukkit.
The dev module will compile with 1.5.1-R0.2 but not be used for the
moment.
2013-04-12 19:00:19 +02:00
asofold
31e21000e5 Make chat.logins default settings less strict.
Requested by @andrewkm.
2013-04-12 15:07:38 +02:00
asofold
290fc0feb0 Two fixes for MovingListener/join.
* Catch a null location.
* Set the set back after resetting fly data, if a location is given.
2013-04-05 21:34:57 +02:00
asofold
091d29cbbc Set version to 3.9.1 for further development. 2013-03-22 09:30:46 +01:00
asofold
97fd0be89b Set version to 3.9.0-RC for release on BukkitDev. 2013-03-21 17:47:58 +01:00
asofold
997c952233 Sandstone stairs like quartz stairs. 2013-03-21 17:23:49 +01:00
asofold
f42817a6f2 Run "hand-picked" before MCAccess, if it implements
BlockPropertiesSetup.
2013-03-21 16:45:56 +01:00
asofold
f99e562842 Re-add stairs flags to nether-quartz stairs. 2013-03-21 11:37:44 +01:00
asofold
7c5f37ce46 Workaround for fences. 2013-03-21 11:22:42 +01:00
asofold
d02b54bab2 Set version to 3.9.0 due to 1.5 being a new MC version.
Reminder: Policy is to increase second level count for Minecraft updates
and bigger internal/external changes, while the third level count will
indicate releases on BukkitDev rather. First level count probably will
only increase if something really fundamental is changed.
2013-03-21 09:36:49 +01:00
asofold
d6d465418f [BLEEDING] Set DEV module to 1.5.1. 2013-03-21 01:10:56 +01:00
asofold
72c69df73c Add MC 1.5 module. 2013-03-21 01:01:31 +01:00
asofold
d0000bb141 More workarounds for wooden pick + efficiency. 2013-03-20 12:10:55 +01:00
asofold
56f0fa9c3c Add MC 1.5 block properties (breaking times + flags).
Only the hopper block needs wa workarounds update, thus it is set to
ign_passable + ground_height.
2013-03-20 10:30:25 +01:00
asofold
b86b88c1d2 Correct bad flag value for RAILS. 2013-03-20 09:24:02 +01:00
asofold
b09f2e511c Missing vehicle-exit: Always clear nofall data (leave that to MC). 2013-03-20 07:04:12 +01:00
asofold
d659dd7f26 Attempt to work around missing VehicleExit events with latest CB dev
builds.
2013-03-20 06:15:17 +01:00
asofold
33be1ca501 Add RAILS flag. 2013-03-20 06:11:57 +01:00
asofold
5e5076a7b7 Add safeguard against the safeguard not being present. 2013-03-17 08:51:50 +01:00
asofold
9e16d8f2ef Remove debug message (...). 2013-03-16 04:34:25 +01:00
asofold
171f2aa932 Re-order conditions. 2013-03-16 04:33:47 +01:00
asofold
ab99e871f9 Add heuristic for the THORNS enchantment. 2013-03-16 04:25:16 +01:00
asofold
20b28f950f Slightly more tolarance for boats. 2013-03-16 02:42:50 +01:00
asofold
7d17fb67b4 Suppress deprecation warning for now. 2013-03-16 00:16:58 +01:00
asofold
5dcddaed18 Join tags with a '+' as done elsewhere too. 2013-03-16 00:15:16 +01:00
asofold
6adbd89e15 Deprecate MCAccess.Block_i. 2013-03-15 22:31:25 +01:00
asofold
636faecd52 [BLEDING] Update dev-module to CB/1.5. 2013-03-15 22:31:02 +01:00
asofold
32600dd335 Set version to 3.8.13 for further development. 2013-03-15 21:36:12 +01:00
asofold
328d277955 Set version to 3.8.12-RC2 to distinguish quick fix release. 2013-03-14 21:31:44 +01:00
asofold
0fc3b54db9 Also catch getSlot() < 0 for the InventoryClickEvent. 2013-03-14 21:30:19 +01:00
asofold
677aef45cd Set version to 3.8.12-RC for release on BukkitDev. 2013-03-14 14:52:51 +01:00
asofold
1b811716e2 Inventory.FastClick: Fix vl not adding, prepare for 1.5. 2013-03-14 12:21:38 +01:00
asofold
325d47fcbc Ignore "outside" clicks, i.e. slots outside of the inventory slot range. 2013-03-14 11:02:41 +01:00
asofold
9de6175874 New FastClick (inventory) check.
This check is less strict on short term but more strict on medium term.
Keeps track of one second (200 ms resolution).
2013-03-14 10:44:29 +01:00
asofold
0abca20dd9 Set version to 3.8.12 for further development. 2013-03-14 08:35:49 +01:00
asofold
84da47315b Add example entry for overrideflags (snow: default). 2013-03-14 08:34:32 +01:00
asofold
b5e8ee7935 Fix PassablRayTracing not respecting block flags.
Heavier but more consistent: use BlockProperties.collidesBlock, since we
don't really check the blocks bounding box against a ray anyway, but
collision with the full moves bounding box. Getting a blocks shape
should some day be routed through BlockProperties so the shape is
correct from the start.
2013-03-14 08:27:58 +01:00
asofold
0e506eb967 Set version to 3.8.11-RC for release on BukkitDev. 2013-03-13 22:21:46 +01:00
asofold
15bf8e3ece Move utility methods for altering flags to the BlockFlags utility class. 2013-03-13 22:06:55 +01:00
asofold
1eb7dbacf1 Remove the old snow-level flag for leveled snow. 2013-03-13 22:02:23 +01:00
asofold
a789b9286d Can still not stand on Minecarts (dev branch). 2013-03-13 20:57:58 +01:00
asofold
f2ab4c9a7c Override cleanup methods in BlockCache implementations to remove world
references.
2013-03-13 20:47:42 +01:00