Dylan K. Taylor
1bf0802275
LevelEventPacket: added create() to reduce boilerplate code
2019-03-26 16:49:00 +00:00
Dylan K. Taylor
7333e7118e
Server: remove useless function
2019-03-26 15:52:34 +00:00
Dylan K. Taylor
c98801402b
Network: silence unhandled packet message on bad raw packet
2019-03-26 15:13:36 +00:00
Dylan K. Taylor
a9c76c2424
NetworkInterface: remove unused function
2019-03-26 15:09:43 +00:00
Dylan K. Taylor
161d5bd6b8
Merge branch '3.7'
2019-03-26 15:02:17 +00:00
Dylan K. Taylor
89833b3b68
Merge branch '3.6' into 3.7
2019-03-26 15:01:59 +00:00
Dylan K. Taylor
a10a656a5d
Network: add a README to mcpe namespace
2019-03-26 15:01:00 +00:00
Dylan K. Taylor
01e048c4d1
Move networkStart message to where we actually start network
...
i.e. the point at which a normal user can reasonably expect to be able to connect to the server ...
2019-03-26 14:07:32 +00:00
Dylan K. Taylor
ca22223b62
PlayerDeathEvent: fixed constructor signature, closes #2835
...
can we ban multi-type parameters already? this is tiresome...
2019-03-25 14:55:25 +00:00
Dylan K. Taylor
999174b0a7
Server: Delay RakLib start until after world loading
...
fixes #2816
2019-03-25 14:49:12 +00:00
Dylan K. Taylor
0811ce81e5
Query: remove useless noise
...
why do we need 3 log messages for something that does ... basically nothing?
2019-03-24 19:53:20 +00:00
Dylan K. Taylor
23071d257e
Extract process-related functions from Utils into a separate Process class
2019-03-24 18:57:32 +00:00
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