13
0
geforkt von Mirrors/Paper

77 Commits

Autor SHA1 Nachricht Datum
Bukkit/Spigot
f9bec6eadd Deprecate magic values
By: Wesley Wolfe <weswolf@aol.com>
2013-08-19 13:32:18 -05:00
Bukkit/Spigot
153cde6043 Update Bukkit for Minecraft 1.6.1
By: Wesley Wolfe <weswolf@aol.com>
2013-07-01 05:50:24 -05:00
Bukkit/Spigot
c22b602d2b Correct 1.5 material data. Fixes BUKKIT-4004, BUKKIT-3785
By: Travis Watkins <amaranth@ubuntu.com>
2013-04-12 16:20:50 -05:00
Bukkit/Spigot
1b2a7454d6 Add Dropper BlockState. Adds BUKKIT-3750
By: Xephi <xephirot59@gmail.com>
2013-03-21 13:44:20 +01:00
Bukkit/Spigot
6831c464fd Added the hasGravity method to Blocks. Adds BUKKIT-3832
By: nitnelave <nitnelave1@gmail.com>
2013-02-14 22:40:38 +01:00
Bukkit/Spigot
410adb8404 Add an enum for Nether Wart growth stages. Adds BUKKIT-1599
By: GJ <gjmcferrin@gmail.com>
2012-04-29 21:09:57 -04:00
Bukkit/Spigot
6e7076fd64 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.

By: Wesley Wolfe <weswolf@aol.com>
2013-03-15 22:19:58 -05:00
Bukkit/Spigot
4f2b86fd8b Update Bukkit for Minecraft 1.5
By: Travis Watkins <amaranth@ubuntu.com>
2013-03-13 17:32:25 -05:00
Bukkit/Spigot
08fa8ed053 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.

By: MikeMatrix <m.braun92@gmail.com>
2013-01-11 02:07:38 +01:00
Bukkit/Spigot
ed7ae6c6d9 Update Bukkit to Minecraft 1.4.6
By: feildmaster <admin@feildmaster.com>
2012-12-20 08:38:59 -06:00
Bukkit/Spigot
ac66053f35 Add ItemMeta factory and interfaces. This adds BUKKIT-15
Included with ItemMeta is a new serializable class Color.

PotionEffects are now serializable.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-17 01:16:28 -06:00
Bukkit/Spigot
2bf21e7e18 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.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-14 02:03:05 -06:00
Bukkit/Spigot
d50460fb2d Add isSolid() to Material. Adds BUKKIT-3131
A 'solid' material indicates that it is a block and cannot be passed
through.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-09 15:13:25 -06:00
Bukkit/Spigot
09c601dfa5 Make RECORD_12 a record. Fixes BUKKIT-3023
Record 12 was missed when added to the Material enum.

By: Wesley Wolfe <weswolf@aol.com>
2012-11-24 02:26:07 -06:00
Bukkit/Spigot
d2e8c21941 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.

By: Darth Android <darthandroid@gmail.com>
2012-11-17 11:13:58 -06:00
Bukkit/Spigot
b036c9d3e5 Update Bukkit for Minecraft 1.4.4 changes.
By: Travis Watkins <amaranth@ubuntu.com>
2012-11-06 06:04:18 -06:00
Bukkit/Spigot
c73a3c02f0 Update Bukkit for Minecraft 1.4(.2) changes.
By: Travis Watkins <amaranth@ubuntu.com>
2012-10-22 03:30:04 -05:00
Bukkit/Spigot
5154864bbc [Bleeding] Add new MaterialData classes for new blocks and update existing blocks with new data
By: Mike Primm <mike@primmhome.com>
2012-08-04 21:23:59 -05:00
Bukkit/Spigot
cb002502f8 Update Bukkit for 1.3.1 changes
By: feildmaster <admin@feildmaster.com>
2012-07-29 02:34:09 -05:00
Bukkit/Spigot
f5c68c57d0 Fix Wood(plank) and add Sandstone MaterialData; addresses BUKKIT-1384
By: Wesley Wolfe <weswolf@aol.com>
2012-03-31 08:35:59 -05:00
Bukkit/Spigot
0d88d69fd9 Updated Bukkit API for 1.2
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 10:48:44 +00:00
Bukkit/Spigot
fb55ed2a78 [Bleeding] MaterialData fixes. Addresses BUKKIT-842
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 22:07:26 -05:00
Bukkit/Spigot
da943825be Implementation of richer playEffect methods. Addresses BUKKIT-857
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 12:53:31 -05:00
Bukkit/Spigot
ac2271958e Add some testing
By: Erik Broes <erikbroes@grum.nl>
2012-01-29 11:10:40 +01:00
Bukkit/Spigot
4c80a49933 Generic cleaning
By: Erik Broes <erikbroes@grum.nl>
2012-01-15 14:37:30 +01:00
Bukkit/Spigot
bbe66b2985 Changed Material to use an array for lookups, instead of a hashmap. Thanks to zml2008 for the PR
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:18:20 +00:00
Bukkit/Spigot
ae73f553fc Added new 1.1 items, enchantments. Added WorldType, and a method to set/get the type of a world at creation.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-12 22:16:31 +00:00
Bukkit/Spigot
e6e1d06b1c Fix some updated item durability values
By: Erik Broes <erikbroes@grum.nl>
2012-01-05 17:07:25 +01:00
Bukkit/Spigot
ca35082981 Fix max stacksize on Potions.
By: Erik Broes <erikbroes@grum.nl>
2012-01-05 17:00:57 +01:00
Bukkit/Spigot
0de0137f88 Fix max stacksize on EnderPearls. Fixes BUKKIT-418
By: Erik Broes <erikbroes@grum.nl>
2012-01-04 09:36:43 +01:00
Bukkit/Spigot
1d06c840a4 Added Material.isEdible. Thanks simplyianm
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-06 09:44:16 +00:00
Bukkit/Spigot
3055f33fca BREAKING CHANGE: BUKKIT-44 Fix Material Enum typo. Thanks Steeveeo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 15:52:11 +11:00
Bukkit/Spigot
be588e1004 BUKKIT-61 Add durability to BOW material type. Thanks snowleo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 09:49:22 +11:00
Bukkit/Spigot
96e7ebd630 BREAKING CHANGE: Renamed Material.WHITESTONE to ENDER_STONE. Added DRAGON_EGG.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:38:51 +00:00
Bukkit/Spigot
beded0650b Fixed typo for NETHER_WARTS
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-29 10:04:11 +01:00
Bukkit/Spigot
bdc3ffafbe Added various new 1.9 entities, blocks and items
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-29 09:43:19 +01:00
Bukkit/Spigot
63cd6ba7d1 Added MonsterEggs materialdata
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 15:27:16 +01:00
Bukkit/Spigot
cae1a829df Remove Jukebox MaterialData in favour of Jukebox BlockState
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-08-22 01:27:48 -04:00
Bukkit/Spigot
4d1700d1d9 Fixed Material.getData returning for "dull" materials with no fancy dataclass
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:05:07 +01:00
Bukkit/Spigot
1968b78a12 added support for SmoothBrick and changed steps to a TexturedMaterial
By: sunkid <sunkid@iminurnetz.com>
2011-09-15 16:33:53 -07:00
Bukkit/Spigot
9dcc5147c6 Fixed max stack sizes for some items, as per new vanilla spec.
By: EvilSeph <evilseph@gmail.com>
2011-09-17 16:55:22 -04:00
Bukkit/Spigot
0f9396499a Added new Materials (need to add individual api later)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 02:54:19 +01:00
Bukkit/Spigot
77399b9d2e Fix missing/incorrect stack sizes and max damages. Thanks celticminstrel and sunkid!
By: EvilSeph <evilseph@gmail.com>
2011-07-12 02:24:14 -04:00
Bukkit/Spigot
eae5329f9c Update to 1.7
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-30 15:18:11 +01:00
Bukkit/Spigot
1dca6874d8 Fixed some item durability values. Thanks jascotty2!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 02:23:01 -04:00
Bukkit/Spigot
3996bf8026 Fixed TrapDoor and added MaterialData for LONG_GRASS. Thanks sunkid!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 02:15:19 -04:00
Bukkit/Spigot
63a68b3e10 Added new Materials
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-26 06:28:24 +01:00
Bukkit/Spigot
855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00
Bukkit/Spigot
314c53177e Added MaterialData support for SAPPLING, POWERED_RAIL, and DETECTOR_RAIL.
By: sunkid <sunkid@iminurnetz.com>
2011-04-25 13:26:58 -07:00
Bukkit/Spigot
60dcfade3c Added WEB, POWERED_RAIL and DETECTOR_RAIL to block list
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 15:41:40 +01:00