818 Commits

Author SHA1 Message Date
Dylan K. Taylor
8dc0d506f4
Merge branch 'next-minor' into next-major 2022-10-11 22:29:21 +01:00
Dylan K. Taylor
6ae7cb288e
Merge remote-tracking branch 'origin/stable' into next-minor 2022-10-11 21:59:40 +01:00
Dylan K. Taylor
1c6a2b66f7
Merge remote-tracking branch 'origin/next-minor' into next-major 2022-09-29 22:38:26 +01:00
Dylan K. Taylor
0edf2ea6a4
ConcretePowder: fix CS 2022-09-29 21:50:15 +01:00
Dylan K. Taylor
2be527060f
Sign: Fixed desync of colour and glowing state when using dye on signs
fixes #4932
2022-09-28 23:34:08 +01:00
Dylan K. Taylor
6f68c6d8a0
Melon: extend Solid instead of Transparent, fixes #5050 2022-09-28 23:07:53 +01:00
ShockedPlot7560
22486dd75e
Mushroom: check the light for placement, unless placed on mycelium or podzol (#5054)
The previous behaviour was inconsistent with vanilla.
2022-09-28 18:41:23 +01:00
Alexey
383dc2a2b9
Fix the copper block scrape sound (#5147)
Co-authored-by: Dylan T <dktapps@pmmp.io>
2022-09-28 18:18:53 +01:00
ShockedPlot7560
1c7b1e9e5d
Fix sugarcane behaviour on fertilizers (#4930) 2022-09-28 16:38:24 +01:00
Dylan K. Taylor
ab0202ba29
Block: correct documentation for getIdInfo() on PM5 2022-09-24 18:14:18 +01:00
Dylan K. Taylor
9295afe8b9
Merge branch 'next-minor' into next-major 2022-09-24 18:12:38 +01:00
Dylan K. Taylor
a7dfa0907c
Merge branch 'stable' into next-minor 2022-09-24 18:07:56 +01:00
Dylan K. Taylor
f448b2e685
Block: Improve documentation for a whole bunch of methods 2022-09-24 18:06:46 +01:00
Dylan K. Taylor
6a0c54f850
Block: Relocate and document addVelocityToEntity()
maybe we should consider merging this with onEntityInside(), since they are both called for the same reasons? ...
2022-09-24 17:32:02 +01:00
Dylan K. Taylor
77a18d0aea
Block: add documentation for getFrictionFactor()
has no one ever questioned the fact that a higher _friction_ factor _reduces_ the block's friction???
2022-09-24 17:05:38 +01:00
Dylan K. Taylor
140a809c40
Block: improve documentation of hasEntityCollision() and onEntityInside() 2022-09-24 17:04:42 +01:00
Dylan K. Taylor
cb7c136035
Added documentation for some base Block classes 2022-09-24 16:54:21 +01:00
Alexey
2a982d48ad
Do not always make the coral dead immediately after placement (#5149) 2022-09-17 17:48:23 +01:00
Dylan K. Taylor
f80ffd8de0
Merge branch 'next-minor' into next-major 2022-09-15 13:59:21 +01:00
Dylan K. Taylor
441b06f6c7
Merge branch 'stable' into next-minor 2022-09-15 12:44:53 +01:00
Dylan K. Taylor
88eafdd614
Improve type info for RegistryTrait::getAll() and its users 2022-09-02 19:57:22 +01:00
Dylan K. Taylor
f88c4d9a8c
Remove more unnecessary local static variable usages
these are never mutated. Local constants would be better, if we had those.
2022-09-02 19:19:04 +01:00
Dylan K. Taylor
d72e947d15
BlockFactory: avoid unnecessary local static variable usage
phpstan treats these as always mixed, because it can't be sure what their types will be.
2022-09-02 19:14:35 +01:00
Dylan K. Taylor
85678aa356
phpstan 1.8.3 2022-09-02 18:28:33 +01:00
ShockedPlot7560
a25cb3741a
Limit valid supporting blocks of dead bush (#5055) 2022-08-31 02:18:18 +01:00
Dylan K. Taylor
4bd2325828
Remove obsolete TreeType magic numbers 2022-08-26 17:07:35 +01:00
Dylan K. Taylor
d4c4ae3d7a
Merge branch 'next-minor' into next-major 2022-08-25 19:27:29 +01:00
Dylan K. Taylor
c16893cbac
Merge branch 'stable' into next-minor 2022-08-25 19:25:19 +01:00
ipad54
709a869045
Vines can now only be placed on full cube blocks (#5053)
fixes #2673
2022-08-21 21:04:24 +01:00
Dylan K. Taylor
fc8434308b
SignText: changed misleading documentation
this looks like a leftover from the days when sign text was handled by the tile directly
2022-08-21 20:45:23 +01:00
alvin0319
fedd541663
Dye now can be used to change Sign text color (#4690) 2022-08-21 20:05:09 +01:00
Dylan K. Taylor
1ecb10acba
Merge branch 'next-minor' into next-major 2022-08-21 19:19:07 +01:00
Dylan K. Taylor
ad2d59923c
Merge branch 'stable' into next-minor 2022-08-18 17:06:15 +01:00
Dylan K. Taylor
6e8f11d5e8
UnknownBlock: fixed type data encoding 2022-08-16 17:42:18 +01:00
ShockedPlot7560
8fa81242d6
Sugarcane: fixed support conditions (#5052) 2022-08-15 17:08:26 +01:00
IvanCraft623
223de3ad23
Implement Fire Charge (#5225) 2022-08-15 17:00:58 +01:00
Colin
304bb84af2
BlockFormEvent: Added getCausingBlock() method (#5226) 2022-08-15 16:26:48 +01:00
Dylan K. Taylor
d4f96a155a
Support axis rotation of Muddy Mangrove Roots (implemented in 1.19.20) 2022-08-14 18:53:01 +01:00
Colin
bf4f6e5d53
Bamboo: fixed supporting block requirements (#5196) 2022-08-14 17:37:55 +01:00
IvanCraft623
f1c571a528
WaterCauldron: fixed dye not being cleared when using water bottles or buckets, close #5221 (#5222) 2022-08-12 21:10:31 +01:00
Colin
723ae9eca0
Fixed tallgrass being unplaceable since d9b050fb688155ec962f574388eb48342fc8f9d1 (#5197) 2022-07-27 02:43:05 +01:00
Dylan K. Taylor
79125b8426
Added APIs to get a new unique block/item type ID
this centralization is needed to avoid conflicts between different plugins fighting over the same hardcoded IDs.
2022-07-24 22:02:47 +01:00
Dylan K. Taylor
e3640907ba
fix PHPStan 2022-07-24 00:14:17 +01:00
Dylan K. Taylor
d9b050fb68
First look at using (very) basic tags for dynamic block properties
this allows plugins to, for example, add their own custom dirt-like blocks which support having flowers placed on them.
2022-07-24 00:08:02 +01:00
Dylan K. Taylor
817591910b
Fix CS 2022-07-23 21:01:49 +01:00
Dylan K. Taylor
6a2315a63d
Accept BlockTypeInfo in Block constructor, instead of BlockBreakInfo
this will allow more stuff to be passed via the constructor without having to change dozens of classes to do it.
2022-07-23 20:42:54 +01:00
Dylan K. Taylor
89b784734e
Fixed crimson/warped planks being usable as furnace fuel 2022-07-23 18:45:57 +01:00
Dylan K. Taylor
b751207969
Added missing blast resistance to Crying Obsidian 2022-07-23 18:24:09 +01:00
Dylan K. Taylor
cffa3b8a72
Reduce BlockBreakInfo code width further by specializing for common tool types
this considerably reduces width and makes adding new stuff much less irritating.
2022-07-23 18:21:04 +01:00
Dylan K. Taylor
91e91b1d9f
Reduce code width when tool tiers are given to BlockBreakInfo
this is the majority of uses of harvest level
2022-07-23 17:56:08 +01:00