Bassebombecraft

Bassebombecraft

18.5k Downloads

GitHub action compile error: actual and formal argument lists differ in length

Closed this issue ยท 1 comments

commented

Error:

> Task :compileJava
		BlockDirective directive = getInstance(target, blockstate.getBlock(), DONT_HARVEST, world);
		                           ^
  required: BasicParticleType,int,int,float,float,float,double
  found: BlockPos,Block,boolean,World
  reason: actual and formal argument lists differ in length
/home/runner/work/bassebombecraft/bassebombecraft/src/main/java/bassebombecraft/item/action/mist/block/RainbowSpiralMist.java:52: error: method getInstance in class DefaultParticleRenderingInfo cannot be applied to given types;
		BlockDirective directive = getInstance(target, woolBlock.getBlock(), DONT_HARVEST, world);
		                           ^
  required: BasicParticleType,int,int,float,float,float,double
  found: BlockPos,Block,boolean,World
  reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.
> Task :compileJava FAILED
commented

Resolved with commit: 52ae76b