如题,注入的方法返回值用private的构造器构造了含有this值的内容
return new GeneratorOptions(seed.orElse(getRandomSeed()), this.generateStructures, this.bonusChest, this.legacyCustomOptions);
虽然网上的教程里有提到@shadow
但是我试了一下idea报错说找不到
请问这里具体应该怎么写?
return new GeneratorOptions(seed.orElse(getRandomSeed()), this.generateStructures, this.bonusChest, this.legacyCustomOptions);
虽然网上的教程里有提到@shadow
但是我试了一下idea报错说找不到
请问这里具体应该怎么写?