[ci skip] spotlessApply with the new settings

This commit is contained in:
Raven Szewczyk committed 2023-01-29 11:36:41 +00:00
1 parent 6b208b98bc
commit a309488cdf
214 files changed
+9283 -9265

No files matched your search

@@ -1,12 +1,12 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
* To change this license header, choose License Headers in Project Properties. To change this template file, choose
* Tools | Templates and open the template in the editor.
*/
package minetweaker.mc1710.block;
import minetweaker.api.block.IBlockDefinition;
import net.minecraft.block.Block;
/**
@@ -14,23 +14,24 @@ import net.minecraft.block.Block;
* @author Stan
*/
public class MCBlockDefinition implements IBlockDefinition {
private final Block block;
public MCBlockDefinition(Block block) {
this.block = block;
}
private final Block block;
public Block getInternalBlock() {
return block;
}
public MCBlockDefinition(Block block) {
this.block = block;
}
@Override
public String getId() {
return Block.blockRegistry.getNameForObject(block);
}
public Block getInternalBlock() {
return block;
}
@Override
public String getDisplayName() {
return block.getLocalizedName();
}
@Override
public String getId() {
return Block.blockRegistry.getNameForObject(block);
}
@Override
public String getDisplayName() {
return block.getLocalizedName();
}
}