933 Commits

Author SHA1 Message Date
Dylan K. Taylor
f638845ef6 Merge branch '3.7' 2019-03-29 15:16:27 +00:00
Dylan K. Taylor
8e9f787d33 Implement runtimeID table randomization, closes #2841 2019-03-29 14:35:06 +00:00
Dylan K. Taylor
0aebb3f4fb Clean up LevelSoundEvent handling 2019-03-26 19:53:40 +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
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
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
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
1ac255f955 fix some formatting issues 2019-03-21 15:46:07 +00:00
Dylan K. Taylor
2966e87aae BlockFactory: Regenerate TODO list 2019-03-21 14:33:56 +00:00
Dylan K. Taylor
5830ca958b Further out-phasing of legacy ID/meta
this paves the way for making internal IDs fully dynamic.
2019-03-17 16:01:04 +00:00
Dylan K. Taylor
01904adf49 Improve enum implementations, move some components to traits
The reason this uses a trait is because `self` refers to the including class in a trait, which offers a small amount of automatic type safety.
If we had templates or generics, this would be a generic class instead.
2019-03-13 15:10:31 +00:00
Dylan K. Taylor
7f4b76aa86 Implemented blue ice 2019-03-12 19:38:03 +00:00
Dylan K. Taylor
48427290c9 Regenerated BlockFactory TODOs 2019-03-10 19:53:55 +00:00
Dylan K. Taylor
437750785f Implemented barrier block 2019-03-10 19:53:55 +00:00
Dylan K. Taylor
c2a069afd3 Implemented a bunch of new wood blocks 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
6fe366e1ac Added some missing block properties 2019-03-09 16:49:37 +00:00
Dylan T
8f1bc5d497
Flatten wall_banner and wall_sign into single blocks (#2798)
This comes with some problems, but the problems are more bearable than the previous code.
2019-03-08 16:37:26 +00:00
Dylan K. Taylor
2b6a62be77 Fixed BlockFactory corruption with signs and banners 2019-03-05 15:32:06 +00:00
Dylan K. Taylor
5017e61cb2 ItemFrame: fixed cloning null 2019-03-03 21:12:52 +00:00
Dylan K. Taylor
6c8fa8ae28 More nullable and void typehints 2019-03-02 10:29:11 +00:00
Dylan K. Taylor
418d0f12fb Slab: placement logic clean up
past me was full of shit, because blockReplace is the same as blockClicked when we click a single slab top/bottom to make a double slab, and the logic is identical to the below block with that in mind.
2019-03-01 19:15:24 +00:00
Dylan K. Taylor
d961b272c7 Remove Tool <-> Block circular dependency in efficiency calculation 2019-03-01 18:18:56 +00:00
Dylan K. Taylor
e9125af51d Revamp Banner API (still rather ghetto)
this needs more work, like signs do.
2019-03-01 17:57:07 +00:00
Dylan K. Taylor
80ac0180b3 Remove redundant isAffectedBySilkTouch() overrides
this was needed previously to prevent dropping blockitems when these blocks were destroyed. Now the item form is always yielded instead.
2019-03-01 13:34:32 +00:00
Dylan K. Taylor
741d061415 NoteBlock: added //TODO 2019-02-28 19:59:33 +00:00
Dylan K. Taylor
943906cc6b Partial comparator implementation
this supports placement, toggling compare/subtract mode, simple stuff. No redstone functionality yet.
This is needed for blockstate mapping in blockfactory.
2019-02-28 19:26:47 +00:00
Dylan K. Taylor
7b23baa020 FlowerPot: yield contained plant when block-picking 2019-02-28 17:49:48 +00:00
Dylan K. Taylor
97a1d997e8 ItemFrame: yield framed item when block-picking, fixes [1] in #2706 2019-02-28 17:47:32 +00:00
Dylan K. Taylor
d679fb7546 Block: Rename onActivate() -> onInteract() 2019-02-28 17:35:30 +00:00
Dylan K. Taylor
08e799c35a Once again... add a missing file... 2019-02-28 17:14:04 +00:00
Dylan K. Taylor
5cca4b5e31 Revamp Sign API, flatten API into blocks 2019-02-28 17:10:37 +00:00
Dylan K. Taylor
fb02071a9d Traits suck. Fixed missed getDamage() from 9ad0ea85c7caeea065ccfadf3bd12bd97cc5f0b6 2019-02-27 16:50:51 +00:00
Dylan K. Taylor
08673172c7 Grass: Avoid usage of meta 2019-02-27 13:03:23 +00:00
Dylan K. Taylor
9ad0ea85c7 Rename two misleadingly-named functions 2019-02-27 12:59:12 +00:00
Dylan K. Taylor
440dd21550 Merge branch '3.6' 2019-02-26 19:59:24 +00:00
Dylan K. Taylor
6c92a2e88b Ladder: be more strict about resetting fall distance
closes #2790
2019-02-26 19:54:57 +00:00
Dylan K. Taylor
97deadc59f PackedIce: fixed dropping without silk touch, closes #2789 2019-02-26 19:48:18 +00:00
Dylan K. Taylor
ceaf969203 EnderChest: fix hierarchy 2019-02-26 19:41:56 +00:00
Dylan K. Taylor
cb91afcc00 Added SkullType enum, some cleanup to skull handling
this is still more ugly than I'd like it to be because of the way the blockfactory currently works.
2019-02-26 18:27:30 +00:00