9200 Commits

Author SHA1 Message Date
Dylan K. Taylor
7d594ac6d8 Merge branch 'release/3.4' 2018-12-09 19:28:52 +00:00
Dylan K. Taylor
f704061618 Tree: fixed being able to overwrite other trees
this was observable by planting a sapling underneath an existing tree and punching it with bone meal.

This change will also prevent trees generating too close together.
2018-12-09 19:26:48 +00:00
Dylan K. Taylor
7f0667a1f0 Merge branch 'release/3.4' 2018-12-09 15:36:23 +00:00
Dylan K. Taylor
23dc6e09d8 Sync DevTools submodule 2018-12-09 15:34:06 +00:00
Dylan K. Taylor
9fed25d3a5 Merge branch 'release/3.4' 2018-12-08 17:08:25 +00:00
Dylan K. Taylor
15b7fc978e 3.4.2 is next 2018-12-08 17:00:36 +00:00
Dylan K. Taylor
bb396174ba Release 3.4.1 3.4.1 2018-12-08 17:00:07 +00:00
Dylan K. Taylor
dcef3cba21 CrashDump: cleanup some version related stuff
this should have been done a long time ago, but we didn't want to cause compatibility problems with CA. Now it enforces version checks, this isn't a problem anymore.
2018-12-08 16:58:06 +00:00
Dylan K. Taylor
5f8a9f8747 Add a new format_version field to crashdumps
this will be used in the future to allow CA to decide how to decode crashdumps and/or refuse crashdumps from incompatible versions.
2018-12-08 16:57:57 +00:00
Dylan K. Taylor
8dbeda69a7 Make use of Facing::rotateY() to reduce boilerplate 2018-12-07 10:49:12 +00:00
Dylan K. Taylor
1cac2b098e Merge branch 'release/3.4' 2018-12-06 21:08:47 +00:00
Dylan K. Taylor
84e41e6967 3.4.1 is next 2018-12-06 21:01:57 +00:00
Dylan K. Taylor
5e0e0daf7d Release 3.4.0 3.4.0 2018-12-06 20:45:57 +00:00
Dylan K. Taylor
39e383a175 Entity: add getHorizontalFacing(), clean up some boilerplate code 2018-12-05 20:27:43 +00:00
Dylan K. Taylor
f60d13548e Fix another stupid recursion bug 2018-12-05 20:10:00 +00:00
Dylan K. Taylor
c53d3c28fb Register a couple of simple missing redstone blocks 2018-12-05 19:11:54 +00:00
Dylan K. Taylor
281d8fd813 Redstone torch is lit by default 2018-12-05 15:07:18 +00:00
Dylan K. Taylor
2014ebccd8 Make state setters fluent, clean up some BlockFactory noise 2018-12-05 15:03:59 +00:00
Dylan K. Taylor
ceef3110d7 Remove dead function 2018-12-05 14:09:19 +00:00
Dylan K. Taylor
cd5b81bdb9 ChunkManager: Remove getBlockIdAt()/setBlockIdAt()/getBlockDataAt()/setBlockDataAt(), add getBlockAt() and setBlockAt() 2018-12-04 22:27:00 +00:00
Dylan K. Taylor
8dd2ea22b8 Level: make use of fromFullState() in getBlockAt() 2018-12-04 22:05:00 +00:00
Dylan K. Taylor
47e62b1b38 Level: Add setBlockAt() which accepts integers instead of Vector3 2018-12-04 21:59:58 +00:00
Dylan K. Taylor
b50e29085e Remove InventoryEventProcessor, use closures instead 2018-12-04 19:02:26 +00:00
Dylan K. Taylor
05e968d9fd Merge branch 'release/3.4' 2018-12-04 18:40:54 +00:00
Dylan K. Taylor
a95694ed06 Add signature validation for some user-defined callbacks 2018-12-04 18:33:58 +00:00
Dylan K. Taylor
762405d16a Add daverandom/callback-validator as a dependency 2018-12-04 17:14:37 +00:00
Dylan K. Taylor
bfe766e626 oops, a merge error 2018-12-04 13:22:29 +00:00
Dylan K. Taylor
8fc11c6ce0 Merge remote-tracking branch 'origin/release/3.4' 2018-12-04 13:18:56 +00:00
Dylan T
e3f46987f5
Liquid: Add events to allow controlling flow and fusion (#2547) 2018-12-04 13:14:22 +00:00
Dylan K. Taylor
8051fa4f6d Remove some direct Position->level accesses 2018-12-03 21:39:17 +00:00
Dylan K. Taylor
9fb365306a Make Block->position() accept Level,x,y,z instead of Position
since this is an internal method, it doesn't make sense to force a single parameter that requires potentially constructing a separate object just for the parameters, so we pass primitives instead, which are also easier to typehint against.
2018-12-03 21:18:22 +00:00
Dylan K. Taylor
c3623478c1 Merge branch 'release/3.4' 2018-12-03 18:33:44 +00:00
Dylan K. Taylor
e4223bb7dc Level: Duct tape fix for crashy trees at the top of the world
this doesn't fix shit but it at least doesn't crash. Fixing this properly can't be effectively done any other way without backwards compatibility breaks. Fortunately it's not common practice to grow trees at the top of the world.
2018-12-03 18:30:27 +00:00
Dylan K. Taylor
302c509b9f Merge branch 'release/3.4' 2018-12-03 16:17:26 +00:00
Dylan K. Taylor
f091446ec7 Sync NBT dependency 2018-12-03 16:15:02 +00:00
Dylan K. Taylor
df9534e220 Merge branch 'release/3.4' 2018-12-02 16:44:03 +00:00
Dylan K. Taylor
b0f891081c Mark EXHAUSTION as non-syncable
this attribute is not visible on the client and is only used for controlling saturation depletion. It's extremely spammy and as such really shouldn't be sent over network. This has also been causing some minor client-side performance issues in survival.
2018-12-02 16:43:00 +00:00
Dylan K. Taylor
5936205760 Merge branch 'release/3.4' 2018-12-01 16:51:32 +00:00
Dylan K. Taylor
acd7c9b336 Permission: Throw exception on unknown values in getByName()
Previously, writing wrong values into plugin.yml for permission defaults would cause the permission to be silently denied to everyone.
2018-12-01 15:56:44 +00:00
Dylan K. Taylor
206f913d2b Merge branch 'release/3.4' 2018-12-01 10:10:52 +00:00
Dylan K. Taylor
75482124f2 Merge branch 'release/3.3' into release/3.4 2018-12-01 10:09:46 +00:00
Dylan K. Taylor
288599cbe7 3.3.5 is next 2018-12-01 10:00:59 +00:00
Dylan K. Taylor
aa7206126a Release 3.3.4 3.3.4 2018-12-01 10:00:38 +00:00
Dylan K. Taylor
1a6db1c7ce DataPacket: add missing field
this must have been missing for how many years now? thanks @shoghicp

this is why we don't do releases on friday night... in my defence my device had the beta installed...
2018-12-01 09:29:53 +00:00
Dylan K. Taylor
f1c071ce7f Release 3.3.3 3.3.3 2018-11-30 19:41:36 +00:00
Dylan K. Taylor
e2f46a4358 Remove unused import... 2018-11-30 19:40:35 +00:00
Dylan K. Taylor
c46475ac4a Merge branch 'release/3.4' 2018-11-30 19:28:06 +00:00
Dylan K. Taylor
36c0c350a7 Merge branch 'release/3.3' into release/3.4 2018-11-30 18:37:28 +00:00
Dylan K. Taylor
4c08a05fae Barf on trying to read/write nonexisting fields of packets
this should make it easier to debug problems when content of packets changes during protocol updates.
2018-11-30 18:36:28 +00:00
Dylan K. Taylor
16006f9175 Make Tile constructors non-dependent on NBT 2018-11-30 17:05:36 +00:00