forked from progwml6/Natura
-
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
1 parent
d024cf6
commit 627d32e
Showing
7 changed files
with
94 additions
and
2 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
24 changes: 24 additions & 0 deletions
24
src/main/java/com/progwml6/natura/nether/block/BlockNetherrackBricks.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,24 @@ | ||
package com.progwml6.natura.nether.block; | ||
|
||
import com.progwml6.natura.Natura; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.block.material.Material; | ||
import net.minecraft.util.EnumFacing; | ||
import net.minecraft.util.math.BlockPos; | ||
import net.minecraft.world.World; | ||
|
||
public class BlockNetherrackBricks extends Block { | ||
public BlockNetherrackBricks() { | ||
super(Material.ROCK); | ||
|
||
this.setCreativeTab(Natura.TAB); | ||
this.setHardness(1.5F); | ||
this.setResistance(10.0F); | ||
this.setHarvestLevel("pickaxe", 0); | ||
} | ||
|
||
@Override | ||
public boolean isFireSource(World world, BlockPos pos, EnumFacing side) { | ||
return side == EnumFacing.UP; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/resources/assets/natura/blockstates/charred_netherrack_bricks.json
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 @@ | ||
{ | ||
"forge_marker": 1, | ||
"defaults": { | ||
"model": "cube_all", | ||
"textures": { | ||
"all": "natura:blocks/netherrack_bricks_charred" | ||
} | ||
}, | ||
"variants": { | ||
"normal": [ | ||
{} | ||
], | ||
"inventory": [ | ||
{} | ||
] | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/resources/assets/natura/blockstates/netherrack_bricks.json
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 @@ | ||
{ | ||
"forge_marker": 1, | ||
"defaults": { | ||
"model": "cube_all", | ||
"textures": { | ||
"all": "natura:blocks/netherrack_bricks" | ||
} | ||
}, | ||
"variants": { | ||
"normal": [ | ||
{} | ||
], | ||
"inventory": [ | ||
{} | ||
] | ||
} | ||
} |
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
22 changes: 22 additions & 0 deletions
22
src/main/resources/assets/natura/recipes/nether/netherrack_bricks.json
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,22 @@ | ||
{ | ||
"conditions": [ | ||
{ | ||
"type": "natura:is_pulse_loaded", | ||
"pulse_name": "NaturaNether" | ||
} | ||
], | ||
"type": "minecraft:crafting_shaped", | ||
"pattern": [ | ||
"AAA" | ||
], | ||
"key": { | ||
"A": { | ||
"item": "natura:smooth_netherrack" | ||
} | ||
}, | ||
"result": { | ||
"item": "natura:netherrack_bricks", | ||
"data": 0, | ||
"count": 3 | ||
} | ||
} |