sk89q
56b349ead8
Add a new block metadata framework and fix //rotate and //flip.
...
Remove the previous Mapping interfaces.
2014-07-09 14:14:41 -07:00
sk89q
6ef4f7b7cc
Moved legacy block classes to the legacy source root.
2014-07-08 20:08:43 -07:00
sk89q
b2e953a95f
Merge remote-tracking branch 'origin/master' into feature/mapping
2014-07-02 12:54:30 -07:00
sk89q
06c248e518
Rectified that hopper fix being very incomplete (and unit test breaking!).
2014-07-01 15:37:12 -07:00
sk89q
e207ccebe8
Fixed activated hoppers rotating incorrectly.
...
Fixes WORLDEDIT-3138.
2014-07-01 15:16:27 -07:00
sk89q
09eb36dc5e
Added new Extent-compatible Clipboard and BlockArrayClipboard classes.
...
The goal is to replace use of CuboidClipboard with these new classes.
Support for entities, //flip, //rotate, and //distr still needs to be
re-implemented.
DataException was also removed from BaseBlock because The Base(...)
classes should be "dumb" blocks without any validation.
2014-06-29 17:47:08 -07:00
sk89q
e0fd804f70
Standardized file headers.
2014-04-04 15:23:11 -07:00
sk89q
478ce3f627
Fixed utility classes having constructors.
2014-04-04 14:35:12 -07:00
sk89q
2b0ee84952
Code convention cleanup of right braces.
2014-04-04 14:26:08 -07:00
sk89q
08900cbfc2
Removed foundation.* package.
2014-04-02 21:23:14 -07:00
sk89q
469cb8c8b3
(Breaking) Moved some packages around.
...
Most of the changes should not break *most* WorldEdit-using plugins,
but implementations of WorldEdit are broken by this change.
2014-04-02 19:20:12 -07:00
sk89q
fa24eb60fa
Added getLazyBlock() to Extent for performance.
2014-03-31 18:22:44 -07:00
wizjany
ab0d170d9a
Added -s flag to //paste to select the pasted area.
...
Also undeprecated a method that shouldn't have been.
2014-01-12 15:57:19 -05:00
wizjany
611cb81cf8
Added rotate/flip/cycle data for 1.7.2 blocks.
2013-12-24 18:31:48 -05:00
TomyLobo
b3f2c10f79
Fixed some javadocs and deprecated isNaturalTerrainBlock(int).
2013-12-10 07:13:41 +01:00
wizjany
7b539dade6
Added 1.7 blocks and items.
2013-12-09 23:21:47 -05:00
TomyLobo
68b8218bea
Moved containsFuzzy from EditSession to BaseBlock.
2013-12-03 23:53:44 +01:00
TomyLobo
d467bf1386
Added data value mappings for certain blocks and made all other block types wildcard matches.
2013-12-03 23:53:33 +01:00
TomyLobo
da37f5424c
Improved the readability of BaseBlock.equals.
2013-12-02 10:35:00 +01:00
TomyLobo
66253ff891
Added BlockType.getBlockForItem.
2013-11-30 17:21:36 +01:00
TomyLobo
3fa9a4e309
Attached ascending rails to the block they're ascending towards, in addition to the block below them.
2013-11-17 23:43:38 +01:00
TomyLobo
b6ab34f23b
Attachments for the 21st century!
2013-11-17 21:21:36 +01:00
TomyLobo
bef5c8e3e7
Removed flower pots from canPassThrough.
2013-11-14 18:40:36 +01:00
TomyLobo
7dca4d15ef
Made hay blocks rotate like logs.
...
They're textured like them, too, so it fits.
Also, they no longer violate the "flip twice equals rotate twice" conditions.
2013-10-20 16:31:50 +02:00
TomyLobo
696a2819a7
Fixed head rotation.
2013-10-20 16:31:50 +02:00
TomyLobo
6c4d2e2d8e
Fixed lever rotation.
2013-10-20 16:31:49 +02:00
TomyLobo
c750cc6871
Fixed bed rotation.
2013-10-20 16:31:48 +02:00
TomyLobo
9220831ea4
Fixed door rotation and disabled door y flipping.
...
Mojang radically changd the way doors work, so y flipping on a per-block
basis is now impossible.
2013-10-20 16:31:48 +02:00
TomyLobo
06ef568bdd
Code formatting.
2013-10-20 16:31:47 +02:00
TomyLobo
2fdc76a3f9
Added centralTopLimit property for hoppers.
2013-10-20 00:24:55 +02:00
TomyLobo
43f9e517e7
BlockType adjustments
...
- Flagged all snow layers except single layers (data values 0 and 8) as "cannot be passed through".
- Fixed centralTopLimit for trap doors and fence gates and cake blocks with data values 6..15.
2013-10-17 11:03:56 +02:00
TomyLobo
b612de3429
Added Block and id/data overloads to canPassThrough, centralTopLimit and isNaturalTerrainBlock.
2013-10-17 11:03:54 +02:00
TomyLobo
28047894c4
BlockType adjustments
...
- Flagged heads as "cannot be passed through".
- Adjusted shouldPlaceLast (Added anvils, removed heads).
- Fixed portal frame height and added a few new blocks to centralTopLimit
- Made cobblestone wall 1.5 high.
2013-08-16 08:18:37 +02:00
wizjany
7a757ccdb2
Added blocks and items for MC 1.6
2013-07-02 07:34:41 -04:00
wizjany
5895b492da
Horrible 0-day fix. Super important to upgrade.
...
Actually just a typo.
2013-06-03 16:54:14 -04:00
wizjany
94dbfa3b85
Be less lazy handling MobSpawnerBlock tags. (Although once again, no one should actually being using this class.)
2013-05-12 13:23:31 -04:00
wizjany
f213bb73e8
Added pistons (retracted only) to cycler tool.
2013-04-18 16:56:09 -04:00
wizjany
102a149dbb
Fix setbiome issue and tweak a few block names.
2013-04-09 17:17:15 -04:00
wizjany
0e8508847e
Added hoppers to block data info
2013-03-25 10:24:18 -04:00
wizjany
422cba101d
Fix NPE in mob spawner blocks on non-bukkit implementations
2013-03-17 22:11:29 -04:00
wizjany
83d5e2fd22
Fix block rotations
2013-03-17 11:11:41 -04:00
wizjany
3eb821ffed
Added names for new items
2013-03-16 02:18:07 -04:00
wizjany
c042f7829a
Fixed equalsFuzzy returning true when it shouldn't
2013-03-15 22:25:57 -04:00
wizjany
db9808cfd1
Update nmsblock classes for 1.5
2013-03-15 15:10:23 -04:00
Wizjany
94ef1591e8
Update for MC 1.5
2013-03-14 21:03:14 -04:00
kgamecarter
ca1cecbdf4
Fix //flip using incorrect block directions.
2013-03-14 19:29:28 -04:00
wizjany
8efb995667
Use actual data for skull blocks
2013-03-09 19:33:31 -05:00
Wizjany
02b85a0034
Change cycler tool behavior with logs.
...
- Now works with jungle logs.
- Cycling forward (r-click) cycles through bark types (oak, spruce..)
- Cycling backward (l-click) cycles through orientations (upright, both
sides, and the "all six sides" texture)
2013-02-21 21:57:54 -05:00
Wizjany
ef62a60fff
Add new(ish) tags to MobSpawnerBlock (not supported by bukkit api atm)
2013-01-31 15:23:08 -05:00
Wizjany
eb489bd21d
Add wooden buttons to BlockData
2013-01-31 12:46:32 -05:00