Fixed getAxis()/setAxis() not being seen by static analysers for some blocks

when using VanillaBlocks::CHISELED_QUARTZ(), VanillaBlocks::PURPUR_PILLAR() or VanillaBlocks::QUARTZ_PILLAR(), static analysis was unable to detect getAxis() and setAxis(), because these blocks were implemented using anonymous classes.
This commit is contained in:
Dylan K. Taylor
2021-02-06 20:39:23 +00:00
parent 9887138ac1
commit 7c1f0ecb8b
3 changed files with 40 additions and 12 deletions

View File

@ -110,7 +110,7 @@ use function assert;
* @method static CarvedPumpkin CARVED_PUMPKIN()
* @method static ChemicalHeat CHEMICAL_HEAT()
* @method static Chest CHEST()
* @method static Opaque CHISELED_QUARTZ()
* @method static SimplePillar CHISELED_QUARTZ()
* @method static Opaque CHISELED_RED_SANDSTONE()
* @method static Opaque CHISELED_SANDSTONE()
* @method static Opaque CHISELED_STONE_BRICKS()
@ -513,11 +513,11 @@ use function assert;
* @method static GlassPane PURPLE_STAINED_GLASS_PANE()
* @method static Torch PURPLE_TORCH()
* @method static Opaque PURPUR()
* @method static Opaque PURPUR_PILLAR()
* @method static SimplePillar PURPUR_PILLAR()
* @method static Slab PURPUR_SLAB()
* @method static Stair PURPUR_STAIRS()
* @method static Opaque QUARTZ()
* @method static Opaque QUARTZ_PILLAR()
* @method static SimplePillar QUARTZ_PILLAR()
* @method static Slab QUARTZ_SLAB()
* @method static Stair QUARTZ_STAIRS()
* @method static Rail RAIL()