10135 Commits

Author SHA1 Message Date
Dylan K. Taylor
bda9bd2f2d Merge branch 'experimental/vanilla-block-registry' 2019-07-08 19:38:09 +01:00
Dylan K. Taylor
9ef5f9518c generator: prevent access to chunks that don't exist on this thread
the generator shouldn't be creating chunks that it wasn't given.
2019-07-08 18:29:19 +01:00
Dylan K. Taylor
fe3a4baddb added StairShape enum
this has no practical value to plugins yet, but it will in the future.
2019-07-08 18:08:52 +01:00
Dylan K. Taylor
c42817f02f optimizing lighting performance a little 2019-07-08 15:39:57 +01:00
Dylan K. Taylor
007aee72f8 SubChunk: remove BlockLegacyIds dependency, allow parameterising default block 2019-07-08 15:01:11 +01:00
Dylan K. Taylor
4e2f430f06 shift default left instead of set value right
don't remove metadata bits for block comparison, because they could be part of the ID.
2019-07-08 14:53:19 +01:00
Dylan K. Taylor
cdab3e967a Extract a LightArray unit from SubChunk 2019-07-08 14:37:48 +01:00
Dylan K. Taylor
2cab22fd38 Merge branch 'stable' 2019-07-07 18:10:19 +01:00
Dylan K. Taylor
7c52b4c93d make-release: added a missing newline 2019-07-07 18:02:25 +01:00
Dylan K. Taylor
3f31dbde57 3.8.7 is next 2019-07-07 17:49:37 +01:00
Dylan K. Taylor
1bfd6f2a90 Release 3.8.6 3.8.6 2019-07-07 17:49:37 +01:00
Dylan K. Taylor
c7a5b8b0b4 Fixed noDamageTicks not preventing damage when last damage cause is null
noDamageTicks should make the entity completely invulnerable while active.
2019-07-07 17:37:52 +01:00
Dylan K. Taylor
11fc16617a Liquid: fix max cost calculation for flow direction search, closes #2995 2019-07-07 14:32:52 +01:00
Dylan K. Taylor
f9bfaa0c6a Merge branch 'stable' 2019-07-06 19:41:00 +01:00
Dylan K. Taylor
77a4393c7b Fixed possible out-of-bounds access on corrupted playerdata when loading inventory contents 2019-07-06 19:39:07 +01:00
Dylan K. Taylor
5274a0fe3c Extract an ExperienceManager unit from Human 2019-07-06 19:31:39 +01:00
Dylan K. Taylor
da0358529a Extract a HungerManager unit from Human 2019-07-06 18:50:34 +01:00
Dylan K. Taylor
4d7c18f65b first look at a giant static interface for block fetching 2019-07-06 17:29:40 +01:00
Dylan K. Taylor
119cb083bf [ci skip] update changelog 2019-07-06 15:22:27 +01:00
Dylan K. Taylor
5c25f770c2 World: reduce legacy id/meta dependencies 2019-07-06 15:21:45 +01:00
Frago9876543210
f3995f7cb0 Destroy EffectManager <-> Living cyclic reference on close (#2993) 2019-07-06 15:18:09 +01:00
Dylan K. Taylor
a2bb6a41d9 World: some cleanup to random blocktick registry 2019-07-06 15:16:03 +01:00
Dylan K. Taylor
ce77e283ab Revert "fix race condition between chunk generation and light population"
This reverts commit 80747814fb769d5cbed2ea6a351ef218c9f9b0c9.
2019-07-05 19:56:58 +01:00
Dylan K. Taylor
13de99315b fixed some artifacts getting cut in half 2019-07-05 19:56:31 +01:00
Dylan K. Taylor
80747814fb fix race condition between chunk generation and light population 2019-07-05 19:40:33 +01:00
Dylan K. Taylor
bda3631c24 Merge branch 'stable' 2019-07-05 19:21:49 +01:00
Dylan K. Taylor
f714ed6e90 Generator: fixed incorrect negative seed parsing in convertSeed() 2019-07-05 19:20:21 +01:00
Dylan K. Taylor
124640737a Explosion: make use of fromFullBlock()
this is in preparation for out-phasing legacy IDs.
2019-07-05 17:58:15 +01:00
Dylan K. Taylor
ceeed57118 Player: remove iusername premature optimization 2019-07-05 17:28:37 +01:00
Dylan K. Taylor
45b0cbc796 Human: remove getRawUniqueId() premature optimization
this is never used in a hot path and presents a potential for inconsistency.
2019-07-05 17:17:48 +01:00
Dylan K. Taylor
2e01bd1029 cleanup imports from f356bf0893959808ec65c39fd66f562bd7da4790 2019-07-05 16:34:22 +01:00
Dylan K. Taylor
77919b70b2 Stop cloning Color objects
since these are now immutable, there's no need to clone them.
2019-07-05 16:20:56 +01:00
Dylan K. Taylor
f356bf0893 Extracted an EffectManager unit from Living 2019-07-05 16:15:58 +01:00
Dylan K. Taylor
fe850a184c deal with fern mapping properly 2019-07-05 15:14:03 +01:00
Dylan K. Taylor
2bd2e1125c Block: don't be stupid in getSide() 2019-07-05 15:04:13 +01:00
Dylan K. Taylor
b021cc2138 ItemFactory: add PhpDoc for getAllRegistered() 2019-07-05 13:46:06 +01:00
Dylan K. Taylor
453c5a329d Tile: remove useless code 2019-07-05 13:41:18 +01:00
Dylan K. Taylor
ceb6529ee3 encapsulate light recalculation logic inside LightUpdate classes
now we can do a standard light recalculation from anywhere.
2019-07-04 19:55:48 +01:00
Dylan K. Taylor
3d118a415c Merge branch 'stable' 2019-07-04 18:48:53 +01:00
Dylan K. Taylor
7fc45bc5c3 partial fix for #2986 2019-07-04 18:18:42 +01:00
Dylan K. Taylor
3bdf740597 formatting 2019-07-04 18:04:23 +01:00
Dylan K. Taylor
9ed13bf112 Color: make use of intdiv() 2019-07-04 18:03:45 +01:00
Dylan K. Taylor
a125980ada utils: Color is now immutable
as is always the case with mutability, allowing this creates lots of complications that aren't worth the hassle.
2019-07-04 18:00:48 +01:00
Dylan T
062e692069
AAAAAAAAAAAAAAAAAAAA 2019-07-03 20:02:33 +01:00
Dylan K. Taylor
1d96c1810f wtf PhpStorm 2019-07-03 19:20:24 +01:00
Dylan K. Taylor
4c5d8c12dd [ci skip] more updates to changelog 2019-07-03 18:32:20 +01:00
Dylan K. Taylor
134a87ec7d BlockFactory: regenerate TODOs 2019-07-03 18:26:01 +01:00
Dylan K. Taylor
ee885bb725 shorten BlockToolType constants 2019-07-03 17:57:11 +01:00
Dylan K. Taylor
85051554c4 disallow logins from players with phony XUIDs
this simplifies XUID handling.
2019-07-03 16:47:02 +01:00
Dylan K. Taylor
e07523056d Merge branch 'stable' 2019-07-03 16:35:29 +01:00