Move new method in FabricBlockSettings to correct place in class. (#668)

The lower methods in the class are commented with their categories:

`FABRIC DELEGATE WRAPPERS` for additional methods to allow editing fields not actually exposed in vanilla.

`FABRIC HELPERS` for methods to handle things like mining levels.

Per these two categories, the new method does not belong in `FABRIC HELPERS` and has been moved accordingly
This commit is contained in:
i509VCB 2020-06-21 05:31:36 -07:00 committed by GitHub
parent 3234627dd4
commit 43ae9fbacb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,6 +243,15 @@ public class FabricBlockSettings extends AbstractBlock.Settings {
return this;
}
/**
* Make the material require tool to drop and slows down mining speed if the incorrect tool is used.
*/
@Override
public FabricBlockSettings requiresTool() {
super.requiresTool();
return this;
}
/* FABRIC DELEGATE WRAPPERS */
public FabricBlockSettings materialColor(MaterialColor color) {
@ -285,13 +294,4 @@ public class FabricBlockSettings extends AbstractBlock.Settings {
public FabricBlockSettings breakByTool(Tag<Item> tag) {
return this.breakByTool(tag, 0);
}
/**
* Make the material require tool to drop and slows down mining speed if the incorrect tool is used.
*/
@Override
public FabricBlockSettings requiresTool() {
super.requiresTool();
return this;
}
}