forked from raymondbh/TFC-Additions
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new wood types & did minor refactoring work in a couple of places
- Loading branch information
Showing
68 changed files
with
175 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/main/java/org/rbh/tfcadditions/Blocks/Dent/BlockPlank3Dent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.rbh.tfcadditions.Blocks.Dent; | ||
|
||
import com.dunk.tfc.api.Constant.Global; | ||
import net.minecraft.block.material.Material; | ||
import net.minecraft.util.IIcon; | ||
import org.rbh.tfcadditions.Blocks.BlockChisel; | ||
|
||
/** | ||
* Created by raymondbh on 19.08.2015. | ||
*/ | ||
public class BlockPlank3Dent extends BlockChisel { | ||
public BlockPlank3Dent() | ||
{ | ||
super(Material.wood, "wood", "Plank Outline"); | ||
names = new String[Global.WOOD_ALL.length - 32]; | ||
System.arraycopy(Global.WOOD_ALL, 32, names, 0, Global.WOOD_ALL.length - 32); | ||
icons = new IIcon[names.length]; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/main/java/org/rbh/tfcadditions/Blocks/Planks/BlockPlanksLarge3.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.rbh.tfcadditions.Blocks.Planks; | ||
|
||
import net.minecraft.block.material.Material; | ||
import net.minecraft.util.IIcon; | ||
import org.rbh.tfcadditions.Blocks.BlockPlanks; | ||
|
||
/** | ||
* Created by raymondbh on 20.08.2015. | ||
*/ | ||
public class BlockPlanksLarge3 extends BlockPlanks { | ||
public BlockPlanksLarge3() { | ||
super(Material.wood, " Plank Large"); | ||
names = getMetaNames(NameType.THIRD_BRACKET); | ||
icons = new IIcon[names.length]; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/java/org/rbh/tfcadditions/Blocks/Planks/BlockPlanksNorm3.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.rbh.tfcadditions.Blocks.Planks; | ||
|
||
import net.minecraft.block.material.Material; | ||
import net.minecraft.util.IIcon; | ||
import org.rbh.tfcadditions.Blocks.BlockPlanks; | ||
|
||
/** | ||
* Created by rbh on 20.08.2015. | ||
*/ | ||
public class BlockPlanksNorm3 extends BlockPlanks{ | ||
public BlockPlanksNorm3() | ||
{ | ||
super(Material.wood, " Plank"); | ||
names = getMetaNames(NameType.THIRD_BRACKET); | ||
icons = new IIcon[names.length]; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/java/org/rbh/tfcadditions/Blocks/Planks/BlockPlanksParquet3.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.rbh.tfcadditions.Blocks.Planks; | ||
|
||
import net.minecraft.block.material.Material; | ||
import net.minecraft.util.IIcon; | ||
import org.rbh.tfcadditions.Blocks.BlockPlanks; | ||
|
||
/** | ||
* Created by raymondbh on 20.08.2015. | ||
*/ | ||
public class BlockPlanksParquet3 extends BlockPlanks { | ||
public BlockPlanksParquet3() | ||
{ | ||
super(Material.wood, " Plank Parquet"); | ||
names = getMetaNames(NameType.THIRD_BRACKET); | ||
icons = new IIcon[names.length]; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/main/java/org/rbh/tfcadditions/Blocks/Planks/BlockPlanksVert3.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.rbh.tfcadditions.Blocks.Planks; | ||
|
||
import net.minecraft.block.material.Material; | ||
import net.minecraft.util.IIcon; | ||
import org.rbh.tfcadditions.Blocks.BlockPlanks; | ||
|
||
/** | ||
* Created by rbh on 20.08.2015. | ||
*/ | ||
public class BlockPlanksVert3 extends BlockPlanks { | ||
public BlockPlanksVert3() { | ||
super(Material.wood, " Plank Vertical"); | ||
names = getMetaNames(NameType.THIRD_BRACKET); | ||
icons = new IIcon[names.length]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.