Commit Graph

30 Commits

Author SHA1 Message Date
asofold
cb557122b8 Set maxBlockY from given world. 2014-02-25 11:22:39 +01:00
asofold
abdeb12377 Less object creation with short-use Locations + other preparation.
* Make use of Entity.getLocation(Location) in most places, for starters.
* Prepare a check for moving location consistency.
2014-02-23 02:01:28 +01:00
asofold
8d5a0b1dca Rough update for 1.7.2 blocks.
Adds an ice flag to BlockProperties.
2013-12-01 21:46:44 +01:00
asofold
875b9bdac5 BukkitCompat: Attempt to get the CommandMap by reflection. 2013-08-10 02:27:17 +02:00
asofold
f17378b3e0 More cleanup for health API changes. 2013-07-15 12:31:37 +02:00
asofold
a8d1aded59 [BLEEDING] Adapt to health changes + set NCPCore dependency to 1.6.1. 2013-07-10 01:55:56 +02:00
asofold
e1babee538 MCAccess: Get rid of Block_i method. 2013-07-09 12:05:06 +02:00
asofold
e69741f5dc Simplify MCAccess version tags for support of multiple sub-versions. 2013-07-09 11:47:16 +02:00
asofold
670f403f11 [BLEEDING/INSTABLE] Add 1.6.2 native support, DROP 1.6.1 support. 2013-07-09 11:34:19 +02:00
asofold
f315336005 [TEST] Attempt to fall back to reflection for health issues (one spot). 2013-07-06 15:48:26 +02:00
asofold
e60006d6a3 Update pom.xml descriptions. 2013-07-06 14:49:24 +02:00
asofold
d11e91f2e4 [BLEEDING/INSTABLE] Roughly adjust to 1.6.1 Bukkit API changes. 2013-07-02 12:13:33 +02:00
asofold
73c8ae01e8 NCPCompatBukkit: Bukkit dependency to 1.5.2-R1.0. 2013-06-24 13:25:31 +02:00
asofold
8f862fb3f6 Outer space again! 2013-06-07 15:23:40 +02:00
asofold
3b22ca2e6a [Experimental] Update inventory after FastConsume violations.
This might be used for other inventory violations too (subject to
testing).
2013-05-26 21:01:39 +02:00
asofold
c77dbff23e [Bleeding] Add FastConsume, if available will replace instanteat.
Somewhat hacky still, not sure it actually works too well.
2013-05-23 09:44:24 +02:00
asofold
ce834675d7 Move most code to NCPCore, removes NCPCompat.
Factories are now on NCPPlugin level, thus all the core stuff can be in
one module, giving better source code browsing.

Updates has been moved into an updates package, because there is to be
expected more content, and to make utilities less fat.

To indicate the direction, the basic infra-structure has been added to
allow adding components to the DefaultComponentFactory. Further
processQueuedSubComponents is now called after each components adding in
order to allow more flexible registry features.
2013-05-22 12:24:48 +02:00
asofold
6519ea1e19 Update supported versions of MCAccessBukkit. 2013-05-21 15:07:23 +02:00
asofold
8d0751fa64 [Safety commit] Prepare better mod support for blockbreak (slowly).
Not yet in place, but setting up new package structure to split off some
things from BlockProperties. Likely not final.
2013-05-21 15:02:51 +02:00
asofold
22ffb43ddf [BLEEDING] Testing: ender-pearl glitch use (first sketch, read details).
* This method is "hard-coded" and not configurable yet.
* Prevent throwing and teleporting into blocks directly, prevent
the second throw on glitching into a one thick ceiling (might lead to
lots of passable violations at present).
* If stuck in a block with the feet (not sand/gravel) without being on
ground, throwing is prevented.
* Some dependencies were updated, hopefully without conflicts for
backwards compatibility (untested).
2013-04-22 21:46:49 +02:00
asofold
f2ab4c9a7c Override cleanup methods in BlockCache implementations to remove world
references.
2013-03-13 20:47:42 +01:00
asofold
333369d0ea Can't stand on a minecart, give little more room for boat. 2013-03-13 19:37:49 +01:00
asofold
e35f0585ae Rename simplified fluid level flag. 2013-03-13 19:34:35 +01:00
asofold
b8cda625f8 Double is used here. 2013-03-13 19:30:20 +01:00
asofold
0d2862c21b Check "instanceof Minecart" instead of EntityType.
Right now and especially with Minecraft 1.5, one has to account for
several types of minecarts.
2013-03-13 05:22:53 +01:00
asofold
3f2780fe7d Fix block-flag-setup for bukkit-api-only.
Allow all blocks that get the IGN_PASSABLE flag set but which the player
can stand on to be ground from height 0 on (GROUND_HEIGHT, takes
effect unless for blocks with an explicit workaround). Set IGN_PASSABLE
and GROUND_HEIGHT for ENDER_PORTAL_FRAME explicitly.
2013-03-11 07:50:44 +01:00
asofold
212438dd7b MCAcessBukkit: Also make Glowstone an exception. 2013-03-01 19:34:44 +01:00
asofold
b2be3b9474 NCPBukkitCompat: Ensure some full blocks are not ignored by passable. 2013-03-01 19:10:00 +01:00
asofold
e46c8a1893 Compile NCPCompatBukkit against 1.4.7-R1.0, since more is not needed. 2013-03-01 16:38:05 +01:00
asofold
da4b142aa9 Add module: NCPCompatBukkit
Seems better to have a dedicated module for this as well, since other
modules might be built against different versions of the Bukkit-API,
potentially.
2013-02-28 03:40:40 +01:00