Wesley Wolfe
3645b38ea5
Moved all specific minecart entities to sub-package.
...
This change is breaking for the new API for 1.5, including the interfaces for
the three new Minecart types and the name of the previously TNT_MINECART
material.
This change also deprecates the two previous specific minecart types located
in the org.bukkit.entity package. This deprecation is not a breaking change
and will still be internally supported.
Each minecart type has new javadoc to be slightly more descriptive. Included
with this are specific references to the interface for each respective
EntityType entry. Another package-info.java file has been included as well.
All specific minecart types extend minecart, each with a more descriptive
name. The naming will also follow the old convention. In addition, the
minecart with no specific designation is now more closely referred to as a
rideable minecart.
2013-03-16 02:30:31 -05:00
Travis Watkins
9b0ecdfc76
Update Bukkit for Minecraft 1.5
2013-03-15 13:26:46 -05:00
MikeMatrix
a91c4c6f38
Added negative id check to Material.getMaterial(int). Fixes BUKKIT-3414
...
Negative id values would try to access the array out of bounds and throw an java.lang.ArrayIndexOutOfBoundsException.
2013-01-15 05:05:20 -06:00
feildmaster
70b440e189
Update Bukkit to Minecraft 1.4.6
2012-12-20 11:26:32 -06:00
Wesley Wolfe
a06f7b1b86
Add ItemMeta factory and interfaces. This adds BUKKIT-15
...
Included with ItemMeta is a new serializable class Color.
PotionEffects are now serializable.
2012-12-17 01:16:28 -06:00
Wesley Wolfe
a7bd98960a
Add Material methods. Adds BUKKIT-3161, BUKKIT-3162, BUKKIT-3163,
...
BUKKIT-3164
This adds an isFlammable method, to indicate if a block can catch fire.
This adds an isTransparent method, to check if light can pass through.
This adds an isOccluding method, to check if it fully blocks vision.
This adds an isBurnable method, to indicate if a block can burn away.
2012-12-14 02:03:05 -06:00
Wesley Wolfe
8b669c18b2
Add isSolid() to Material. Adds BUKKIT-3131
...
A 'solid' material indicates that it is a block and cannot be passed
through.
2012-12-09 15:13:25 -06:00
Wesley Wolfe
5165d9657e
Make RECORD_12 a record. Fixes BUKKIT-3023
...
Record 12 was missed when added to the Material enum.
2012-11-24 02:26:07 -06:00
Darth Android
b0b6d082d9
Cache material data constructors. Fixes BUKKIT-2980
...
Reobtaining a constructor is not a trivial operation, this change makes the Material enum store the respective constructors for each MaterialData.
Additionally 'fixed' the material tests to use proper generics.
2012-11-24 02:25:20 -06:00
Travis Watkins
69374c7d40
Update Bukkit for Minecraft 1.4.4 changes.
2012-11-13 16:13:38 -06:00
Travis Watkins
d5d1b41c02
Update Bukkit for Minecraft 1.4(.2) changes.
2012-10-27 22:15:59 -04:00
Mike Primm
67cf6c6bdf
[Bleeding] Add new MaterialData classes for new blocks and update existing blocks with new data
2012-08-05 19:55:46 -05:00
feildmaster
110ad8c196
Update Bukkit for 1.3.1 changes
2012-08-02 04:54:21 -05:00
Wesley Wolfe
018f982283
Fix Wood(plank) and add Sandstone MaterialData; addresses BUKKIT-1384
2012-03-31 08:35:59 -05:00
Nathan Adams
8604b9d2af
Updated Bukkit API for 1.2
2012-03-01 14:25:51 +00:00
Celtic Minstrel
276c1559c8
[Bleeding] MaterialData fixes. Addresses BUKKIT-842
2012-03-01 01:31:00 -05:00
Celtic Minstrel
aaea53c517
Implementation of richer playEffect methods. Addresses BUKKIT-857
2012-02-29 15:02:59 -05:00
Erik Broes
9c0f2f6d38
Add some testing
2012-01-29 11:17:44 +01:00
Erik Broes
eb9dc64493
Generic cleaning
2012-01-15 14:37:43 +01:00
Nathan Adams
38601bfd28
Changed Material to use an array for lookups, instead of a hashmap. Thanks to zml2008 for the PR
2012-01-15 09:18:20 +00:00
Nathan Adams
c423a56624
Added new 1.1 items, enchantments. Added WorldType, and a method to set/get the type of a world at creation.
2012-01-12 22:17:18 +00:00
Erik Broes
b7d76e5266
Fix some updated item durability values
2012-01-05 17:07:25 +01:00
Erik Broes
c16cf3c24b
Fix max stacksize on Potions.
2012-01-05 17:00:57 +01:00
Erik Broes
fae6a198fa
Fix max stacksize on EnderPearls. Fixes BUKKIT-418
2012-01-04 09:43:17 +01:00
Nathan Adams
bcc738fc91
Added Material.isEdible. Thanks simplyianm
2011-12-06 09:44:16 +00:00
Andrew Ardill
cd942ae2ad
BREAKING CHANGE: BUKKIT-44 Fix Material Enum typo. Thanks Steeveeo!
2011-11-28 15:52:58 +11:00
Andrew Ardill
483b6516a2
BUKKIT-61 Add durability to BOW material type. Thanks snowleo!
2011-11-28 10:01:46 +11:00
Nathan Adams
e45a928b79
BREAKING CHANGE: Renamed Material.WHITESTONE to ENDER_STONE. Added DRAGON_EGG.
2011-11-21 22:38:51 +00:00
Nathan Adams
c6c88b2452
Fixed typo for NETHER_WARTS
2011-11-19 20:23:28 -08:00
Nathan Adams
bac82e018b
Added various new 1.9 entities, blocks and items
2011-11-19 20:23:27 -08:00
Dinnerbone
e35b40b671
Added MonsterEggs materialdata
2011-09-25 15:27:16 +01:00
Celtic Minstrel
97259e5054
Remove Jukebox MaterialData in favour of Jukebox BlockState
2011-09-25 03:51:09 +01:00
Dinnerbone
ebca437ec7
Fixed Material.getData returning for "dull" materials with no fancy dataclass
2011-09-25 03:05:07 +01:00
sunkid
9a5665137d
added support for SmoothBrick and changed steps to a TexturedMaterial
2011-09-25 02:47:47 +01:00
EvilSeph
1d1d4ae7c4
Fixed max stack sizes for some items, as per new vanilla spec.
2011-09-17 17:01:57 -04:00
Dinnerbone
aedcba07b8
Added new Materials (need to add individual api later)
2011-09-15 02:54:19 +01:00
EvilSeph
5a71e9e187
Fix missing/incorrect stack sizes and max damages. Thanks celticminstrel and sunkid!
2011-07-14 11:21:00 -04:00
Dinnerbone
ff1176c371
Update to 1.7
2011-06-30 15:18:11 +01:00
EvilSeph
888d201388
Fixed some item durability values. Thanks jascotty2!
2011-06-07 02:23:01 -04:00
EvilSeph
2342c01048
Fixed TrapDoor and added MaterialData for LONG_GRASS. Thanks sunkid!
2011-06-07 02:15:55 -04:00
Dinnerbone
6a23a9122b
Added new Materials
2011-05-26 13:45:55 +01:00
Erik Broes
c4d444ce98
Whitespace + general cleanup
2011-05-15 14:06:02 +02:00
sunkid
51731221d0
Added MaterialData support for SAPPLING, POWERED_RAIL, and DETECTOR_RAIL.
2011-04-25 17:17:21 -04:00
Dinnerbone
56afe8be0b
Added WEB, POWERED_RAIL and DETECTOR_RAIL to block list
2011-04-21 15:41:40 +01:00
sunkid
55e4fbfd14
Ton of Material extensions handling the meta-data of blocks.
2011-04-03 11:28:19 +02:00
Dinnerbone
b01b49da5e
Added COOKIE and LOCKED_CHEST
2011-03-31 21:55:16 +01:00
Celtic Minstrel
30a821c904
Add material data classes for cake, jukeboxes, and diodes. Remove some unneeded ones.
2011-03-26 18:23:43 +01:00
sunkid
27d4917d0f
added the MaterialData subclass Door
2011-03-25 23:07:34 +01:00
sunkid
422f5b616d
added MaterialData classes and associated Enums for COAL, CROPS, LOG, LEAVES, STEP, and DOUBLE_STEP
2011-03-21 17:25:34 +01:00
holic
effd3e6574
Fixed Material constructor
2011-03-07 13:22:09 +00:00