-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
78 additions
and
43 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
src/main/java/mod/emt/harkenscythe/blocks/HSBlockCloth.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,26 @@ | ||
package mod.emt.harkenscythe.blocks; | ||
|
||
import mod.emt.harkenscythe.init.HSBlocks; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.block.SoundType; | ||
import net.minecraft.block.material.MapColor; | ||
import net.minecraft.block.material.Material; | ||
import net.minecraft.util.EnumFacing; | ||
import net.minecraft.util.math.BlockPos; | ||
import net.minecraft.world.World; | ||
|
||
public class HSBlockCloth extends Block | ||
{ | ||
public HSBlockCloth(MapColor mapColor) | ||
{ | ||
super(Material.CLOTH, mapColor); | ||
this.setHardness(0.8F); | ||
this.setSoundType(SoundType.CLOTH); | ||
} | ||
|
||
@Override | ||
public boolean isFireSource(World world, BlockPos pos, EnumFacing side) | ||
{ | ||
return this == HSBlocks.bloodweave_cloth || this == HSBlocks.soulweave_cloth; | ||
} | ||
} |
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