9733 Commits

Author SHA1 Message Date
Dylan K. Taylor
1ea5316a37 Whose idea was it to make this public... 2019-03-24 18:38:26 +00:00
Dylan K. Taylor
97ccc6e880 Network: Don't ignore retval of raw handlers 2019-03-24 18:31:32 +00:00
Dylan K. Taylor
d0940e4be2 Fixed raw packets in the buffer pre-ban still getting processed post-ban 2019-03-24 18:26:52 +00:00
Dylan K. Taylor
6990d6239e Network: Added RawPacketHandler interface, query handler is now a component 2019-03-24 18:02:19 +00:00
Dylan K. Taylor
a753c1342d Clean up Query cache handling, remove useless timeouts
the timeout was entirely useless, because:
- when shorter than 25.6 seconds (512 ticks) it would cause caches to be needlessly destroyed and regenerated
- when longer than 25.6 seconds, just made outdated caches persist for longer, even after the query info was regenerated.

This now uses a mark-dirty model to deal with caches, which means that plugin modifications to the query data will be reflected immediately, regardless of when they are made. Previously, modifying the result of Server->getQueryInformation() would have inconsistent results.
2019-03-24 17:43:02 +00:00
Dylan T
9c76fb7d96
Implemented plugin loading whitelist/blacklist by config file (#2783) 2019-03-24 16:18:13 +00:00
Dylan K. Taylor
aea775c7c6 TallGrass: fixed seeds never being dropped when support is removed 2019-03-23 19:58:35 +00:00
Dylan K. Taylor
d9134f28e4 Rename CobblestoneWall -> Wall 2019-03-23 19:50:07 +00:00
Dylan K. Taylor
2a3e6dcf00 Rename BlockIds -> BlockLegacyIds 2019-03-23 19:46:31 +00:00
Dylan K. Taylor
79ef8e0803 Replace all legacy blockID references with BlockIds:: 2019-03-23 19:44:33 +00:00
Dylan K. Taylor
f84d7ad70d sync block TODOs 2019-03-23 19:21:11 +00:00
Dylan K. Taylor
be0436b2a0 fix consistency check (again) 2019-03-23 19:20:52 +00:00
Dylan K. Taylor
397713247d SeaPickle: fix drops 2019-03-23 19:19:38 +00:00
Dylan K. Taylor
6efdac63d0 added new Wood block 2019-03-23 19:18:25 +00:00
Dylan K. Taylor
06a37cc462 Fixed "wood" collision
why the fuck Mojang...
2019-03-23 19:08:17 +00:00
Dylan K. Taylor
e088da320c ItemEntity: fixed mineWood achievement not working for acacia/dark-oak 2019-03-23 19:06:35 +00:00
Dylan K. Taylor
d51ca0b655 Leaves: use instanceof Wood instead of legacy ID checks 2019-03-23 19:02:07 +00:00
Dylan K. Taylor
a2f42a7016 Updated block/item ID constants from 1.10 2019-03-23 18:54:45 +00:00
Dylan K. Taylor
1e096a408a Cram Nether Portal
again, this is here for the state handling and the implementation is unfinished.
2019-03-23 18:38:14 +00:00
Dylan K. Taylor
74e134136d Make Infested Stone blocks known
this is not remotely a complete implementation, it's just here to make PM aware of these states so that world conversion can be handled correctly. A full implementation will come later.

Any blocks added in this fashion should be marked with a //TODO so future maintainers can find which blocks need work.
2019-03-23 18:28:29 +00:00
Dylan K. Taylor
a8fa8572e1 partial sea pickle implementation 2019-03-23 18:11:27 +00:00
Dylan K. Taylor
3c283aa700 fix consistency check (again) 2019-03-23 15:45:39 +00:00
Dylan K. Taylor
905cb7544a hack in different wood sign types 2019-03-23 15:44:28 +00:00
Dylan K. Taylor
765c5963a8 Block: move a function 2019-03-23 15:01:35 +00:00
Dylan K. Taylor
53bb05a6a7 Fixed different woodtype boats being missing 2019-03-23 14:51:58 +00:00
Dylan K. Taylor
034bd716c8 Clean up WritableBook hierarchy 2019-03-23 14:36:03 +00:00
Dylan K. Taylor
a74a4b579d wtf @sandertv 2019-03-23 12:56:02 +00:00
Dylan K. Taylor
98f56087de make composer happy 2019-03-23 12:53:00 +00:00
Dylan K. Taylor
15c6554d8a Updated RakLib dependency 2019-03-23 12:52:50 +00:00
Dylan K. Taylor
d4fe004375 More consistent fluency in Item API 2019-03-23 12:20:35 +00:00
Dylan K. Taylor
1045088668 Move more packet handling logic out of Player
there is now only (1) packet handler remaining in Player. The reason I haven't targeted this is because it needs improvements of its own.
2019-03-23 12:12:30 +00:00
Dylan K. Taylor
1bc37a1a8a Player: Clean up movement processing, now API-ified 2019-03-23 11:33:32 +00:00
Dylan K. Taylor
9cddfdf8ec Revert "Move core permissions to default_permissions.yml"
This reverts commit 5fac5c72816c6e1b137ca59b14e567a9116c2baa.
2019-03-23 10:41:50 +00:00
Dylan K. Taylor
1d1a416afe Player: Move construction logic to the top 2019-03-23 10:39:19 +00:00
Dylan K. Taylor
f3309d3aec Player: remove some field defaults 2019-03-23 10:29:16 +00:00
Dylan K. Taylor
9ec62643d5 Player construction now happens when we're ready to create the player entity
this fixes a wide range of bugs with the initial spawn sequence, and allows to simplify a whole lot of player setup logic.
2019-03-23 10:13:14 +00:00
Dylan K. Taylor
433dab078b DataPacket events now use network sessions instead of players 2019-03-23 09:52:03 +00:00
Dylan K. Taylor
afbd016611 Server: remove useless function 2019-03-22 19:38:33 +00:00
Dylan K. Taylor
712e077bc1 Server: remove useless debug message
leveldb is now mandatory, so this message will always be emitted.
2019-03-22 19:31:10 +00:00
Dylan K. Taylor
9904810f24 BaseInventory: Remove getDefaultSize()
it's possible to want to initialize dynamically-sized inventories which don't have a default size.
2019-03-22 19:21:41 +00:00
Dylan K. Taylor
60225a378f Player: fixed block-picking logic
this now matches vanilla (with some minor intentional differences) and works in survival.
2019-03-22 18:28:36 +00:00
Dylan K. Taylor
f84a1729c6 Inventory: added swap() function 2019-03-22 18:11:32 +00:00
Dylan K. Taylor
8e48c61daf Merge branch '3.7' 2019-03-22 15:07:46 +00:00
Sandertv
2659ed8d91 AvailableCommandsPacket: Updated the argument type constants for 1.10. (#2824) 2019-03-22 15:07:15 +00:00
Dylan K. Taylor
9b11e39efc use ?? 2019-03-22 15:03:46 +00:00
Dylan T
d03f0aab37
Remove /reload (#2823)
For many years, this has been the cause of many users (particularly plugin devs) confusion. The reality is that /reload has little to no practical value. It does not reload plugin source code (contrary to popular belief).
2019-03-22 15:01:11 +00:00
SOFe
6ec2a69417
Removed .docker/Dockerfile
1. The current Dockerfile is not directly related to the project, but just our very complex highly-coupled full-of-hacks build/release/deploy system.
2. We are no longer using Docker Hub Builder. An internal Dockerfile will be used on our Jenkins server instead, using the correct upstream phar build to prevent race conditions.
2019-03-22 12:51:50 +08:00
Dylan K. Taylor
3dbed830ef Fixed entities not loading on imported MCPE worlds 2019-03-21 20:03:10 +00:00
Dylan K. Taylor
b8d1eb20b0 EntityDeathEvent: add XP amount API, closes #2690 2019-03-21 19:53:14 +00:00
Dylan K. Taylor
89c0836047 Fixed paintings dropping multiple times, closes #2774 2019-03-21 19:46:43 +00:00