mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-23 21:49:49 +00:00
Auto-format fix imports, tabs/spaces
This commit is contained in:
1 parent
5816af57bc
commit
cce3b7b901
174 files changed
+1025
-1259
No files matched your search
@@ -5,13 +5,13 @@ import binnie.extratrees.block.EnumETLog;
|
||||
import binnie.extratrees.block.property.PropertyETWoodType;
|
||||
import forestry.arboriculture.blocks.BlockForestryPlanks;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
public abstract class BlockETPlank extends BlockForestryPlanks<EnumETLog> {
|
||||
public static final String BLOCK_NAME = "plank";
|
||||
|
||||
|
||||
public static List<BlockETPlank> create(boolean fireproof) {
|
||||
List<BlockETPlank> blocks = new ArrayList<>();
|
||||
PropertyETWoodType[] variants = PropertyETWoodType.create("variant", VARIANTS_PER_BLOCK, false);
|
||||
@@ -31,10 +31,10 @@ public abstract class BlockETPlank extends BlockForestryPlanks<EnumETLog> {
|
||||
private BlockETPlank(boolean fireproof, int blockNumber) {
|
||||
super(fireproof, blockNumber);
|
||||
String name = "planks.";
|
||||
if(fireproof){
|
||||
name+="fireproof.";
|
||||
if (fireproof) {
|
||||
name += "fireproof.";
|
||||
}
|
||||
name+=blockNumber;
|
||||
name += blockNumber;
|
||||
setRegistryName(new ResourceLocation(Constants.EXTRA_TREES_MOD_ID, name));
|
||||
setUnlocalizedName(name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user