297 Commits

Author SHA1 Message Date
md_5
8ddb94da62 SPIGOT-4831: setKeepSpawnInMemory to false does not work 2019-05-02 15:15:53 +10:00
md_5
3dcbf6b85b Regular arrow spawn method should not have changed type 2019-05-01 18:14:52 +10:00
md_5
dadc539211 World#spawnArrow should return an AbstractArrow now 2019-04-30 21:32:03 +10:00
md_5
29b90d2410 SPIGOT-4819: Continue refactoring of Arrow-related APIs 2019-04-30 21:23:11 +10:00
md_5
e3df3d5cda Add Override annotations where appropriate 2019-04-28 11:38:01 +10:00
md_5
aed901654b SPIGOT-4744: Cannot spawn Cat entity 2019-04-25 14:59:08 +10:00
md_5
5fea790398 Apply import ordering rules to CraftBukkit classes 2019-04-23 14:56:58 +10:00
md_5
a2d787f6eb Update to Minecraft 1.14-pre5 2019-04-23 12:00:00 +10:00
md_5
d65a2576e4 SPIGOT-4674: Allow spawning hanging on top/bottom of block 2019-03-22 20:33:20 +11:00
md_5
2bc7d1df25 SPIGOT-3747: Add API for force loaded chunks 2018-12-27 12:44:50 +11:00
md_5
dff66dfccd Reduce copying of positions from block states 2018-12-22 11:32:11 +11:00
md_5
c64fe5080c Mappings Update 2018-12-13 11:00:00 +11:00
md_5
aed3aecbaf Make natural item dropping mimic Vanilla
Make sure we don't regress SPIGOT-260 by using exact drop method like Entity does
2018-10-31 20:10:39 +11:00
blablubbabc
4a47be6164 Add ray tracing and bounding box API 2018-10-26 20:00:00 +11:00
md_5
b4230a9a7e Update to Minecraft 1.13.2 2018-10-23 06:00:00 +11:00
md_5
1a7f2d109e SPIGOT-4397: isChunkGenerated API 2018-09-26 17:19:16 +10:00
Senmori
88a5346fea Add API to locate structures. 2018-09-22 17:11:17 +10:00
md_5
5d0d83bb90 SPIGOT-4309: Add "forced" display of particles 2018-08-26 18:27:19 +10:00
md_5
ce1af0c348 Update to Minecraft 1.13.1 2018-08-26 12:00:00 +10:00
Senmori
29e7564874 Expand GameRule API 2018-08-11 11:25:09 +10:00
md_5
1ef1ffd664 SPIGOT-4137: Fix World.regenerateChunk 2018-07-25 19:32:06 +10:00
md_5
421c1728c8 Update to Minecraft 1.13-pre7 2018-07-15 10:00:00 +10:00
Cory Redmond
74cd5fdfc4 Add setSpawnLocation(Location) 2017-11-18 10:27:24 +11:00
md_5
59fa98bfb7 SPIGOT-3587: Set head rotation when spawning entity 2017-10-01 11:01:49 +11:00
md_5
ed8c725d19 SPIGOT-3304: Respect duration from Vanilla /weather 2017-06-09 16:17:08 +10:00
md_5
5195487ec6 Update to Minecraft 1.12-pre2 2017-05-14 12:00:00 +10:00
md_5
3c48711c05 SPIGOT-3051: Set pitch/yaw for spawned boats 2017-02-06 11:58:42 +11:00
Ryan Michela
1c7dfaebef SPIGOT-2957 getSeaLevel() should return the real sea level, not a hard-coded value 2016-12-26 09:39:03 +11:00
md_5
03c4bf2244 SPIGOT-2908: Correctly spawn LlamaSpit 2016-12-10 12:10:28 +11:00
Xor Boole
bfbd868a37 Implement pre-spawn API to allow modifications to spawned entities.
See preceding commit for why this change was included.
2016-12-06 21:42:41 +11:00
md_5
9dee10873d SPIGOT-2890: SetBiome not saving changes 2016-12-06 20:46:04 +11:00
md_5
fffaf07113 Fangs degree => radians (and back) 2016-11-30 09:56:09 +11:00
md_5
ff324aabe6 SPIGOT-2862: Cannot spawn evoker fangs 2016-11-30 08:37:06 +11:00
LukBukkit
6e887cd942 Added method for spawning a falling block with the BlockData 2016-11-26 19:23:20 +01:00
LukBukkit
63c13c5e62 Implement SoundCategory for playing sounds. 2016-11-19 14:20:13 +11:00
md_5
17e6e857b5 SPIGOT-2779: NPE when spawning firework with plugin 2016-11-18 09:22:40 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
md_5
4d87c3422c SPIGOT-2644: Clearer error for invalid hanging spawns 2016-08-31 17:25:37 +10:00
md_5
9ff3d7f51f SPIGOT-2548: Don't special case spawn locations of falling blocks 2016-07-23 16:23:31 +10:00
md_5
1fe19a83f9 SPIGOT-1129: Fix spawning leash hitch without adjacent block 2016-06-30 13:21:22 +10:00
Aikar
1953f52da1 SPIGOT-2439: Consistently fire Chunk(Load|Unload)Event
Clean up implementation and firing of both of these events by routing
both unload and load behaviors to consistent method calls.

This fixes issues where a few places would not call Load or Unload events
when it should have.

Additionally, reduces diff by moving the neighbor marking code into these
consistent points.

Additional benefits of the change include improving the neighbor marking
methods to use getChunkIfLoaded instead of getLoadedChunkAt in some places,
as the latter will cause chunks to be marked active and not unload.

Finally, this also updates CraftWorld.loadChunk to use the new methods, as the
previous logic did not properly handle the new unload queue.
2016-06-23 10:34:08 +10:00
md_5
6cbdec1f15 SPIGOT-2381: Use custom spawnreason for dropItem 2016-06-12 10:26:48 +10:00
md_5
a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5
ef3ccc94e0 SPIGOT-2315: Neighbour chunk unload marking 2016-05-25 18:21:54 +10:00
md_5
7e9122e74d Fix some [but not all] chunk unload issues 2016-05-11 15:34:16 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
md_5
935f18b476 SPIGOT-2206: playEffect doesn't accept sub classes of the expected data type 2016-04-26 09:35:17 +10:00
md_5
60cb5b5603 SPIGOT-2118: Fix crash on chunk regen 2016-04-04 17:15:02 +10:00
md_5
e56aa46656 SPIGOT-1988: Chorus Plant Generation 2016-03-20 19:02:48 +11:00
md_5
4cd46b242b SPIGOT-1976: Never unload in use chunks. 2016-03-19 14:40:23 +11:00