Remove jang lang import.

This commit is contained in:
Articdive 2021-06-04 08:51:40 +02:00
parent c2fd4ace93
commit 8445898663
No known key found for this signature in database
GPG Key ID: B069585F0F7D90DE
469 changed files with 7 additions and 470 deletions

View File

@ -105,7 +105,7 @@ public final class BlockGenerator extends MinestomCodeGenerator {
);
blockClass.addField(
FieldSpec.builder(TypeName.BOOLEAN, "singleState")
.addModifiers(Modifier.PRIVATE, Modifier.FINAL).build()
.addModifiers(Modifier.PRIVATE, Modifier.FINAL).build()
);
blockClass.addField(
FieldSpec.builder(ParameterizedTypeName.get(ClassName.get("java.util", "List"), blockAltClassName), "alternatives")
@ -388,7 +388,12 @@ public final class BlockGenerator extends MinestomCodeGenerator {
staticBlock.addStatement("$T.initStates()", blockStateSpecificClassName);
// Add BlockStates to list of files we need to write:
filesToWrite.add(JavaFile.builder("net.minestom.server.instance.block.states", blockStateSpecificClass.build()).indent(" ").build());
filesToWrite.add(
JavaFile.builder("net.minestom.server.instance.block.states", blockStateSpecificClass.build()
)
.indent(" ")
.skipJavaLangImports(true)
.build());
}
}
blockClass.addStaticBlock(staticBlock.build());

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

View File

@ -1,6 +1,5 @@
package net.minestom.server.instance.block.states;
import java.lang.Deprecated;
import net.minestom.server.instance.block.Block;
import net.minestom.server.instance.block.BlockAlternative;

Some files were not shown because too many files have changed in this diff Show More