Commit Graph

10177 Commits

Author SHA1 Message Date
49a6821195 fix @return hints on Item fluent methods 2019-07-16 18:06:21 +01:00
8f64d6b053 Don't mess with NBT when creating signed books 2019-07-16 17:59:39 +01:00
73a847123b WritableBookBase: Make setPages() fluent 2019-07-16 17:59:01 +01:00
3d0e47ba14 WritableBookBase: Don't expose page deque on the API
putting this stuff on the API creates a nightmare because DS structures are both mutable and by-reference, so they have to be manually copied everywhere.
2019-07-16 17:52:58 +01:00
27352486a0 Remove item NBT runtime usage, marginalize to serialize/deserialize
this is a more tame version of my initial attempt to firehose item NBT. It marginalizes the use of item NBT to the places where it's needed on interfaces, leaving the internals clean to operate on whatever they like.
2019-07-16 16:51:45 +01:00
d624c38ab1 Remove dead proxy functions Item::get(), Block::get() and Item::fromString()
with the introduction of the VanillaBlocks and VanillaItems API, it's expected that plugins will no longer need these methods.
2019-07-16 14:31:04 +01:00
52de5a6e49 Removed remaining usages of Item::get() 2019-07-16 14:27:32 +01:00
484f2f43c0 fixed merge error, close #3030 2019-07-14 19:29:16 +01:00
0ba3121c43 Merge branch 'stable' 2019-07-14 19:19:33 +01:00
64fbf5025a 3.9.2 is next 2019-07-14 19:10:29 +01:00
aaa01bb6f8 Release 3.9.1 3.9.1 2019-07-14 19:10:29 +01:00
50d71809e1 Entity: fixed onfire flag being set when setting fire ticks to zero, closes #3031 2019-07-14 19:03:06 +01:00
6839712394 added new PlayerActionPacket constant, silence debug noise every time a player clicks a block 2019-07-14 17:30:37 +01:00
9b5ae7ec75 regenerate LevelSoundEventPacket sound IDs 2019-07-14 17:28:29 +01:00
94eb64c2be 1.12: fix resource packs, closes #3023 2019-07-14 17:22:44 +01:00
3fae57508b update particle ids 2019-07-13 20:08:17 +01:00
f637f14e4a VanillaItems: fixing gold -> golden 2019-07-13 19:24:17 +01:00
1391e4826f ItemFactory: fix name consistency gold -> golden, close #3020 2019-07-13 19:21:00 +01:00
544bbf849d Merge branch 'stable' 2019-07-13 18:17:04 +01:00
a883c35fd0 clean up yesterday's mess 2019-07-13 18:15:14 +01:00
6a93eb8361 Merge branch 'stable' 2019-07-13 18:08:45 +01:00
740398282f [ci skip] added some detail about packet changes in 3.9.0 release 2019-07-13 15:35:00 +01:00
9d14bc54d6 3.9.1 is next 2019-07-12 19:03:24 +01:00
bd69c66d03 Release 3.9.0 3.9.0 2019-07-12 19:03:23 +01:00
c58a1bf9b7 Protocol changes for 1.12.0.28 2019-07-12 19:00:15 +01:00
59c310b914 unfuck the make-release script 2019-07-12 18:59:54 +01:00
790fcc4ebb Release 3.8.7 3.8.7 2019-07-12 18:20:47 +01:00
5430f19e7a make-release: allow specifying a version number explicitly 2019-07-12 18:18:26 +01:00
12ee885432 Bookshelf: fix drop count 2019-07-11 14:14:01 +01:00
39bcd2ec3d added VanillaItems static interface and start using it where possible 2019-07-10 14:44:55 +01:00
e8fe3d0664 Replace some ItemFactory blockitem fetches with VanillaBlocks::THING()->asItem() 2019-07-09 18:30:02 +01:00
41705db687 fix banner block picking 2019-07-09 18:21:08 +01:00
08e1f6405c implemented Carved Pumpkin 2019-07-09 17:56:09 +01:00
b6efb33b91 improved VanillaBlocks registry 2019-07-09 17:33:00 +01:00
c07396442c Merge branch 'stable' 2019-07-09 15:57:02 +01:00
1cf4cf8614 Fixed decoding entries in SetScorePacket
closes #3000
2019-07-09 15:49:24 +01:00
5f959a148f chunkutils: remove dead legacy code 2019-07-09 14:44:01 +01:00
5a2e84eb9f LightArray: added fill(), remove duplicated code 2019-07-09 13:49:54 +01:00
4264923f4f SubChunk: get rid of dead light getters and setters
these were here for fast access, but that fast access path now goes through getBlock(Sky)LightArray() instead.
2019-07-09 13:43:01 +01:00
c1212eab8e EmptySubChunk: get rid of useless allocations 2019-07-09 13:38:26 +01:00
bda9bd2f2d Merge branch 'experimental/vanilla-block-registry' 2019-07-08 19:38:09 +01:00
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
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
c42817f02f optimizing lighting performance a little 2019-07-08 15:39:57 +01:00
007aee72f8 SubChunk: remove BlockLegacyIds dependency, allow parameterising default block 2019-07-08 15:01:11 +01:00
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
cdab3e967a Extract a LightArray unit from SubChunk 2019-07-08 14:37:48 +01:00
55cccff850 Player: fixed documentation of isValidUserName()
[ci skip]
2019-07-07 23:50:59 +01:00
03e70e68f4 Player: fixed documentation of getDisplayName()
[ci skip]
2019-07-07 23:49:11 +01:00
2cab22fd38 Merge branch 'stable' 2019-07-07 18:10:19 +01:00