Commit graph

1413 commits

Author SHA1 Message Date
CraftBukkit/Spigot
f694f8215b Updated version to 1.3.1-R2.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-08-19 09:01:23 -04:00
CraftBukkit/Spigot
61e4d2c4ad Updated version to 1.3.1-R2.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-08-19 08:47:47 -04:00
CraftBukkit/Spigot
4c88eae55b Fix issues with chunk saving. Fixes BUKKIT-2158, BUKKIT-2018 and BUKKIT-2229
By: Mike Primm <mike@primmhome.com>
2012-08-12 18:40:49 -05:00
CraftBukkit/Spigot
84483a55f2 Add more detailed CrashReport for CraftBukkit. Addresses BUKKIT-2319
By: Wesley Wolfe <weswolf@aol.com>
2012-08-17 23:11:26 -05:00
CraftBukkit/Spigot
c0ce2ea3a1 Use correct SlotType's for merchants. Fixes BUKKIT-2257
By: feildmaster <admin@feildmaster.com>
2012-08-14 18:28:00 -05:00
CraftBukkit/Spigot
73cf129db7 Implement methods for spawning FallingBlocks and add various FallingBlock methods. Adds BUKKIT-2282
By: feildmaster <admin@feildmaster.com>
2012-08-13 22:21:10 -05:00
CraftBukkit/Spigot
cc018c2203 Update CreatureSpawner.setSpawnedType(EntityType) to 1.3
They can spawn any valid entities now. What is a "valid" entity? A "valid" entity is an EntityType with a non-null getName(). (for example: PRIMED_TNT, FALLING_BLOCK)

By: feildmaster <admin@feildmaster.com>
2012-08-12 14:02:57 -05:00
CraftBukkit/Spigot
939c2c8477 Implement player speed API. Addresses BUKKIT-2205
By: Wesley Wolfe <weswolf@aol.com>
2012-08-10 00:00:04 -05:00
CraftBukkit/Spigot
7c3b98a7f9 Updated version to 1.3.1-R1.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-08-07 17:10:11 -04:00
CraftBukkit/Spigot
1fc2417f5d Updated version to 1.3.1-R1.0 in pom.xml for RB
By: EvilSeph <evilseph@gmail.com>
2012-08-07 02:31:21 -04:00
CraftBukkit/Spigot
24abca3c43 Implement new deprecated warning state configuration option
By: Wesley Wolfe <weswolf@aol.com>
2012-08-06 23:52:49 -05:00
CraftBukkit/Spigot
bf9001a3d3 Put forceChunkLoad back to its original value.
By: Travis Watkins <amaranth@ubuntu.com>
2012-08-05 20:03:12 -05:00
CraftBukkit/Spigot
7383d52df7 Implement new AsyncPlayerChatEvent. Addresses BUKKIT-2064
Added two utility collections for use with PlayerChatEvents allowing lazier
initialization of events and less need to synchronize against the player
list.

Provided a hidden queue system for similar logic to pre-1.3 chat. When a
plugin is listening for the deprecated PlayerChatEvent, all chat will be
delayed to be mirror executed from the main thread. All developers are
encouraged to immediately update to the developmental Bukkit chat API as a
minimum transition for server stability.

Additionally, changes were required to bring thread-safety to the flow
logic. CopyOnWriteArrayList is the only viable means to produce thread
safety with minimal diff; using a sane pre-implemented collection would
require reworking of sections of NMS logic.

As a minor change, implemented expected functionality for
PlayerCommandPreProcessEvent. Setting the player should now change the
player executing the command.

By: Wesley Wolfe <weswolf@aol.com>
2012-08-03 06:24:55 -05:00
CraftBukkit/Spigot
a1a672d052 Fix mapping of ChunkSection nibble data to snapshot. Fixes BUKKIT-1977
By: Mike Primm <mike@primmhome.com>
2012-08-02 11:21:40 -05:00
CraftBukkit/Spigot
0eee4963fb Add trailing / to BukkitDL URLs. Fixes BUKKIT-2015.
Also adds CraftBukkit version number to user agent when communicating with
BukkitDL.

By: Luke Granger-Brown <git@lukegb.com>
2012-08-02 23:35:08 +01:00
CraftBukkit/Spigot
fdfc871461 Add test for WorldType's
By: feildmaster <admin@feildmaster.com>
2012-08-02 09:10:15 -05:00
CraftBukkit/Spigot
6e2987bb35 Update CraftBukkit to Minecraft 1.3.1
By: feildmaster <admin@feildmaster.com>
2012-07-29 02:33:13 -05:00
CraftBukkit/Spigot
a45bcca987 Updated version to 1.2.5-R5.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-07-28 02:13:53 -04:00
CraftBukkit/Spigot
08dadaffd6 Updated version to 1.2.5-R5.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-07-28 01:49:49 -04:00
CraftBukkit/Spigot
985d65840b Implement getExpToLevel method. Fixes BUKKIT-1906
By: feildmaster <admin@feildmaster.com>
2012-07-10 13:32:21 -05:00
CraftBukkit/Spigot
75617118ea [Bleeding] Include chunk biome data for refresh chunk. Fixes BUKKIT-1166
By: Mike Primm <mike@primmhome.com>
2012-04-04 19:55:16 -05:00
CraftBukkit/Spigot
b69d15792e Factor invulnerableTicks into getNoDamageTicks. Fixes BUKKIT-1324
By: feildmaster <admin@feildmaster.com>
2012-07-04 15:12:29 -05:00
CraftBukkit/Spigot
a8eaf02d50 Implement getMotd, and reload the motd. Adds BUKKIT-1799
By: feildmaster <admin@feildmaster.com>
2012-07-03 18:00:37 -05:00
CraftBukkit/Spigot
87d5b5e374 Apply setLastDamageCause after processing events and the event has not been canceled. Fixes BUKKIT-1881
This allows previous causes to be available during the event, as well as making the damage cause a valid one. If EntityDamageEvent is canceled, then it's not the last DamageCause.

Also prevents setting DamageCause involuntarily through construction.

By: feildmaster <admin@feildmaster.com>
2012-07-01 05:04:06 -05:00
CraftBukkit/Spigot
fdbd4efbd6 Treat ComplexParts as proxies for setLastDamageCause. Fixes BUKKIT-1821
By: feildmaster <admin@feildmaster.com>
2012-07-01 05:02:44 -05:00
CraftBukkit/Spigot
d96b0ca73f Clean entity.damage functions. Fixes BUKKIT-1822
By: feildmaster <admin@feildmaster.com>
2012-07-01 05:00:48 -05:00
CraftBukkit/Spigot
e5281e5d53 Fix deprecated spawnCreature. Fixes BUKKIT-1880
By: Wesley Wolfe <weswolf@aol.com>
2012-07-02 15:36:49 -05:00
CraftBukkit/Spigot
cdfbbb4638 Mark entities as invalid when they get despawned. Addresses BUKKIT-810
By: Travis Watkins <amaranth@ubuntu.com>
2012-06-25 03:24:53 -05:00
CraftBukkit/Spigot
18adfe63c3 Implement LivingEntity.hasLineOfSight. Addresses BUKKIT-1255
By: TomyLobo <tomylobo@nurfuerspam.de>
2012-03-21 16:31:30 +01:00
CraftBukkit/Spigot
25f555c6b9 Deprecate spawnCreature and add spawnEntity. Addresses BUKKIT-1168
By: V10lator <v10lator@myway.de>
2012-04-25 11:45:28 +02:00
CraftBukkit/Spigot
acc10eabc8 Trigger EntityBlockChangeEvent for Silverfish. Adds BUKKIT-1560 and BUKKIT-1593
By: feildmaster <admin@feildmaster.com>
2012-04-28 12:26:07 -05:00
CraftBukkit/Spigot
b91f0fe488 Implement plugin channel events. Addresses BUKKIT-1844
By: Wesley Wolfe <weswolf@aol.com>
2012-06-20 23:15:31 -05:00
CraftBukkit/Spigot
3211d52685 Fire PlayerItemBreakEvent. Addresses BUKKIT-1600
By: Travis Ralston <travpc@gmail.com>
2012-05-06 21:38:01 -06:00
CraftBukkit/Spigot
474a9e54a8 Clear animal owner when untamed. Fixes BUKKIT-1482
By: Ammar Askar <ammar_askar@hotmail.com>
2012-06-17 23:18:00 +05:00
CraftBukkit/Spigot
f54cb1e14e Add query-plugins setting. Addresses BUKKIT-1781
By: H31IX <effectsdude@gmail.com>
2012-06-09 13:59:52 -04:00
CraftBukkit/Spigot
86a06cd622 Changes '/whitelist list' to ignore comments. Addresses BUKKIT-1804
By: Jeff Wardian <krinsdeath@hotmail.com>
2012-06-14 22:31:47 -05:00
CraftBukkit/Spigot
b92707d6ea Preserve whitelist ordering. Addresses BUKKIT-1805
By: Jeff Wardian <krinsdeath@hotmail.com>
2012-06-14 22:43:46 -05:00
CraftBukkit/Spigot
fc5ec8c899 Fire NotePlayEvent. Fixes BUKKIT-1779
By: obnoxint <mail@obnoxint.net>
2012-06-10 17:39:18 +02:00
CraftBukkit/Spigot
efd15866c4 Support asynchronous events; Addresses BUKKIT-1212
By: Wesley Wolfe <weswolf@aol.com>
2012-06-13 21:52:49 -05:00
CraftBukkit/Spigot
add9437bd5 Check world before checking distance. Fixes BUKKIT-1792
By: Wesley Wolfe <weswolf@aol.com>
2012-06-12 10:59:29 -05:00
CraftBukkit/Spigot
aae6c59efb Updated version to 1.2.5-R4.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-06-09 21:40:34 -04:00
CraftBukkit/Spigot
3525cbdcda Updated version to 1.2.5-R4.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-06-09 21:04:38 -04:00
CraftBukkit/Spigot
18ff0924ce Launch fireballs at eye location. Fixes BUKKIT-1155
By: feildmaster <admin@feildmaster.com>
2012-04-16 10:31:57 -05:00
CraftBukkit/Spigot
a0edb34eab Make log-strip-color a simple flag instead of a boolean.
By: Travis Watkins <amaranth@ubuntu.com>
2012-06-02 14:43:38 -05:00
CraftBukkit/Spigot
8716e36905 Resize UnsafeList to initial capacity when cleared and implement clone.
By: Travis Watkins <amaranth@ubuntu.com>
2012-05-31 20:14:28 -05:00
CraftBukkit/Spigot
d7d484d6aa Fix bold states while printing; Fixes BUKKIT-1716
By: Wesley Wolfe <weswolf@aol.com>
2012-05-26 15:32:38 -05:00
CraftBukkit/Spigot
c2c1d03209 Change mapping of Gold from yellow bold to yellow; Addresses BUKKIT-1717
By: Wesley Wolfe <weswolf@aol.com>
2012-05-26 15:27:55 -05:00
CraftBukkit/Spigot
70eab29d67 Updated version to 1.2.5-R3.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-05-26 02:24:17 -04:00
CraftBukkit/Spigot
69b250ab94 Updated version to 1.2.5-R3.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-05-26 00:28:07 -04:00
CraftBukkit/Spigot
df04eb1bcf Removed AnimalTamer cache, fixes BUKKIT-1628
By: Wesley Wolfe <weswolf@aol.com>
2012-05-24 23:02:02 -05:00
CraftBukkit/Spigot
3776921464 Fixed broken hashCode()
By: Wesley Wolfe <weswolf@aol.com>
2012-05-06 13:39:46 -05:00
CraftBukkit/Spigot
f7aab5aff2 Update Bukkit API dependency to 1.2.5-R2.1-SNAPSHOT
By: Wesley Wolfe <weswolf@aol.com>
2012-05-24 22:46:45 -05:00
CraftBukkit/Spigot
6b250f016d Add in checks for potential NPEs. Fixes BUKKIT-1706 and BUKKIT-1590.
By: Travis Watkins <amaranth@ubuntu.com>
2012-05-24 19:11:05 -05:00
CraftBukkit/Spigot
ff07012ac7 Use jansi's Windows support for terminal colors.
By: Travis Watkins <amaranth@ubuntu.com>
2012-05-23 15:02:57 -05:00
CraftBukkit/Spigot
0eb748f952 Re-implement World.getTemperature and World.getHumidity
By: Score_Under <seejay.11@gmail.com>
2012-05-11 13:19:38 +02:00
CraftBukkit/Spigot
3cc9abe5b8 Updated version to 1.2.5-R2.1-SNAPSHOT for development towards next release
By: feildmaster <admin@feildmaster.com>
2012-05-19 17:55:53 -05:00
CraftBukkit/Spigot
9d0fb8d806 Updated version to 1.2.5-R2.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-05-17 23:05:32 -04:00
CraftBukkit/Spigot
66cb03e41a Replace TextWrapper with simple newline splitting. Fixes BUKKIT-1662
TextWrapper used to try to ensure a message would wrap correctly on the
client by counting the width of the characters in pixels and wrapping
before hitting that limit. This was needed because the client would lose
color information when wrapping and could not handle long lines of text.

Now that both of these problems are solved in the client we can replace
TextWrapper with simple code to split the message into multiple packets on
newlines and ensure chat colors carry across to the new packet.

By: Travis Watkins <amaranth@ubuntu.com>
2012-05-16 18:09:33 -05:00
CraftBukkit/Spigot
e6ad96fd25 Fix block place protection using a larger radius. Fixes BUKKIT-1617
By: feildmaster <admin@feildmaster.com>
2012-05-15 22:24:27 -05:00
CraftBukkit/Spigot
8afa2be81a Add option to strip color codes from server.log file
By: Travis Watkins <amaranth@ubuntu.com>
2012-05-15 20:18:35 -05:00
CraftBukkit/Spigot
01b14886d7 Update to jline 2. Fixes BUKKIT-717
JLine 2 allows for better color matching in the console and support for
colors in console on Windows. Hopefully provides better performance as well.

By: EdGruberman <ed@rjump.com>
2012-03-14 13:59:14 -07:00
CraftBukkit/Spigot
e8795d1897 Updated version to 1.2.5-R1.4-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-05-02 14:28:29 -04:00
CraftBukkit/Spigot
0e5970eb12 Updated version to 1.2.5-R1.3 in pom.xml for Beta.
By: EvilSeph <evilseph@gmail.com>
2012-04-30 19:36:23 -04:00
CraftBukkit/Spigot
deb6c53960 Revert "Fix potential NPE in vanish API. Fixes BUKKIT-1541"
This reverts commit ebf121800bd3161e4af0f6d9229ccb39c31fc278.

If the handle ever becomes null we need to know about it so we can debug it further.

By: feildmaster <admin@feildmaster.com>
2012-04-27 12:48:40 -05:00
CraftBukkit/Spigot
b8fdda282e Remove Player cache and edit CraftPlayer.equals to account for EntityID. Fixes BUKKIT-1541 and Addresses BUKKIT-761
By: feildmaster <admin@feildmaster.com>
2012-04-21 18:02:25 -05:00
CraftBukkit/Spigot
3aca35a701 Updated version to 1.2.5-R1.3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-04-25 00:58:32 -04:00
CraftBukkit/Spigot
ad79effe24 Updated version to 1.2.5-R1.2 in pom.xml for Beta.
By: EvilSeph <evilseph@gmail.com>
2012-04-24 23:41:11 -04:00
CraftBukkit/Spigot
a208a4f9e3 Update players when potion effects are moved from them. Fixes BUKKIT-789
By: Travis Watkins <amaranth@ubuntu.com>
2012-04-24 18:59:55 -05:00
CraftBukkit/Spigot
ff8b2d38f9 Fix potential NPE in vanish API. Fixes BUKKIT-1541
By: Travis Watkins <amaranth@ubuntu.com>
2012-04-24 12:25:07 -05:00
CraftBukkit/Spigot
529ff54e26 Remove legacy Chunk cache. Fixes BUKKIT-1400
By: feildmaster <admin@feildmaster.com>
2012-04-24 13:30:55 -05:00
CraftBukkit/Spigot
bdccfb5797 We build for Java 1.5.
By: EvilSeph <evilseph@gmail.com>
2012-04-23 23:05:57 -04:00
CraftBukkit/Spigot
02fa535888 Add per-world spawn limits with fallback to server-wide bukkit.yml settings.
Fixes BUKKIT-1565

By: Travis Watkins <amaranth@ubuntu.com>
2012-04-23 19:01:22 -05:00
CraftBukkit/Spigot
f977f3cc65 Avoid doing unnecessary range checks when we're looping from start to end.
Make EntityLiving call AI logic every tick again.
Rework PathfinderGoalSelector logic.

Adds UnsafeList for use in places where we use ArrayList and know we won't
get index out of range errors. Added usage to World's tickEntities, Chunk's
entitySlices to speed up searching for entities, and to PathfinderGoalSelector
to speed up dealing with AI goals.

Reworked logic in PathfinderGoalSelector with help from fullwall. This code
no longer uses an extra ArrayList for setting up goals and only updates which
goals should be run every other time it is called.

Removed only calling PathfinderGoalSelector every other tick from EntityLiving
as we now only setup new goals every other tick. This ensures existing goals
run every tick to properly update mob movement.

By: Travis Watkins <amaranth@ubuntu.com>
2012-04-23 09:47:05 -05:00
CraftBukkit/Spigot
db27daeea7 Made permissions.yml registration easier; Addresses BUKKIT-1499
The permissions.yml now behaves similar to a plugin.yml

By: Wesley Wolfe <weswolf@aol.com>
2012-04-15 13:24:38 -05:00
CraftBukkit/Spigot
66b34af562 Properly call EntityDeathEvent for mobs. Fixes BUKKIT-1519
By: feildmaster <admin@feildmaster.com>
2012-04-15 09:16:43 -05:00
CraftBukkit/Spigot
37d14787d9 Persist PlayerDeathEvent values. Fixes BUKKIT-1521
By: feildmaster <admin@feildmaster.com>
2012-04-14 00:24:51 -05:00
CraftBukkit/Spigot
2ad2eb6b34 Updated version to 1.2.5-R1.2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-04-08 23:54:35 -04:00
CraftBukkit/Spigot
b8ccdebd18 Updated version to 1.2.5-R1.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-04-05 07:12:30 -04:00
CraftBukkit/Spigot
cbba56d1eb Updated version to 1.2.5-R1.0 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-04-04 10:01:03 -04:00
CraftBukkit/Spigot
9f199add72 Updated version to 1.2.5-R0.2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-04-03 10:15:11 -04:00
CraftBukkit/Spigot
8486eddf25 Updated version to 1.2.5-R0.1 in pom.xml for beta.
By: EvilSeph <evilseph@gmail.com>
2012-04-03 05:43:00 -04:00
CraftBukkit/Spigot
eabee56243 SpawnRadius should only apply to main world. Fixes BUKKIT-1427
By: feildmaster <admin@feildmaster.com>
2012-04-02 16:40:45 -05:00
CraftBukkit/Spigot
ee87f28221 Add BlockRedstoneEvent to Redstone Lamps, Addresses BUKKIT-1431
By: feildmaster <admin@feildmaster.com>
2012-04-02 09:01:48 -05:00
CraftBukkit/Spigot
495ebd7020 Fixed interacting with Air returning a false block.
By: feildmaster <admin@feildmaster.com>
2012-04-01 04:58:11 -05:00
CraftBukkit/Spigot
6ab777a338 Fixed breaking at world height in creative. Fixes BUKKIT-997
By: feildmaster <admin@feildmaster.com>
2012-03-31 18:59:14 -05:00
CraftBukkit/Spigot
bd3ae06ade Updated version to 1.2.5-R0.1-SNAPSHOT
By: Dinnerbone (Laptop) <dinnerbone@dinnerbone.com>
2012-03-30 23:33:51 +02:00
CraftBukkit/Spigot
66f67ca425 Updated version to 1.2.4-R1.1-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-03-29 07:58:14 -04:00
CraftBukkit/Spigot
b508266065 Updated version to 1.2.4-R1.0 for release.
By: EvilSeph <evilseph@gmail.com>
2012-03-28 20:27:53 -04:00
CraftBukkit/Spigot
33284b8b86 Reverting the Drop API for now, we need to re-evalute this as it is causing too many issues and blocking releases.
This reverts commits:
- d2d03afc8854394aeefb40ea5ebf224c8032b19f
- 6245746e91123dd8ef70e5f15b7cdfc7e36d8e8c
- 41fae5c613e9e69a8f6bdf33b23bb09d7f407433
- c34bdecab42cf4098054a5ea43e1c2958d44ae92
- d7445084ac9a90fa0b66d8b050b8d0d2a062eaf3
- 6a6ed2e6ae2328a8a791bcc6857c44dc6c6a7030
- a783bc4dc95da8e26c673abe48fad96b550aba28
- cb50fd68766df8e07631ba5be85759f8257e8068
- 34dfff2ad5c407c712b2783f02960aac5e8649f2
- f33b513820de987b49a4338e85df80968217a601
- 5fd9fdfde055e6eb6a83db246d009b69377b7c94
- 2795b116f40d06551fbb7b96d1963c0ddbeac384

By: Warren Loo <evilseph@gmail.com>
2012-03-27 11:37:00 -04:00
CraftBukkit/Spigot
0ebe730fce [Bleeding] Allow CraftItem to be backed by non-EntityItems. Fixes BUKKIT-1351
By: feildmaster <admin@feildmaster.com>
2012-03-25 20:58:12 -05:00
CraftBukkit/Spigot
ae4b2591f7 [Bleeding] Fixed potions throwing double events. Fixes BUKKIT-1332
By: feildmaster <admin@feildmaster.com>
2012-03-25 04:21:25 -05:00
CraftBukkit/Spigot
c925bcb49d Refactor code to be more efficient.
By: feildmaster <admin@feildmaster.com>
2012-03-25 18:06:43 -05:00
CraftBukkit/Spigot
ade2618d1d [Bleeding] Fixed item duping in certain occasions. Fixes BUKKIT-1310
By: feildmaster <admin@feildmaster.com>
2012-03-25 17:53:59 -05:00
CraftBukkit/Spigot
11ea95ba9d [Bleeding] Fixed blocks dropping when BlockBreakEvent is canceled. Fixes BUKKIT-1299
By: feildmaster <admin@feildmaster.com>
2012-03-23 09:49:34 -05:00
CraftBukkit/Spigot
c92c764f2c Fixed incorrect assigning to isFlying when toggling setAllowedFlight(false)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-23 14:41:53 +00:00
CraftBukkit/Spigot
7d54b49e13 Seriously fix natural drops. Fixes BUKKIT-1297 and fixes BUKKIT-1295
By: feildmaster <admin@feildmaster.com>
2012-03-23 06:08:54 -05:00
CraftBukkit/Spigot
25b27ad27b Really fixed Block.breakNaturally(). Fixes BUKKIT-1295
By: EvilSeph <evilseph@gmail.com>
2012-03-23 03:06:37 -04:00
CraftBukkit/Spigot
f03c3bd1e9 Fixed Block.breakNaturally(). Fixes BUKKIT-1295
By: EvilSeph <evilseph@gmail.com>
2012-03-23 02:12:51 -04:00
CraftBukkit/Spigot
330cba4099 [Bleeding] Add a check for illegal blocks. Addresses BUKKIT-1278. Needs more investigation.
By: feildmaster <admin@feildmaster.com>
2012-03-22 19:56:59 -05:00
CraftBukkit/Spigot
6b217d17c4 Reverted to original TextWrapper. Might re-investigate after the RB. Fixes BUKKIT-1275
By: EvilSeph <evilseph@gmail.com>
2012-03-22 19:22:35 -04:00
CraftBukkit/Spigot
9aba8f4210 Re-added TextWrapper, and fixed chat length issues (at cost of it looking not so nice sometimes!) This fixes BUKKIT-1275
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-22 23:02:29 +00:00
CraftBukkit/Spigot
ec19b8a466 Implemented new player flight methods. This implements BUKKIT-1281. This also fixes BUKKIT-1146.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-22 22:04:13 +00:00
CraftBukkit/Spigot
12fff3a0e9 Added configurable Connection Throttle. Addresses BUKKIT-1274
By: EvilSeph <evilseph@gmail.com>
2012-03-22 08:03:24 -04:00
CraftBukkit/Spigot
51b68f06be Nuked TextWrapper. We don't need you anymore, old friend :(
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-22 20:49:05 +00:00
CraftBukkit/Spigot
7bb0a3fe51 Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-22 20:39:39 +00:00
CraftBukkit/Spigot
f65e901b07 [Bleeding] Added support for custom index help topics in help.yml. Addresses BUKKIT-1263
By: rmichela <deltahat@gmail.com>
2012-03-22 00:21:18 -04:00
CraftBukkit/Spigot
2fd133b50a [Bleeding] Added option to completely disable all automatic help topic generation by adding "All" to the ignore-plugins list in help.yml. Addresses BUKKIT-1264
By: rmichela <deltahat@gmail.com>
2012-03-21 23:01:06 -04:00
CraftBukkit/Spigot
2a1f1b1008 [Bleeding] Fixed a StackOverflowError with command alias handling for Help. Addresses BUKKIT-1253
By: zml2008 <zach@zachsthings.com>
2012-03-20 19:12:14 -07:00
CraftBukkit/Spigot
d434857d8a [Bleeding] Added support for all TreeType entries to CraftWorld.generateTree(). Addresses BUKKIT-1161
By: zml2008 <zach@zachsthings.com>
2012-03-13 19:38:39 -07:00
CraftBukkit/Spigot
d6e7e41468 [Bleeding] Added Ageable interface for Villagers and Animals to extend. Addresses BUKKIT-1232
By: aPunch <theapunch@yahoo.com>
2012-03-19 14:12:17 -05:00
CraftBukkit/Spigot
4e5359c080 [Bleeding] Added getting and setting drops to all appropriate events. Fixes BUKKIT-397 and fixes BUKKIT-1252
- Allows drops in creative mode by adding items to the getDrops() list
- Contents of containers are not reported
- Contents of storage minecarts are not reported

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-05 14:21:43 -05:00
CraftBukkit/Spigot
7e41baa24b [Bleeding] Fix the openInventory methods for custom inventories. Fixes BUKKIT-1248
Details:
- The attributes of custom inventory views are no longer ignored
- Enchanting or crafting inventories no longer ignore the passed inventory and open a new one
- Inventories associated with tile entities no longer raise a class cast exception if there was no associated tile entity
- InventoryOpenEvent and InventoryCloseEvent (if they already had some other inventory open) now fire in all cases
- If for any reason the inventory failed to open, the method now returns null instead of returned the previous inventory they had open (or the default inventory, if none)

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-17 13:06:21 -04:00
CraftBukkit/Spigot
5f0bee3860 [Bleeding] Fixed NullPointerException in InventoryView.setCursor() if you tried to empty the cursor by setting it to null. Fixes BUKKIT-1043
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-13 21:46:00 -04:00
CraftBukkit/Spigot
b350a11bc0 [Bleeding] Fix some return types that could lead to ArrayStoreException
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-17 10:28:20 -04:00
CraftBukkit/Spigot
1a5043d05d [Bleeding] Add Chest.getBlockInventory() for convenience; this always returns a single chest inventory. Addresses BUKKIT-1247
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-19 15:01:53 -04:00
CraftBukkit/Spigot
51074e000d [Bleeding] Add iterator() with starting index. Addresses BUKKIT-1246
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-17 10:37:54 -04:00
CraftBukkit/Spigot
04dd6bd9fe [Bleeding] Added way to get/set if Iron Golem was player created. Addresses BUKKIT-1229
By: aPunch <alexpuncochar@yahoo.com>
2012-03-08 20:20:15 -06:00
CraftBukkit/Spigot
e470617011 [Bleeding] Implement ExpBottleEvent; Addresses BUKKIT-888
By: Wesley Wolfe <weswolf@aol.com>
2012-03-20 02:07:13 -05:00
CraftBukkit/Spigot
e1b4d5f3ae Reverted invalid clone. Fixes BUKKIT-1198
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-16 15:46:46 -04:00
CraftBukkit/Spigot
344f7d09a2 [Bleeding] Moved HelpTopicComparator to Bukkit.jar. Addresses BUKKIT-1193
By: rmichela <deltahat@gmail.com>
2012-03-16 03:41:41 -04:00
CraftBukkit/Spigot
177d81afaf [Bleeding] Added support for color codes in help.yml. Addresses BUKKIT-1191
By: rmichela <deltahat@gmail.com>
2012-03-16 00:41:13 -04:00
CraftBukkit/Spigot
8c07dee8c8 [Bleeding] Implemented the command-topics-in-master-index option in help.yml. Addresses BUKKIT-1189
When false, help topics that start with a slash are omitted from the mater index.

By: rmichela <deltahat@gmail.com>
2012-03-15 22:32:31 -04:00
CraftBukkit/Spigot
bb5bd5c069 [Bleeding] Added automatically generated plugin-level sub-indexes to the master help index. Addresses BUKKIT-1180
By: rmichela <deltahat@gmail.com>
2012-03-15 02:28:01 -04:00
CraftBukkit/Spigot
0a4dd7c032 [Bleeding] Added option to remove entire plugins from the help index using the help.yml file. Addresses BUKKIT-1178
By: rmichela <deltahat@gmail.com>
2012-03-14 23:39:19 -04:00
CraftBukkit/Spigot
f3941a2787 [Bleeding] Allow custom inventory views to change their type to BREWING or ENCHANTING, and also allow them to change their title and size. Fixes BUKKIT-1190
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 17:33:18 -04:00
CraftBukkit/Spigot
5cb45990cc [Bleeding] Implemented Inventory.{get,set}MaxStackSize(). Addresses BUKKIT-1076
- Custom inventories also respect this setting now.

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-14 10:00:54 -04:00
CraftBukkit/Spigot
abfdfbf0e2 [Bleeding] Make InventoryView.setItem(-999, item) drop the item on the ground by default.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-13 22:28:27 -04:00
CraftBukkit/Spigot
6f4a370798 [Bleeding] Made ItemStack constructors not default to an amount of 0. Fixes BUKKIT-610
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 16:59:00 -04:00
CraftBukkit/Spigot
4113afbd7c [Bleeding] DoubleChestInventory.getHolder() no longer returns null. Addresses BUKKIT-995
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 16:47:43 -04:00
CraftBukkit/Spigot
5a2b483937 Fix some improper item cloning instances that would have dropped enchantments
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-13 20:50:36 -04:00
CraftBukkit/Spigot
a247a422c1 Fix losing enchants from stacked items in custom inventories
By: Wesley Wolfe <weswolf@aol.com>
2012-03-02 12:52:45 -06:00
CraftBukkit/Spigot
852f37abfd [Bleeding] Implemented ProjectileLaunchEvent. Addresses BUKKIT-284
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 12:45:09 -04:00
CraftBukkit/Spigot
6219bc5085 Updating minecraft-server dependency.
By: EvilSeph <evilseph@gmail.com>
2012-03-15 06:38:46 -04:00
CraftBukkit/Spigot
34c3b6022a Disabled BukkitDLUpdaterServiceTests. Nice to have, but should not be run on every compile as it relies on DLB being up. Addresses BUKKIT-1140
By: EvilSeph <evilseph@gmail.com>
2012-03-15 05:46:27 -04:00
CraftBukkit/Spigot
af07ac93b0 [Bleeding] Fixed maxStack being incorrectly set to 0 in custom craft inventories. Fixes BUKKIT-1181
By: md_5 <md_5@bigpond.com>
2012-03-15 17:55:19 +11:00
CraftBukkit/Spigot
26325dfa92 Fixed EntityDamageByEntityEvent to call for every attackable entity. Fixes BUKKIT-1129, Fixes BUKKIT-1054 and Fixes BUKKIT-147.
By: feildmaster <admin@feildmaster.com>
2012-03-12 17:55:02 -05:00
CraftBukkit/Spigot
4f37e35665 [Bleeding] Call a LAVA BlockIgniteEvent in another place in BlockStationary. Fixes BUKKIT-970
Also adds CraftEventFactory.callEvent(Event), which returns the event called. Currently only used for n.m.s.BlockStationary's lava
BlockIgniteEvent calls.

By: zml2008 <zach@zachsthings.com>
2012-03-10 21:56:55 -08:00
CraftBukkit/Spigot
67f275fc78 Implemented Enchantment.conflictsWith(). Addresses BUKKIT-1159
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 15:32:46 -04:00
CraftBukkit/Spigot
70900406c9 [Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 10:55:00 -04:00
CraftBukkit/Spigot
cad4f85021 [Bleeding] Added EntityBreakDoorEvent. Fixes BUKKIT-1134
By: feildmaster <admin@feildmaster.com>
2012-03-10 18:43:35 -06:00
CraftBukkit/Spigot
9421839d6d Updated version to 1.2.3-R0.3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-03-11 06:20:53 -04:00
CraftBukkit/Spigot
407cae8183 Updated version to 1.2.3-R0.2 in pom.xml for beta.
By: EvilSeph <evilseph@gmail.com>
2012-03-11 03:55:50 -04:00
CraftBukkit/Spigot
6ffa5eb075 [Bleeding] Help index now identifies itself as "Help: Index" rather than "Help: null"
By: rmichela <deltahat@gmail.com>
2012-03-11 03:47:27 -04:00
CraftBukkit/Spigot
8ce499e117 Made World.refreshChunk() refresh the chunk, thanks zerg960! Fixes BUKKIT-1014
By: EvilSeph <evilseph@gmail.com>
2012-03-04 16:16:16 -06:00
CraftBukkit/Spigot
a90a7edd76 Only remove blocks when golem is successfully spawned. Fixes BUKKIT-1094
By: feildmaster <admin@feildmaster.com>
2012-03-10 23:01:39 -06:00
CraftBukkit/Spigot
eaf42d8b35 Fixed potential packet loss issue with vanish API. Fixes BUKKIT-1125
By: Kevin Ingersoll <kingersoll@gmail.com>
2012-03-10 14:58:20 -08:00
CraftBukkit/Spigot
023ce58427 [Bleeding] Add getWorldType() and getGenerateStructures() to CraftServer. Fixes BUKKIT-855
By: Mike Primm <mike@primmhome.com>
2012-03-10 01:28:32 -06:00
CraftBukkit/Spigot
b102a1ce59 [Bleeding] Added support for amending help topic visibility permissions in help.yml. Addresses BUKKIT-1113
By: rmichela <deltahat@gmail.com>
2012-03-10 18:08:12 -05:00
CraftBukkit/Spigot
06409f9a27 [Bleeding] Implemented command aliases in help. Addresses BUKKIT-1028
By: rmichela <deltahat@gmail.com>
2012-03-10 16:16:48 -05:00
CraftBukkit/Spigot
328290fca4 [Bleeding] Moved DefaultHelpTopic and GenericCommandHelpTopic to public bukkit api.
By: rmichela <deltahat@gmail.com>
2012-03-10 14:43:03 -05:00
CraftBukkit/Spigot
6f7d9537f3 [Bleeding] Added support for linking custom CommandExecutor types to a HelpTopicFactory. Fixes BUKKIT-1027
By: rmichela <deltahat@gmail.com>
2012-03-09 01:17:45 -05:00
CraftBukkit/Spigot
a9a9110af2 Make setting slots to AIR set them to null. Addresses BUKKIT-1043
By: EvilSeph <evilseph@gmail.com>
2012-03-10 15:54:10 -05:00
CraftBukkit/Spigot
bdca84f357 [Bleeding] Added new target events. Fixes BUKKIT-935
By: feildmaster <admin@feildmaster.com>
2012-03-09 15:40:59 -06:00
CraftBukkit/Spigot
e9f7ab207b Made Chunk.getEntities() account for the world height increase. Fixes BUKKIT-1059
By: EvilSeph <evilseph@gmail.com>
2012-03-09 13:09:15 -05:00
CraftBukkit/Spigot
2cb004b945 (Re)restricted the nether to 128 world height. Fixes BUKKIT-976
By: EvilSeph <evilseph@gmail.com>
2012-03-09 12:08:59 -05:00
CraftBukkit/Spigot
6d1db7805b [Bleeding] Add updated interfaces for custom chunk generation. Addresses BUKKIT-874
By: Mike Primm <mike@primmhome.com>
2012-03-08 23:57:26 -06:00
CraftBukkit/Spigot
80ee2d93a8 [Bleeding] Add APIs for editing biome data, fix existing code to use persistent biome data. Addresses BUKKIT-1075
By: Mike Primm <mike@primmhome.com>
2012-03-04 10:41:06 -06:00
CraftBukkit/Spigot
5aeda06c72 [Bleeding] Added ConversationAbandonedEvent and supporting infrastructure. Whenever a conversation exits, the ConversationAbandonedEvent is triggered with details about how the conversation ended and what, if anything caused it to end. Fixes BUKKIT-986
By: rmichela <deltahat@gmail.com>
2012-03-04 16:30:14 -05:00
CraftBukkit/Spigot
110a32b647 Fixed copy error in DoubleChest's inventory
By: Tahg <tahgtahv@gmail.com>
2012-03-05 15:28:36 -05:00
CraftBukkit/Spigot
b171b6ee36 Updated version to 1.2.3-R0.2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-03-04 04:06:59 -05:00
CraftBukkit/Spigot
1b76d117bf Updated version to 1.2.3-R0.1 in pom.xml for beta.
By: EvilSeph <evilseph@gmail.com>
2012-03-04 03:03:02 -05:00
CraftBukkit/Spigot
d67053fa16 Fix worlds loading improperly. Fixes BUKKIT-991
This patch fixes an incorrect path being passed to the WorldLoaderListener. It expects the world container, then checks convertable on the name.

By: Eric Stokes <fernferret@gmail.com>
2012-03-03 18:36:16 -07:00
CraftBukkit/Spigot
6924051264 [Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602
By: Wesley Wolfe <weswolf@aol.com>
2012-03-02 13:23:27 -06:00
CraftBukkit/Spigot
5abe32ff6c Implemented Villager API for getting/setting Profession. This adds BUKKIT-887
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-03 01:58:40 +00:00
CraftBukkit/Spigot
2a44aa7a2a Slightly changed the Auto Updater error for when it can't find the current version
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-03 01:22:43 +00:00
CraftBukkit/Spigot
67dc792135 Fixed typo in help.yml header - this fixes BUKKIT-945. Thanks to a PR by turt2live
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-03 00:52:05 +00:00
CraftBukkit/Spigot
3efb03ea09 Minor optimization getting chest inventories
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-02 20:05:23 +00:00
CraftBukkit/Spigot
4b91b8d895 Fixed chest.getInventory for double chests, thanks to Acrobot. This fixes BUKKIT-901
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-02 20:02:45 +00:00
CraftBukkit/Spigot
d348c014ea Updated from 1.2.2 to 1.2.3. This fixes BUKKIT-943
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-02 19:31:06 +00:00
CraftBukkit/Spigot
868d42aad6 Implemented snapshot support for 1.2.
By: Mike Primm <mike@primmhome.com>
2012-03-01 13:54:59 -06:00
CraftBukkit/Spigot
14196c7d71 Preserve data if possible when dropping Items from entities. Partial solution for BUKKIT-15
By: Tahg <tahgtahv@gmail.com>
2012-03-01 22:57:30 -05:00
CraftBukkit/Spigot
02109efbfc World height related fixes - 128 -> 256. Addresses BUKKIT-889
By: Mike Primm <mike@primmhome.com>
2012-03-01 15:13:53 -06:00
CraftBukkit/Spigot
e38356b5ba Implemented new 1.2 entities - this fixes BUKKIT-872 and BUKKIT-885
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 18:02:16 +00:00
CraftBukkit/Spigot
41ba737a43 Made the auto-update-checker suggest channels to server administrators if they're upgrading past their preferred channel.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 16:04:18 +00:00
CraftBukkit/Spigot
d267b15b44 Fixed compile issues with StructureGrowDelegate not implementing the new isEmpty method
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 15:38:34 +00:00
CraftBukkit/Spigot
be0e906988 Fixed cast issues when passing delegates to world generators, and WorldGenMegaTree method exception. This fixes BUKKIT-866, and references BUKKIT-868.
Also bumped version to 1.2.2-R0.1-SNAPSHOT to match Bukkit.

By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 15:35:12 +00:00
CraftBukkit/Spigot
5c717f8732 Updated CraftBukkit to 1.2
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 10:49:23 +00:00
CraftBukkit/Spigot
d61b0b611f Updated version to 1.1-R6 for RB.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 13:53:03 +00:00
CraftBukkit/Spigot
b61b3ff3a5 Potentially fixed inventory issues. This (should) fix issue BUKKIT-860
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 13:35:36 +00:00
CraftBukkit/Spigot
3d2e09290a Updated version to 1.1-R5 for RB
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 10:54:21 +00:00
CraftBukkit/Spigot
2fef0a564c We build for 1.5.
By: EvilSeph <evilseph@gmail.com>
2012-03-01 04:48:04 -05:00
CraftBukkit/Spigot
aded9eee95 [Bleeding] Added Conversations API. Addresses BUKKIT-864
By: rmichela <deltahat@gmail.com>
2012-01-19 03:32:05 -05:00
CraftBukkit/Spigot
45e1b9cbfa [Bleeding] Added Help API. Addresses BUKKIT-863
By: rmichela <deltahat@gmail.com>
2012-03-01 00:19:11 -05:00
CraftBukkit/Spigot
7d4747f9f3 Fixed AchievementTest.java
By: feildmaster <admin@feildmaster.com>
2012-02-29 21:44:11 -06:00
CraftBukkit/Spigot
34d3cf9be4 Updated to rename revision 02
By: Erik Broes <erikbroes@grum.nl>
2012-02-29 22:31:04 +01:00
CraftBukkit/Spigot
ddf9216f11 Fix for Java 1.5
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-29 15:35:36 -05:00
CraftBukkit/Spigot
472b179cd1 [Bleeding] Implementation of inventory framework. Addresses BUKKIT-856
See the corresponding Bukkit commit for details.

Implementation details:
- Any packets that include an itemstack will send air stacks as null; maybe this will even eliminate the client crash that occurs if the client receives an air stack
- Better handling of null itemstacks in general (ie less converting them to air stacks)
- Inventory.setContents() can now take an array smaller than the inventory without error
- Player.updateInventory() should now correctly update the result slot in a crafting inventory

Some small credit goes to Afforess (initial implementation of openInventory() methods) and Drakia (initial implementation of InventoryOpenEvent and InventoryCloseEvent).

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-29 13:56:35 -05:00
CraftBukkit/Spigot
a3dccca671 Implementation of richer playEffect methods. Addresses BUKKIT-857
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 13:24:25 -05:00
CraftBukkit/Spigot
27ab478e59 Added EntityTargetEvent for Experience Orbs, happens when it starts moving towards a human entity! Addresses BUKKIT-820
By: ZNickq <ZNickq@ZNickq-PC>
2012-02-25 14:58:21 +02:00
CraftBukkit/Spigot
8f6cf890e0 Moved getVehicle, leaveVehicle and isInsideVehicle from CraftLivingEntity to CraftEntity. Addresses BUKKIT-811
By: TomyLobo <tomylobo@nurfuerspam.de>
2011-10-25 15:53:43 +02:00
CraftBukkit/Spigot
8b7d5cf8e1 [Bleeding] Implement Metadata framework for Entities, Blocks, and Worlds
By: rmichela <deltahat@gmail.com>
2011-12-08 00:33:59 -05:00
CraftBukkit/Spigot
c5912a199f [Bleeding] Fix generics. Addresses BUKKIT-844
By: Wesley Wolfe <weswolf@aol.com>
2012-02-29 10:27:38 -06:00
CraftBukkit/Spigot
3fad4cb7c3 Added plugin-profiling setting to bukkit.yml.
By: Travis Watkins <amaranth@ubuntu.com>
2012-02-10 13:56:16 -06:00
CraftBukkit/Spigot
ade8e8932f Adjusted CraftBukkit to work with the entity event convenience patch in Bukkit. Addresses BUKKIT-809
By: TomyLobo <tomylobo@nurfuerspam.de>
2012-02-21 13:51:56 +01:00
CraftBukkit/Spigot
0914806835 Fixed sneaking eye height. Addresses BUKKIT-808
By: TomyLobo <stabelweb@gmx.de>
2012-02-22 03:32:35 +01:00
CraftBukkit/Spigot
f0ed27ad63 Fixed CraftOfflinePlayer.getLastPlayed() returning the wrong result. Addresses BUKKIT-847
By: Olof Larsson <olof@sylt.nu>
2012-02-27 16:31:52 +01:00
CraftBukkit/Spigot
3487d1e709 Added plugin loading log entry
By: EdGruberman <ed@rjump.com>
2012-02-15 12:56:36 -07:00
CraftBukkit/Spigot
628f916af8 Implement PortalCreateEvent reason codes. Addresses BUKKIT-833
This commit modifies the construction of PortalCreateEvents to specify
a reason for the event.  Reasons are either:
1. FIRE: the portal is being created because a player set fire to an
obsidian frame.
2. DESTINATION: the portal is being created as a destination for an existing portal.

By: Sam Wilson <sam.wilson@gmail.com>
2011-12-25 22:13:25 -08:00
CraftBukkit/Spigot
65a08c8c6e CraftSign changes. Addresses BUKKIT-824
- Removed the useless world field.
- Made it so changes to a CraftSign (which is a Block*State*) no longer reflect into the world without calling sign.update().

By: TomyLobo <tomylobo@nurfuerspam.de>
2012-02-25 14:47:55 +01:00
CraftBukkit/Spigot
c28f0badc5 Updated README.md with more coding and pull request conventions and tips to get your pull request accepted.
By: EvilSeph <evilseph@gmail.com>
2012-02-23 23:46:41 -05:00
CraftBukkit/Spigot
dc6dd3828c [Bleeding] Override not applicable
By: Wesley Wolfe <weswolf@aol.com>
2012-02-23 17:48:30 -06:00
CraftBukkit/Spigot
585a62f3d3 [Bleeding] Undo changes to the tree WorldGenerators.
- All StructureGrowEvent handling for these is in BlockSapling now, using a BlockChangeDelegate to collect the data.
- Moved StructureGrowDelegate into a separate class

By: Zeerix <zeerix@draig.de>
2011-12-23 00:54:34 +01:00
CraftBukkit/Spigot
117ad7c1be [Bleeding] Fixed setTotalExp, any experience update bugs and removed Deprecated Methods. Fixes BUKKIT-798 and fixes BUKKIT-797
By: Feildmaster <admin@feildmaster.com>
2012-02-22 11:03:56 -06:00
CraftBukkit/Spigot
4122f831fb [Bleeding] Use player.getItemInHand(), instead of a new ItemStack. Addresses BUKKIT-767
By: Feildmaster <admin@feildmaster.com>
2012-02-18 09:14:44 -06:00
CraftBukkit/Spigot
2beeb597e3 Fixed pom.xml
By: Feildmaster <admin@feildmaster.com>
2012-02-22 07:00:42 -06:00
CraftBukkit/Spigot
4c339b247f [Bleeding] Added launchProjectile.
Use launchProjectile in place of individual throwSnowball, throwEgg, and shootArrow methods.

By: aPunch <alexpuncochar@yahoo.com>
2012-02-16 15:12:47 -06:00
CraftBukkit/Spigot
8d2559e42a [Bleeding] Added EntityType to replace CreatureType.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-06 00:19:23 -05:00
CraftBukkit/Spigot
0126ce2b16 [Bleeding] Added BlockGrowEvent. Addresses BUKKIT-104
By: Feildmaster <admin@feildmaster.com>
2012-02-11 23:32:24 -06:00
CraftBukkit/Spigot
bed15aa413 [Bleeding] Recipe API improvements and fixes. Addresses BUKKIT-738 and BUKKIT-624
Add a recipe iterator to make it possible to retrieve and remove recipes (BUKKIT-738), and updated the recipe classes to not clip the data to 127 (BUKKIT-624)

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-07-23 23:16:14 -04:00
CraftBukkit/Spigot
39944f7043 [Bleeding] Cleanup clone method.
By: Wesley Wolfe <weswolf@aol.com>
2012-02-19 12:52:49 -06:00
CraftBukkit/Spigot
da4df32343 [Bleeding] Fire EntityDamageByEntityEvent for EnderCrystal. Fixes BUKKIT-776
By: Feildmaster <admin@feildmaster.com>
2012-02-18 23:43:01 -06:00
CraftBukkit/Spigot
88fca68972 [Bleeding] Moved projectile EntityDamageByEntityEvent's to event factory. Addresses BUKKIT-775
By: Feildmaster <admin@feildmaster.com>
2012-02-10 08:32:11 -06:00
CraftBukkit/Spigot
00c54bbbb6 Add getEntitesByClass(Class<T>), getEntitiesByClasses(Class<?>...), deprecate getEntitiesByClass(Class<T>...)
By: Mike Primm <mike@primmhome.com>
2012-01-27 21:49:55 -06:00
CraftBukkit/Spigot
fa547512af Deprecation cleanup.
By: Erik Broes <erikbroes@grum.nl>
2012-01-30 21:51:53 +01:00
CraftBukkit/Spigot
818efc6bca Fixed NPE when running a custom build of CraftBukkit. This fixes issue #BUKKIT-765
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-02-18 14:06:21 +00:00
CraftBukkit/Spigot
cb0ee4963b Don't print stacktraces on DLB fetching errors. And because I forgot last commit; this adds BUKKIT-760
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-02-17 00:09:56 +00:00
CraftBukkit/Spigot
6ea3041bf5 Added a built-in update checker. See http://wiki.bukkit.org/Bukkit.yml#auto-updater for new bukkit.yml options.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-02-16 22:31:40 +00:00
CraftBukkit/Spigot
fa9de7d0b7 Updated version to 1.1-R5-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-02-13 14:30:00 -05:00
CraftBukkit/Spigot
dadf5be2b1 Updated version to 1.1-R4 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-02-13 11:31:40 -05:00
CraftBukkit/Spigot
9375bc5b94 Use createNMSItemStack on CraftingManager recipe registration. Fixes BUKKIT-602
By: Mushroom Hostage <mushroomhostage@yahoo.com>
2012-02-10 18:13:24 -08:00
CraftBukkit/Spigot
1f1bdfaf98 [Bleeding] Added Potions API. Fixes BUKKIT-389
By: fullwall <fullwall@optusnet.com>
2012-01-09 15:51:32 +08:00
CraftBukkit/Spigot
1bbc68df3d Added configurable animal and monster ticks per spawn setting.
By: EvilSeph <evilseph@gmail.com>
2012-02-10 10:23:52 -05:00
CraftBukkit/Spigot
712381a946 [Bleeding] Make sure we don't keep stale references to vanished players.
By: Travis Watkins <amaranth@ubuntu.com>
2012-02-09 20:08:00 -06:00
CraftBukkit/Spigot
3f25236f90 Prevent the Vanish API from sending unnecessary packets.
By: EvilSeph <evilseph@gmail.com>
2012-02-03 05:11:44 -05:00
CraftBukkit/Spigot
f59f095728 [Bleeding] Implemented Vanish API.
Remove players that cannot see a player from their EntityTrackerEntry and only
send user list updates to players who can see the player they reference.

By: Travis Watkins <amaranth@ubuntu.com>
2012-01-31 13:54:15 -06:00
CraftBukkit/Spigot
994b74a0fd Removed MONSTER CreatureType.
By: EvilSeph <evilseph@gmail.com>
2012-02-03 02:42:40 -05:00
CraftBukkit/Spigot
4cb9c42247 Updated version to 1.1-R4-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-30 04:00:50 -05:00
CraftBukkit/Spigot
69f7e1cde7 Updated version to 1.1-R3 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-30 03:22:16 -05:00
CraftBukkit/Spigot
9898f70806 Updated version to 1.1-R3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:48:50 -05:00
CraftBukkit/Spigot
a048cfe1a5 Updated version to 1.1-R2 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:23:42 -05:00
CraftBukkit/Spigot
dfe46ed976 Added 'generate-structure' setting support and WorldCreator property.
Fixes BUKKIT-655 and BUKKIT-592

By: Eric Stokes <fernferret@gmail.com>
2012-01-29 10:40:45 -07:00
CraftBukkit/Spigot
841a60ca59 Added useExactLoginLocation(). Closes BUKKIT-145
useExactLoginLocation() looks for settings.use-exact-login-location within bukkit.yml.

If true, we will bypass Vanilla's behaviour of checking for collisions and moving the player if needed when they login.

If false, we will continue to follow Vanilla's behaviour and move players that 'collide' with objects when they login.

By: EvilSeph <evilseph@gmail.com>
2012-01-29 06:36:43 -05:00
CraftBukkit/Spigot
5695803314 Filter null/AIR from items dropped on death. Fixes: BUKKIT-653
By: Erik Broes <erikbroes@grum.nl>
2012-01-29 13:37:32 +01:00
CraftBukkit/Spigot
ef756d8eba Add some testing
By: Erik Broes <erikbroes@grum.nl>
2012-01-29 11:22:11 +01:00
CraftBukkit/Spigot
ff07115b3c Cleanup.
By: EvilSeph <evilseph@gmail.com>
2012-01-27 18:23:16 -05:00
CraftBukkit/Spigot
655831346f Updated version to 1.1-R2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 04:40:11 -05:00
CraftBukkit/Spigot
40cd87e000 Updated versions to 1.1-R1 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 01:12:09 -05:00
CraftBukkit/Spigot
ccaef1ea05 Fixed CraftLivingEntity.damage when the entity is an EntityComplex.
Fixes BUKKIT-589: if you call damage on an instance of EnderDragon, no damage
is done.

Reason for bug: damage calls Entity.damageEntity.  But EntityComplex
overrides damageEntity to do nothing.

Fix: CraftComplexLiving should call EntityComplex.e instead of
Entity.damageEntity.  e is the method that actually does damage to an
instance of EntityComplex.

By: Sam Wilson <sam.wilson@gmail.com>
2012-01-23 22:04:18 -08:00
CraftBukkit/Spigot
0342a99482 [Bleeding] Implemented PotionSplashEvent. Closes BUKKIT-307
By: Zeerix <zeerix@draig.de>
2012-01-20 09:56:02 +01:00
CraftBukkit/Spigot
655b5d0aa9 Reverted changes to getItem(). Will be reimplemented after RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-20 14:52:32 -05:00
CraftBukkit/Spigot
5d0878be04 Accounted for NMS getItem() returning null in recent commit.
By: EvilSeph <evilseph@gmail.com>
2012-01-20 11:45:37 -05:00
CraftBukkit/Spigot
d8ad13e979 Properly handle null and air items. Fixes BUKKIT-435 and BUKKIT-550
We'll probably want to implement an ItemStack.EMPTY and return that
instead of NULL in the near future.

By: EvilSeph <evilseph@gmail.com>
2012-01-20 02:26:26 -05:00
CraftBukkit/Spigot
2c16b85e3c Updated timing code for new event system
By: Tahg <tahgtahv@gmail.com>
2012-01-19 13:01:41 -05:00
CraftBukkit/Spigot
57da325786 Add updated repos to pom.xml
By: Erik Broes <erikbroes@grum.nl>
2012-01-19 23:02:46 +01:00
CraftBukkit/Spigot
7f9357bd63 Prevent re-use of internal world dimension IDs. This fixes BUKKIT-448. Thanks to snowleo for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-19 16:09:24 +00:00
CraftBukkit/Spigot
127e32a023 Throw PlayerLevelChangeEvent and PlayerExpChangeEvent events. Thanks to feildmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-19 16:06:27 +00:00
CraftBukkit/Spigot
0579af1ac0 Correctly take in ChatColor length when limiting player list size. This should fix BUKKIT-571
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-19 15:09:06 +00:00
CraftBukkit/Spigot
179363588e Actually close the inventory on a *cross*-world teleport.
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 22:50:18 +01:00
CraftBukkit/Spigot
322754c180 Implement Player.setBedSpawnLocation(Location). Thanks md_5
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 22:35:31 +01:00
CraftBukkit/Spigot
6bfc0a0dce [Bleeding] Make BaseBiome to Biome mapping faster, detect missing mapping in future updates
By: Mike Primm <mike@primmhome.com>
2011-12-10 20:06:33 -06:00
CraftBukkit/Spigot
6429a4663c [Bleeding] Implement EntityShootBowEvent. Thanks Zeerix.
By: Zeerix <zeerix@draig.de>
2011-12-28 21:36:02 +01:00
CraftBukkit/Spigot
c2bf4d0844 [Bleeding] Implementation of the brewing stand.
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 17:08:54 +01:00
CraftBukkit/Spigot
64a5086437 [Bleeding] Make sure to close any open inventory windows before teleporting. Thanks md_5.
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 13:22:59 +01:00
CraftBukkit/Spigot
0c70cec69d [Bleeding] Added event calls for healing and harming by potions
By: Zeerix <zeerix@draig.de>
2012-01-14 00:29:44 +01:00
CraftBukkit/Spigot
b785b7f01c [Bleeding] Implemented Block.breakNaturally and Block.getDrops
By: Zeerix <zeerix@draig.de>
2012-01-12 03:10:10 +01:00
CraftBukkit/Spigot
25f2241c78 [Bleeding] Implemented Block.getLightFromSky() and Block.getLightFromBlocks()
By: Mike Primm <mike@primmhome.com>
2011-12-29 13:31:21 -06:00
CraftBukkit/Spigot
a7fb25114f [Bleeding] Implemented World.getEntitiesByClass(Class<T>... classes)
By: Mike Primm <mike@primmhome.com>
2011-12-11 17:27:53 -06:00
CraftBukkit/Spigot
8c6136662c [Bleeding] Implement animal breeding API changes.
By: Erik Broes <erikbroes@grum.nl>
2012-01-05 19:30:00 +01:00
CraftBukkit/Spigot
a9e780978a Fixed LongHashset incorrectly using read lock for popAll, and made it use write lock. This fixes BUKKIT-509
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 18:49:16 +00:00
CraftBukkit/Spigot
e3c83ba119 Implemented World.getWorldType
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 17:44:15 +00:00
CraftBukkit/Spigot
876c2db682 Dragons now throw events when creating portals
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 12:00:38 +00:00
CraftBukkit/Spigot
fd9c7e7c07 Implemented allowFlight methods. Thanks to Qala for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 10:55:05 +00:00
CraftBukkit/Spigot
5b97177cd4 Made World.playEffect a bit more efficient. Thanks mintplant for the PR.
By: Erik Broes <erikbroes@grum.nl>
2012-01-15 11:42:40 +01:00
CraftBukkit/Spigot
7a06568691 Fix broadcasting to people without permission. Fixes BUKKIT-464. Thanks grandwazir for the PR.
By: Erik Broes <erikbroes@grum.nl>
2012-01-15 11:32:00 +01:00
CraftBukkit/Spigot
4286d75739 Adding the option to suppress overload warnings as a bukkit.yml option. Thanks oloflarsson for the PR.
By: Erik Broes <erikbroes@grum.nl>
2012-01-15 11:11:25 +01:00
CraftBukkit/Spigot
7c345d4d82 Fix formatting.
By: Erik Broes <erikbroes@grum.nl>
2012-01-14 23:02:10 +01:00
CraftBukkit/Spigot
62e770d489 Update for 1.1_01 renames.
We know these updates (can) break plugins bypassing Bukkit. They are needed for
smooth updates however. There will be another one right before before 1.1-R1.

By: Erik Broes <erikbroes@grum.nl>
2012-01-14 21:03:48 +01:00
CraftBukkit/Spigot
5dfb95e5cb Implemented new PlayerDeathEvent methods for exp setting
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 18:08:27 +00:00
CraftBukkit/Spigot
e703255cb4 Fixed .createWorld not respecting container folder 100%. Thanks to plleg for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:50:31 +00:00
CraftBukkit/Spigot
f0065e3eef Added .equals and .hashcode to CraftBlockState
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:47:15 +00:00
CraftBukkit/Spigot
890ded8fd8 Player.setPlayerListName no longer counts colors towards the 16-char limit. Thanks to an (unfortunately old) PR by ZachBora.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:42:18 +00:00
CraftBukkit/Spigot
bc3a338f36 Implemented entity.playEffect. Thanks to main--
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:36:47 +00:00
CraftBukkit/Spigot
30bb54a655 Added ItemDespawnEvent
By: Feildmaster <admin@feildmaster.com>
2011-10-17 07:38:03 -05:00
CraftBukkit/Spigot
f2606b7cbe Small optimization in EntityPlayer by caching the hashcode. Thanks to a very old PR by Belphemur. In addition, changed and slightly improved the hashcode formula for entities
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 14:56:47 +00:00
CraftBukkit/Spigot
cbd712ca33 Correct casting for creature target typechecking
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 14:49:41 +00:00
CraftBukkit/Spigot
b7d840939b Fixed any chance of creatures .getTarget throwing a class cast exception - thanks to an old PR by garbagemule!
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 14:45:56 +00:00
CraftBukkit/Spigot
e75caa842b Fixed block.getBiome returning null in new 1.1 biomes. This fixes BUKKIT-496
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 13:14:14 +00:00
CraftBukkit/Spigot
52416316cb Additional commit to fix #BUKKIT-24
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 12:46:23 +00:00
CraftBukkit/Spigot
57daa70dec Fixed informing players of supported Plugin Channels
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 01:46:22 +00:00
CraftBukkit/Spigot
b74ebb1480 Undo commit cc60920 to allow for proper integration with the new Bukkit enum values
By: md-5 <md_5@bigpond.com>
2012-01-14 11:14:43 +11:00
CraftBukkit/Spigot
551e3d9143 Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-13 08:52:26 +00:00
CraftBukkit/Spigot
b76a689292 Fix NPE involving WorldTypes when using CraftServer.createWorld(WorldCreator creator)
By: md-5 <md_5@bigpond.com>
2012-01-13 16:06:55 +11:00
CraftBukkit/Spigot
ef2f82b9d2 Updated to Minecraft 1.1
By: Erik Broes <erikbroes@grum.nl>
2012-01-12 23:10:13 +01:00
CraftBukkit/Spigot
f8ed5eb56f Bumped verison to 1.1-R1-SNAPSHOT
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-12 19:10:04 +00:00
CraftBukkit/Spigot
1e0e49a804 Update to mc-dev rename revision 01
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-12 15:27:39 +00:00
CraftBukkit/Spigot
11d06bdb64 FIX: CraftServer.getOfflinePlayers was not converting set->array well.
An incorrect method was being used to convert from Set<OfflinePlayer>
to OfflinePlayer[].

Relates to BUKIT-404

By: Andrew Ardill <andrew.ardill@gmail.com>
2012-01-02 10:25:43 +11:00
CraftBukkit/Spigot
06fe4d6b9a CraftItemStack: Make sure this.item is not null when cloning.
Fixes BUKKIT-424

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-29 22:31:55 +11:00
CraftBukkit/Spigot
b0ac365f5e Test cloning of CraftItemStacks created with null nms ItemStacks
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-29 22:42:47 +11:00
CraftBukkit/Spigot
1553d52430 Teach CraftServer.getOfflinePlayers to also give all online players.
This method is most useful when it gives all the players who have ever
logged on to the server. Previously, it was not distinguishing between
players who had previously logged on, and were currently logged in,
and those who had previously looged on and were not currently logged in.
A distinction was made, however, between those currently logged in,
but who had not logged in previously.

This commit ensures that all players who have ever logged in (and are
listed as either logged in, or they have a player .dat file) will be
returned by the mentioned method.

Fixes BUKKIT-404

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-27 16:48:09 +11:00
CraftBukkit/Spigot
cfe88f3a5c Update for cleanup in Bukkit
By: Erik Broes <erikbroes@grum.nl>
2011-12-25 15:35:12 +01:00
CraftBukkit/Spigot
3d1cb5ac40 Fixed world.getHighestBlockYAt(x,z) returning 0 for existing but not loaded chunks. This fixes BUKKIT-327. Thanks for dredhorse for the pull request!
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-19 16:30:26 +00:00
CraftBukkit/Spigot
1dc1506bef Make rcon .sendMessage each write on a new line. This fixes BUKKIT-353. Thanks to ks07 for the pull req.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-19 16:22:59 +00:00
CraftBukkit/Spigot
e3b0e1e651 Fix error when cloning enchanted ItemStacks.
The existing method for cloning a Bukkit ItemStack fails to correctly copy
the underlying enchantments. Fix this by overriding .clone() in
CraftItemStack, cloning the underlying nms ItemStack correctly.

Fixes BUKKIT-360

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-20 00:30:54 +11:00
CraftBukkit/Spigot
0b7a5891c5 Test cloning enchanted CraftItemStacks
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-20 00:25:15 +11:00
CraftBukkit/Spigot
c41cf92c61 Add support for junit testing
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-09-23 00:35:09 +10:00
CraftBukkit/Spigot
c2dc1c32b5 Updated version to 1.0.1-R2-SNAPSHOT for development towards next release
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 22:07:07 +00:00
CraftBukkit/Spigot
9a312b3acb Updated versions to 1.0.1-R1 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2011-12-12 14:41:48 -05:00
CraftBukkit/Spigot
d2ae4e1d75 Fixed clients not seeing EXP update immediately after using .setTotalExp and level methods
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 19:44:14 +00:00
CraftBukkit/Spigot
586d6ad790 Implemented (offline)player date methods
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 17:39:52 +00:00
CraftBukkit/Spigot
a02181ac29 Made OfflinePlayer and Player share the same .equals and .hashcode
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-12 15:34:49 +00:00
CraftBukkit/Spigot
8b46844bf4 Stop converting ItemStack to nms ItemStack by hand
This should fix many issues with enchantments being lost, as the method used takes care of enchantments.
Additionally, use the new nms ItemStack constructor in places where appropriate.

Fixes (at least part of) BUKKIT-7. Need to identify any further places to fix.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-13 01:40:35 +11:00
CraftBukkit/Spigot
90baaa255d Teach CraftWorld.spawn how to spawn a Giant
Fixes BUKKIT-235

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-12 14:35:57 +11:00
CraftBukkit/Spigot
dd1048102f Implemented getKiller in LivingEntity
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-11 16:05:27 +00:00
CraftBukkit/Spigot
a163a97e1c Linked thundering and storming.
By: EvilSeph <evilseph@gmail.com>
2011-12-10 12:20:24 -05:00
CraftBukkit/Spigot
67af7c0ed5 Implemented CraftServer.getAllowEnd(). Thanks codename-B!
By: Erik Broes <erikbroes@grum.nl>
2011-12-09 18:55:36 +01:00
CraftBukkit/Spigot
799afe978e Implemented onStructureGrow event, thanks to md-5.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 16:11:56 +00:00
CraftBukkit/Spigot
ffcbcf109c Fix NPE as described in BUKKIT-245. Thanks snowleo
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-08 10:26:39 +11:00
CraftBukkit/Spigot
927bd1f45d Teach EnderDragon how to throw EntityExplosionEvents when it breaks blocks
We also teach CraftWorld how to explode an event, taken from
Explosion.a(boolean) (the code that breaks blocks and drops them on the ground).

The EnderDragon has a flag that slows it down when it hits unbreakable blocks:
Obsidian, White Stone or Bedrock. It might be useful to extend the event so that
plugins can set this.

Letting the API set the default yield for an explosion event has been
deprecated, so we now set the default yield using the appropriate constructor.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-08 00:23:06 +11:00
CraftBukkit/Spigot
e1c6569f8e Implement new interface ConsoleCommandSender.
Also use abstracted ServerCommandSender to reduce complexity! Yay!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 17:04:00 +11:00
CraftBukkit/Spigot
79d53f0f9b Teach MinecraftServer how to handle Remote Console commands.
This fixes BUKKIT-220. Thanks for the help bawoodruff!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 17:01:05 +11:00
CraftBukkit/Spigot
ae5c797119 Fix for entity spawning and some code cleanup
By: Tahg <tahgtahv@gmail.com>
2011-12-06 19:21:10 -05:00
CraftBukkit/Spigot
a84f36b67f Performance update to remove several very high counts of temp object creation
By: Tahg <tahgtahv@gmail.com>
2011-12-06 08:52:45 -05:00
CraftBukkit/Spigot
4a52ff756a fix NPE issue with CB inventory
By: Tahg <tahgtahv@gmail.com>
2011-12-06 08:48:45 -05:00
CraftBukkit/Spigot
d1bb68a060 Clean-up some events to maintain general style
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-05 19:13:10 +11:00
CraftBukkit/Spigot
4ed2b5b754 CraftInventory.remove shouldn't care about amount (BUKKIT-138)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-05 01:51:33 +00:00
CraftBukkit/Spigot
33742d5592 Implemented server.getOfflinePlayers
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 17:57:00 +00:00
CraftBukkit/Spigot
c9c8d2a915 Fixed some various CraftInventory bugs related to dropping Enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 13:22:50 +00:00
CraftBukkit/Spigot
63318d575f Fixed player teleporting not working with a certain method. This fixes BUKKIT-198
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 13:22:31 +00:00
CraftBukkit/Spigot
2d41f1d696 Indicate when a teleport event was triggered by ender pearls or unknown internal teleports
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 11:04:14 +00:00
CraftBukkit/Spigot
dadf3e028c Remove unused import
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-02 21:29:37 +11:00
CraftBukkit/Spigot
0945d42bf0 Made world.spawnCreature just delegate to world.spawn. This fixes BUKKIT-57
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-01 21:50:23 +00:00
CraftBukkit/Spigot
b327d49e49 Use 1.0.1 artifact
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-01 21:49:50 +00:00
CraftBukkit/Spigot
17ba6a756e Fix CraftBlock toString.
By: Erik Broes <erikbroes@grum.nl>
2011-12-01 21:00:21 +01:00
CraftBukkit/Spigot
c370b75aca Fixed rare NPEs with CraftItemStack. This fixes BUKKIT-51
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-01 05:17:22 +00:00
CraftBukkit/Spigot
3505a6c77e Fixed exp methods returning wrong values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-30 22:31:03 +00:00
CraftBukkit/Spigot
0939b7a7f9 Updated to use mc-dev rename revision 1
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-29 23:17:43 +00:00
CraftBukkit/Spigot
540f893f86 Fixed multiworld loading of some worlds, yay for 1 letter fixes :D
By: Erik Broes <erikbroes@grum.nl>
2011-11-30 21:47:51 +01:00
CraftBukkit/Spigot
9c7ab7c33f Fix CraftEnderCrystal so that it implements EnderCrystal, not EnderSignal.
Thanks zhuowei!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-30 09:21:54 +11:00
CraftBukkit/Spigot
dcbd5b4f23 Fix Craft Entity constructors and toStrings.
Also, standardise getHandle and clean up in general.
getHandle is now using the 'entity' member variable instead of
super.getHandle, as this reduces the number of chained calls needed.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 21:22:35 +11:00
CraftBukkit/Spigot
e02756bd58 Ignore minecraft resources in src directory
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 21:20:14 +11:00
CraftBukkit/Spigot
f5793d6a80 Fix CraftVillager constructor to only take an EntityVillager
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 09:46:20 +11:00
CraftBukkit/Spigot
1e64b14e06 BUKKIT-57 Fix using Bukkit interface instead of nmc Entity for type check.
Thanks nidefawl!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 09:42:09 +11:00
CraftBukkit/Spigot
107149bd07 Fixed Enchantments being lost on inventory.setItem
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-28 05:17:05 +00:00
CraftBukkit/Spigot
7cb34c4384 Fixed magma slimes from being nonspawnable
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-28 05:08:28 +00:00
CraftBukkit/Spigot
a78bd5eb1c Add new Entity types to CreatureSpawnEvent
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 11:18:27 +11:00
CraftBukkit/Spigot
18610c823a Add CraftMagmaCube
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 11:17:04 +11:00
CraftBukkit/Spigot
39ddc11033 Fixed NPE in CraftPlayer.getBedSpawnLocation
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 04:09:34 +00:00
CraftBukkit/Spigot
2a560a3b24 Clone item enchantments unchecked
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 03:58:43 +00:00
CraftBukkit/Spigot
f235a09660 Fixed issue with enchantments reseting under certain conditions
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 02:45:34 +00:00
CraftBukkit/Spigot
b90c9ef770 Implemented Enchantment API
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 00:39:25 +00:00
CraftBukkit/Spigot
44b5953141 Implemented world.getWorldFolder
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-25 03:47:12 +00:00
CraftBukkit/Spigot
474234b6be Changed Entity.isDead to be aware of health for living entities
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-25 00:32:44 +00:00
CraftBukkit/Spigot
aa9a64c1d7 Fixed NPE in player inventory + don't ignore the cancel state of world unloads
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 20:27:16 +00:00
CraftBukkit/Spigot
2f98915d03 Implemented new age methods in animals, and made spawned animals via eggs properly age back to children
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 20:16:43 +00:00
CraftBukkit/Spigot
cbcd3aa1ae I've either fixed going to The End, or made it worse. I'm sure we'll find out soon!
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 20:00:55 +00:00
CraftBukkit/Spigot
66c96af623 Made BlockStates inform playes upon update
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 18:48:23 +00:00
CraftBukkit/Spigot
20d9b64e16 Fixed allow-nether being ignored
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 18:48:01 +00:00
CraftBukkit/Spigot
0f394bd1f6 Implemented new biome values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-22 21:21:33 +00:00
CraftBukkit/Spigot
83e8785760 Implemented new EnderCrystal entity class
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:39:33 +00:00
CraftBukkit/Spigot
90b2487ced fixed spawn method for projectiles
By: sunkid <sunkid@iminurnetz.com>
2011-11-20 18:18:10 -08:00
CraftBukkit/Spigot
8d63c2d62d Update to correct Bukkit version
By: Erik Broes <erikbroes@ripe.net>
2011-11-20 00:13:48 -08:00
CraftBukkit/Spigot
be5fc81d31 Update for 1.0.0
By: Erik Broes <erikbroes@grum.nl>
2011-11-20 00:01:14 -08:00
CraftBukkit/Spigot
f37f615a88 Added new --noconsole command argument, thanks to mkurzeja for the idea
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-05 20:14:26 +00:00
CraftBukkit/Spigot
0ad41cc069 Added distributionManagement section to POM.
By: Luke Granger-Brown <github@lukegb.com>
2011-10-11 20:47:06 +02:00
CraftBukkit/Spigot
df0cea370e Fix version string - RB 4 has already happened
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-01 14:19:11 +11:00
CraftBukkit/Spigot
4c25ba70ad Implemented bukkit versioning
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 04:02:54 +00:00
CraftBukkit/Spigot
a3c58c7601 Updated version for 1.8.1-R4
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 01:49:47 +00:00
CraftBukkit/Spigot
b8a509d091 Add missing CraftBlock hashCode()
By: Erik Broes <erikbroes@grum.nl>
2011-10-20 23:20:26 +02:00
CraftBukkit/Spigot
e771a25163 fixed mapping of Art <-> EnumArt in Paintings
By: Tahg <tahgtahv@gmail.com>
2011-10-12 14:12:53 -04:00
CraftBukkit/Spigot
08cd9ce5f7 Added header to bukkit.yml
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 13:26:07 +01:00
CraftBukkit/Spigot
5ee5bffb9f Added new bukkit.yml entry (settings -> world-container) to control the directory worlds are stored in
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 04:24:41 +01:00
CraftBukkit/Spigot
6f832c669f Implemented getPlayer of OfflinePlayer
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 14:52:07 +01:00
CraftBukkit/Spigot
e2369da502 Implemented entity age methods
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 02:23:10 +01:00
CraftBukkit/Spigot
9ad2b97138 Added hashCode and equals to CraftWorld
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 22:45:52 +01:00
CraftBukkit/Spigot
bac90b1d90 Removed deprecated ConcurrentSoftMap
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 22:05:35 +01:00
CraftBukkit/Spigot
cb1c6d43c6 Updated snakeyaml to reflect Bukkit
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:40:41 +01:00
CraftBukkit/Spigot
f9067422f1 Updated to the new Configuration api
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:10:48 +01:00
CraftBukkit/Spigot
e35d160db6 Fix CraftBlock.equals as they are not singletons anymore
By: Erik Broes <erikbroes@grum.nl>
2011-10-07 11:48:14 +02:00
CraftBukkit/Spigot
64723bee72 don't store weak references for EmptyChunks or cache CraftBlocks
By: Tahg <tahgtahv@gmail.com>
2011-10-05 11:31:23 -04:00
CraftBukkit/Spigot
e7626c4bae Revert "Added callback line of sight methods. Thanks xZise!"
This reverts commit 49cf586f969626bdb59632bb2fd5adfe79d38057.

By: EvilSeph <evilseph@gmail.com>
2011-10-03 15:17:34 -04:00
CraftBukkit/Spigot
7bf7abfa5f Fixed multiworld difficulty.
World difficulty was incorrectly being set to 0 or 1 on reload depending
on spawn-monsters instead of the difficulty server property.

By: EvilSeph <evilseph@gmail.com>
2011-10-03 10:08:38 -04:00
CraftBukkit/Spigot
a4242b3e90 Added Difficulty API.
By: EvilSeph <evilseph@gmail.com>
2011-10-03 01:25:54 -04:00
CraftBukkit/Spigot
6e38cffca0 Added missing call for WorldUnload event.
By: EvilSeph <evilseph@gmail.com>
2011-10-02 23:16:58 -04:00
CraftBukkit/Spigot
691d4bb694 Added callback line of sight methods. Thanks xZise!
By: EvilSeph <evilseph@gmail.com>
2011-10-01 16:18:17 -04:00
CraftBukkit/Spigot
49395291c2 Minimal diffs! Move methods for the new list-name away from nms
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-10-03 00:34:51 +01:00
CraftBukkit/Spigot
feed511869 Updated guava to 10.0
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-10-01 23:46:27 +01:00
CraftBukkit/Spigot
3ece4f6a1f Painting improvements. Thanks CelticMinstrel!
Implement get/setArt and facing direction for paintings; expanded painting break causes; added painting support to World.spawn

By: EvilSeph <evilseph@gmail.com>
2011-10-01 13:31:28 -04:00
CraftBukkit/Spigot
d51a5ded5b Correct biome data in ChunkSnapshot - wrong API used
By: Mike Primm <mike@primmhome.com>
2011-09-26 10:15:45 -05:00
CraftBukkit/Spigot
7c330f148f Fixed players not receiving broadcasts (and other similar issues) after signing out and in rapidly
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-27 23:13:58 +01:00
CraftBukkit/Spigot
8c6f3725ee Added server list ping event.
By: sk89q <the.sk89q@gmail.com>
2011-09-26 15:32:05 -07:00
CraftBukkit/Spigot
9d39647939 Added Player.get/setListName to change the name of the player on the player list.
By: sk89q <the.sk89q@gmail.com>
2011-09-26 15:10:35 -07:00
CraftBukkit/Spigot
b7fd3933e4 data improvements
By: Tahg <tahgtahv@gmail.com>
2011-09-26 03:07:06 -04:00
CraftBukkit/Spigot
35a5504f20 Boat get/set (double) occupied acceleration, (double) unoccupied deceleration, (boolean) work on land. Good values to maximize boat utility: 0.6 (fast accel.), 0.99 (no loss of boat), true/false, respectively.
By: sk89q <the.sk89q@gmail.com>
2011-09-25 11:20:51 -07:00
CraftBukkit/Spigot
4c3b2cbd0b Ensure there's only one OfflinePlayer object per actual offline player
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 04:21:35 +01:00
CraftBukkit/Spigot
af65244ba9 Implementation of the Jukebox BlockState
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-08-22 01:36:01 -04:00
CraftBukkit/Spigot
e6e2df18be Implemented get/setPickupDelay on Item entities, thanks robin0van0der0v
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:40:28 +01:00
CraftBukkit/Spigot
36b341bfc8 Implemented getOperators
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:28:00 +01:00
CraftBukkit/Spigot
a013800772 Adds a method that returns the File representation of the update folder. Thanks raphfrk
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 02:22:06 +01:00
CraftBukkit/Spigot
75c69f93c2 Fixed typo in readme, thanks to b1naryth1ef for spotting it
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:48:59 +01:00
CraftBukkit/Spigot
27dfae8850 Silence Eclipse's complaints about gitdescribe
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-09-16 19:10:33 -04:00
CraftBukkit/Spigot
76862f4b1f Implemented world.getSeaLevel, made getHeight load from world instead of hardcoded
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:05:55 +01:00
CraftBukkit/Spigot
a7c822dfbb Implemented new createWorld method
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:05:10 +01:00
CraftBukkit/Spigot
7cddc13d28 Blocked access to ColouredConsoleSenders constructor, implemented getConsoleSender
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-24 23:14:13 +01:00
CraftBukkit/Spigot
86526921b7 Update to mcdev rename revision 01 for 1.8.1
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-24 22:03:31 +01:00
CraftBukkit/Spigot
004a7aca08 Added PlayerToggleSprint event and sprinting related API.
By: Rigby <rigby@onarandombox.com>
2011-09-21 11:48:24 +01:00
CraftBukkit/Spigot
dec020c554 Implements the ability to customise and remove Player death messages.
By: Rigby <rigby@onarandombox.com>
2011-09-21 16:32:37 +01:00
CraftBukkit/Spigot
f0d0cb2214 Refactored a bunch of death code into the event factory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 15:41:24 +01:00
CraftBukkit/Spigot
dfdb5f0bab Added getBedSpawnLocation to CraftPlayer. Thanks fernferret!
By: EvilSeph <evilseph@gmail.com>
2011-09-20 23:36:17 -04:00
CraftBukkit/Spigot
ef58f12066 Return OfflinePlayer for offline wolf tamers. Thanks robinjam
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-20 19:10:06 +01:00
CraftBukkit/Spigot
118ab48313 Added event for endermen picking up and placing blocks and methods to get/set what an enderman is holding.
By: Wizjany <wizjany@gmail.com>
2011-09-17 20:16:18 -04:00
CraftBukkit/Spigot
c3a23bd4e1 Nullchex!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-19 14:25:59 +01:00
CraftBukkit/Spigot
87426bf633 implementation of PlayerGameModeChangeEvent call
By: sunkid <sunkid@iminurnetz.com>
2011-09-16 15:04:11 -07:00
CraftBukkit/Spigot
f0abf7a025 Added support back in for biome temperature and rainfall in snapshots.
By: Mike Primm <mike@primmhome.com>
2011-09-15 15:57:37 -05:00
CraftBukkit/Spigot
d18f001535 Implemented configurable ping packet limit.
By: EvilSeph <evilseph@gmail.com>
2011-09-16 20:57:43 -04:00
CraftBukkit/Spigot
753e928598 Added toString overrides to new Craft entities.
By: EvilSeph <evilseph@gmail.com>
2011-09-16 22:24:09 -04:00
CraftBukkit/Spigot
de5887e2fd Added new entity mappings to CreatureSpawnEvent factory.
By: EvilSeph <evilseph@gmail.com>
2011-09-16 20:10:49 -04:00
CraftBukkit/Spigot
23a92651f7 Update for Minecraft 1.8.1
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 18:01:13 +01:00
CraftBukkit/Spigot
61d656bf30 Rename revision 2
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 17:36:27 +01:00
CraftBukkit/Spigot
e75180213c Setting exp shouldn't add, it should set
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 06:27:55 +01:00
CraftBukkit/Spigot
4f4400970b Implemented food methods + fixed dying resetting food
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 06:24:45 +01:00
CraftBukkit/Spigot
20f04b7261 Fixed spawning the new entities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:53:19 +01:00
CraftBukkit/Spigot
5846e18542 Implemented Exp Orb methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:48:31 +01:00
CraftBukkit/Spigot
7f0060f3a0 Implemented player experience methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 05:13:10 +01:00
CraftBukkit/Spigot
ca1be0ff66 1.8 rename fixes
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 04:13:14 +01:00
CraftBukkit/Spigot
e2eb0e5b8b Implemented new entities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 02:33:50 +01:00
CraftBukkit/Spigot
ebd9037c1e Implemented gamemode methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 02:22:20 +01:00
CraftBukkit/Spigot
d902201875 Update for Minecraft 1.8
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-15 01:23:52 +01:00
CraftBukkit/Spigot
c4875394c3 Indentation is important, ok?
By: Top-Cat <Top_Cat@thegigcast.net>
2011-09-08 02:54:45 +08:00
CraftBukkit/Spigot
edd95d4ca5 Implemented new GameMode methods (hint: You can't set game mode yet. Sorry.)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-09 01:17:53 +01:00
CraftBukkit/Spigot
ba1dad72bb Fixed issue with console being subscribed multiple times to permissions
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-04 00:24:32 +01:00
CraftBukkit/Spigot
19b4260c01 Added new Server.getPlayerExact() method, added whitelist methods and don't use vanilla commands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 15:57:54 +01:00
CraftBukkit/Spigot
4ec3915949 Implemented new ban and unban methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 02:13:07 +01:00
CraftBukkit/Spigot
df08315cf4 Implemented IP-banning methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 01:59:28 +01:00
CraftBukkit/Spigot
d1c68e10a9 Actually push the CraftOfflinePlayer implementation!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:49:10 +01:00
CraftBukkit/Spigot
e6a01fa70a Implemented OfflinePlayer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:41:48 +01:00
CraftBukkit/Spigot
2eaed3d4a0 Implemented new broadcast method
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 22:24:28 +01:00
CraftBukkit/Spigot
7a0b399f40 Fixed player.setOp not deopping players
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 21:30:16 +01:00
CraftBukkit/Spigot
378fdb506d Fixed world.save, implemented autosave methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 20:46:26 +01:00
CraftBukkit/Spigot
f61f314d74 Implemented Server.shutdown()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 20:18:35 +01:00
CraftBukkit/Spigot
5550ed992a Commands are now "bukkit.command.x" instead of "craftbukkit.command.x", added legacy perms for compat
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 19:19:50 +01:00
CraftBukkit/Spigot
ca9b5fba58 Version message doesn't need to be printed manually now
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 16:56:10 +01:00
CraftBukkit/Spigot
61bb91531b Refactored some code from nms to ob for minimal diffs
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-08-29 16:09:13 +01:00
CraftBukkit/Spigot
2d1f91b750 Fixed memory leak Chunk Compression handling. Thanks Zeerix!
By: EvilSeph <evilseph@gmail.com>
2011-08-27 00:49:35 -04:00
CraftBukkit/Spigot
d617037db6 safety check (and hopeful fix) for chunk saving
By: Tahg <tahgtahv@gmail.com>
2011-08-19 23:17:48 -04:00
CraftBukkit/Spigot
f9b17ea956 Refactored default permission registration. Added "craftbukkit" and "craftbukkit.command" parent perms, and fixed whitelist adding
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-08-18 14:04:59 +01:00
CraftBukkit/Spigot
1bf14e8416 Made suiciding through the /kill command not reliant on pvp being allowed.
By: EvilSeph <evilseph@gmail.com>
2011-08-15 14:30:27 -04:00
CraftBukkit/Spigot
6d7cc61d4d Revert "Implements interface for changing the view distance."
By: EvilSeph <evilseph@gmail.com>
2011-08-15 14:27:02 -04:00
CraftBukkit/Spigot
363d5d3f22 Implements interface for changing the view distance.
Uses default view distance if player's view distance is not set

Throws an illegal argument exception if view distance is set too high
or too low.

Pushes notifications of server and world view distance changes to the player.
Move view distance functions from PlayerManger to WorldServer.
Set player minimum view distance to 1 for now.
Reset player's 'last known' position when recalculating visible chunks.

Use per-player view distance in chunk distance checks

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-08-12 00:37:22 +10:00
CraftBukkit/Spigot
fd2530530d Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!
By: EvilSeph <evilseph@gmail.com>
2011-08-12 22:47:47 -04:00
CraftBukkit/Spigot
7746a2055d Added permissions for each vanilla command - see http://wiki.bukkit.org/Vanilla_permissions. Removed op requirement for all server commands :o
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-08-13 02:13:35 +01:00
CraftBukkit/Spigot
7818751dc3 Fixed chunks being overwritten with empty chunks when the memory setting is immediately changed after a world loads.
By: Rigby <rigby@onarandombox.com>
2011-08-11 10:29:39 +01:00
CraftBukkit/Spigot
6d20f543c8 Added missed colors to ColouredConsoleSender. Thanks flames!
By: EvilSeph <evilseph@gmail.com>
2011-08-10 20:20:44 -04:00
CraftBukkit/Spigot
ceab047443 Added "getViewDistance()", "getAllowNether()", "hasWhitelist()" and "getAllowFlight()". Thanks robin0van0der0v!
By: EvilSeph <evilseph@gmail.com>
2011-08-07 20:25:46 -04:00
CraftBukkit/Spigot
6bc7228c46 Implemented per world setting to keep the spawn in memory or not.
By: Rigby <rigby@onarandombox.com>
2011-07-27 00:24:27 +01:00
CraftBukkit/Spigot
75eaae7e97 Chunk Compression on seperate thread. Thanks to Zeerix.
By: Rigby <rigby@onarandombox.com>
2011-07-26 17:03:52 +01:00
CraftBukkit/Spigot
4af24f3d03 Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent.
By: sunkid <sunkid@iminurnetz.com>
2011-07-19 13:26:00 -07:00
CraftBukkit/Spigot
2152faf4c9 Added Version startup argument to Main. Thanks cyberdudedk!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 00:46:18 -04:00
CraftBukkit/Spigot
8ef511b342 Added various utility methods to make chunk handling easier. Thanks Meaglin!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 00:32:58 -04:00
CraftBukkit/Spigot
e74addf2e4 Removed deprecated methods.
getNote() that returns a byte has been replaced by getRawNote().
teleportTo(Location) has been replaced by teleport(location).
teleportTo(Entity) has been replaced by teleport(Entity).
SnowForm event has been replaced by BlockForm event.

By: EvilSeph <evilseph@gmail.com>
2011-07-27 21:18:52 -04:00
CraftBukkit/Spigot
04335a1ebe Tweaked pom to specify guava as provided
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-20 18:05:34 +01:00
CraftBukkit/Spigot
ea3444644d Implemented maxheight
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-20 00:03:47 +01:00
CraftBukkit/Spigot
2a8e727a99 Implemented new permission system
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-17 17:19:41 +01:00
CraftBukkit/Spigot
b558d85c05 Removed some old deprecated code and clean up javadocs + warnings
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:34:40 +02:00
CraftBukkit/Spigot
e3dabafd4b Allow colorchar to be uppercase
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:34:11 +02:00
CraftBukkit/Spigot
5e6cc8625b Deprecated Block.getFace(Face) and Block.getFace(Face,int); use getRelative()
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:02:32 +02:00
CraftBukkit/Spigot
8ab7680e6b Implemented BLOCK_PISTON_CONTRACT/EXPAND
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 00:19:25 +02:00
CraftBukkit/Spigot
d635e017fd Use the regular repo-url again
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 00:28:35 +02:00
CraftBukkit/Spigot
9bae81558f Don't use weak/soft references for keys, attempt to lessen memory impact further
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-16 02:55:54 +01:00
CraftBukkit/Spigot
1511a5a437 Readded ConcurrentSoftMap because apparently some plugins need this. (They really, really shouldn't be using it. At all.)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-15 21:49:53 +01:00
CraftBukkit/Spigot
9431ef57c0 Fixed huge memory leak (gigabytes/hour!) by placing a bukkit under the ceiling.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-15 18:28:09 +01:00
CraftBukkit/Spigot
af11cea8fe Revert "Do not immediately re-queue repeating tasks, or they may simply keep repeating on this tick, until the 35ms time limit runs out." See 3632d99122 (commitcomment-478252)
This reverts commit 3632d99122e8795cadb8f94e14e42eb4aa6d7c4c.

By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-14 23:21:28 +01:00
CraftBukkit/Spigot
e2f2ed1c17 Do not immediately re-queue repeating tasks, or they may simply keep repeating on this tick, until the 35ms time limit runs out.
By: Afforess <afforess@gmail.com>
2011-07-13 17:26:33 -07:00
CraftBukkit/Spigot
fef0c5fea0 Fixed missing BiomeBase.SKY to Biome.SKY mapping. Thanks mikeprimm!
By: EvilSeph <evilseph@gmail.com>
2011-07-14 15:05:43 -04:00
CraftBukkit/Spigot
8c447e8839 Implemented pig zombie get/set anger functions.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-07-02 22:15:06 -04:00
CraftBukkit/Spigot
81d54eaa7c Fixed the accounting for world UID conflicts.
By: EvilSeph <evilseph@gmail.com>
2011-07-13 15:35:05 -04:00
CraftBukkit/Spigot
11d2a52689 Implemented helper methods + new biome methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-13 06:52:40 +01:00
CraftBukkit/Spigot
92dc42b3a8 Account for world UID conflicts.
By: EvilSeph <evilseph@gmail.com>
2011-07-13 03:29:43 -04:00
CraftBukkit/Spigot
42fb871866 Made the order of aliases matter. We may or may not re-do this in a later build.
By: Rigby <rigby@onarandombox.com>
2011-07-13 04:14:28 +01:00
CraftBukkit/Spigot
888de16db3 uuid changes
By: Tahg <tahgtahv@gmail.com>
2011-07-13 00:06:07 -04:00
CraftBukkit/Spigot
7a4e513ae4 Added command line logging configuration which enables log file:
* Size limiting (--log-limit <size in bytes>)
* Rotation (--log-count <count of files>)
* Custom naming (--log-pattern <filename pattern>)
* Append (--log-append <true|false>)
Note: This is done via command line and not bukkit-settings as that would require lots of refactoring of both core server and CraftBukkit due to the current initialisation ordering and depenencies.
All settings default to that of the standard server

By: stevenh <steven.hartland@multiplay.co.uk>
2011-07-10 18:28:57 +01:00
CraftBukkit/Spigot
9e4ad7c436 Temporarily relocated 1.7.3 jar to static location
By: Erik Broes <erikbroes@grum.nl>
2011-07-09 11:49:43 +02:00
CraftBukkit/Spigot
e29451bc4e Use generators from bukkit.yml if none was specified at createWorld
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-08 19:01:03 +01:00
CraftBukkit/Spigot
e8b5c3e8a2 Updated pom mc version
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-08 13:30:49 +01:00
CraftBukkit/Spigot
6863d65e4f Update for 1.7.3
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-08 13:25:53 +01:00
CraftBukkit/Spigot
244af81134 Okay, back to arbitrary offsets!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-07 20:29:57 +01:00
CraftBukkit/Spigot
7c3ca1d44c Cleaned up this worlduid stuff a little.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-07 19:47:42 +01:00
CraftBukkit/Spigot
034b084e7c Made maps support MultiWorld worlds.
By: Rigby <rigby@onarandombox.com>
2011-07-03 07:42:26 +01:00
CraftBukkit/Spigot
860f6ad4b7 Implements a World UID.
By: Rigby <rigby@onarandombox.com>
2011-07-05 04:48:27 +01:00
CraftBukkit/Spigot
ae08c5c5ec IntelliJ is awesome.
By: EvilSeph <evilseph@unaligned.org>
2011-07-05 00:14:34 -04:00
CraftBukkit/Spigot
12b26231d2 Forgot version in CraftBukkit
By: Erik Broes <erikbroes@grum.nl>
2011-07-01 14:24:59 +02:00
CraftBukkit/Spigot
c60ce9dbba Update for 1.7.2
By: Erik Broes <erikbroes@grum.nl>
2011-07-01 14:05:57 +02:00
CraftBukkit/Spigot
f7df7a7870 Possible fix for cancelled CraftScheduler tasks still running.
By: EvilSeph <evilseph@unaligned.org>
2011-06-30 02:18:11 -04:00
CraftBukkit/Spigot
6f94838466 Update to minecraft 1.7_01
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-30 15:47:36 +01:00
CraftBukkit/Spigot
92a01a2d3e Update to Minecraft 1.7
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-29 23:02:25 +01:00
CraftBukkit/Spigot
85e8cedcff Massive renaming update in nms. If you bypassed Bukkit, you will likely break.
Also minimized all the nms diffs and generic cleanups all around.

By: Erik Broes <erikbroes@grum.nl>
2011-06-27 00:25:01 +02:00
CraftBukkit/Spigot
912a9c2c1a Don't register commands only on init
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-26 02:46:04 +01:00
CraftBukkit/Spigot
7d69668caa Delayed alias registration until postworld
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-24 00:57:46 +01:00
CraftBukkit/Spigot
9ad0ab93d1 We build for JDK 1.5.
By: EvilSeph <evilseph@unaligned.org>
2011-06-23 15:41:07 -04:00
CraftBukkit/Spigot
10dcb517dc Made bukkit settings reload on reload().
By: sunkid <sunkid@iminurnetz.com>
2011-06-23 11:06:09 -07:00
CraftBukkit/Spigot
5cfd050f9f Fixed default command alias to do an array
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 19:20:14 +01:00
CraftBukkit/Spigot
5ff4a9570f Implemented new alias system
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 19:10:29 +01:00
CraftBukkit/Spigot
92365a5bf2 You may now set a generator to a default world using plugin.yml
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 18:27:27 +01:00
CraftBukkit/Spigot
59c6da8305 Implemented startup plugin loading
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 17:46:12 +01:00
CraftBukkit/Spigot
9e46607f98 Added SpawnReasons to CreatureSpawn events. Thanks winsock!
By: EvilSeph <evilseph@unaligned.org>
2011-06-21 16:20:11 -04:00
CraftBukkit/Spigot
82899bb5e6 Added Sky biome for the Skylands. Thanks robin0van0der0v!
By: EvilSeph <evilseph@unaligned.org>
2011-06-21 15:46:02 -04:00
CraftBukkit/Spigot
0eafeb5ce0 Changed Nether portals to be handled by a customiseable PortalTravelAgent and updated the PlayerPortalEvent
By: Rigby <rigby@onarandombox.com>
2011-06-20 06:34:17 +01:00
CraftBukkit/Spigot
525e5a4052 Added the abitility to spawn fireballs.
By: sunkid <sunkid@iminurnetz.com>
2011-06-20 12:36:46 -07:00
CraftBukkit/Spigot
afd33dd591 No more ghastly pigs!
By: sunkid <sunkid@iminurnetz.com>
2011-06-19 15:03:54 -07:00
CraftBukkit/Spigot
8ce55e1c91 Fixed CraftWorld.spawn() having all the inheritance checks backwards.
By: sk89q <the.sk89q@gmail.com>
2011-06-19 12:59:17 -07:00
CraftBukkit/Spigot
e144eddaf2 Added API to allow plugins to set the world's spawn flags.
By: EvilSeph <evilseph@unaligned.org>
2011-06-19 06:09:05 -04:00