Add support for 1.20.3 and 1.20.4 (#2512)

* 1.20.3

* 1.20.3 ItemTypes

* 1.20.3

* 1.20.3

* 1.20.4

* Fixup refractions

* Move adapters to _4
This commit is contained in:
Alexander Brandes
2023-12-08 07:30:08 +01:00
committed by GitHub
parent ea6138ce1f
commit 605743321f
28 changed files with 8673 additions and 9 deletions

View File

@ -86,6 +86,11 @@ public class MultiStageReorder extends AbstractBufferingExtent implements Reorde
priorityMap.put(BlockTypes.WHITE_BED, PlacementPriority.LAST);
priorityMap.put(BlockTypes.YELLOW_BED, PlacementPriority.LAST);
priorityMap.put(BlockTypes.GRASS, PlacementPriority.LAST);
// Keep "grass" for <1.20.3 compat
@SuppressWarnings("deprecation")
BlockType grass = BlockTypes.GRASS;
priorityMap.put(grass, PlacementPriority.LAST);
priorityMap.put(BlockTypes.SHORT_GRASS, PlacementPriority.LAST);
priorityMap.put(BlockTypes.TALL_GRASS, PlacementPriority.LAST);
priorityMap.put(BlockTypes.ROSE_BUSH, PlacementPriority.LAST);
priorityMap.put(BlockTypes.DANDELION, PlacementPriority.LAST);