Limestone
This commit is contained in:
parent
0fe1021ba2
commit
c6155b176e
7 changed files with 80 additions and 12 deletions
30
TODO.txt
30
TODO.txt
|
@ -6,6 +6,9 @@ deco No Copper pots
|
|||
deco No Copper plates
|
||||
deco No Lanterns
|
||||
deco No Light plates
|
||||
deco No Limestone...
|
||||
...stairs
|
||||
...slabs
|
||||
-------------------------------------------------------------------------------------------------------
|
||||
plants No? Tomatoes
|
||||
plants No? Turnips
|
||||
|
@ -40,21 +43,24 @@ materials No Metal from slag
|
|||
-> generate iron nuggets in furnace
|
||||
-> random nuggets in alloy furnace
|
||||
-------------------------------------------------------------------------------------------------------
|
||||
materials.ores No Limestone
|
||||
materials.ores No Rock salt
|
||||
materials.ores No Tin (cassiterite)
|
||||
materials.ores No Zinc (sphalerite)
|
||||
materials.ores No Aluminium (bauxite)
|
||||
materials.ores No Silver (native, horn silver)
|
||||
materials.ores No Lead (galena)
|
||||
materials.rock No Smooth limestone
|
||||
-------------------------------------------------------------------------------------------------------
|
||||
materials.ore No Rock salt
|
||||
materials.ore No Tin (cassiterite)
|
||||
materials.ore No Zinc (sphalerite)
|
||||
materials.ore No Aluminium (bauxite)
|
||||
materials.ore No Silver (native, horn silver)
|
||||
materials.ore No Lead (galena)
|
||||
-------------------------------------------------------------------------------------------------------
|
||||
tech.base No Coke oven
|
||||
-------------------------------------------------------------------------------------------------------
|
||||
animals ??? Goats
|
||||
animals ??? Goats
|
||||
-------------------------------------------------------------------------------------------------------
|
||||
??? ??? Sub-blocks
|
||||
??? Yes Improved pistons
|
||||
??? ??? Insulated redstone wires
|
||||
??? ??? Electrical-like power
|
||||
world ??? Limestone hills / mountains
|
||||
-------------------------------------------------------------------------------------------------------
|
||||
??? ??? Sub-blocks
|
||||
??? Yes Improved pistons
|
||||
??? ??? Insulated redstone wires
|
||||
??? ??? Electrical-like power
|
||||
??? ??? Atlases
|
||||
??? ??? "Luggage" (chests with persistent contents)
|
|
@ -4,6 +4,7 @@ package mmm.materials;
|
|||
import mmm.materials.ore.MOCopper;
|
||||
import mmm.materials.ore.MOCuprite;
|
||||
import mmm.materials.ore.MOMalachite;
|
||||
import mmm.materials.rock.MLimestone;
|
||||
import mmm.utils.I_URecipeRegistrar;
|
||||
import mmm.utils.URegistry;
|
||||
import net.minecraft.block.material.MapColor;
|
||||
|
@ -17,6 +18,7 @@ import net.minecraft.item.Item;
|
|||
public class Materials
|
||||
implements I_URecipeRegistrar
|
||||
{
|
||||
public static final MLimestone ROCK_LIMESTONE;
|
||||
|
||||
public static final MMetal GOLD;
|
||||
public static final MMetal IRON;
|
||||
|
@ -33,6 +35,9 @@ public class Materials
|
|||
public static final MOre ORE_CUPRITE;
|
||||
|
||||
static {
|
||||
// Rocks
|
||||
URegistry.addBlock( ROCK_LIMESTONE = new MLimestone( ) );
|
||||
|
||||
// Vanilla metals
|
||||
GOLD = new MMetal( Blocks.GOLD_BLOCK , Items.GOLD_INGOT , Items.GOLD_NUGGET );
|
||||
IRON = new MMetal( Blocks.IRON_BLOCK , Items.IRON_INGOT , //
|
||||
|
|
43
src/java/mmm/materials/rock/MLimestone.java
Normal file
43
src/java/mmm/materials/rock/MLimestone.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mmm.materials.rock;
|
||||
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import mmm.utils.I_UOreGenerationRegistrar;
|
||||
import mmm.utils.URegistry;
|
||||
import mmm.world.WLocation;
|
||||
import mmm.world.WOreGenerationCondition;
|
||||
import mmm.world.WOreGenerationParameters;
|
||||
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.creativetab.CreativeTabs;
|
||||
|
||||
|
||||
|
||||
public class MLimestone
|
||||
extends Block
|
||||
implements I_UOreGenerationRegistrar
|
||||
{
|
||||
|
||||
public MLimestone( )
|
||||
{
|
||||
super( Material.ROCK , MapColor.SNOW );
|
||||
this.setCreativeTab( CreativeTabs.BUILDING_BLOCKS );
|
||||
this.setHardness( 1f );
|
||||
this.setResistance( 7.5f );
|
||||
this.setSoundType( SoundType.STONE );
|
||||
this.setHarvestLevel( "pickaxe" , 0 );
|
||||
URegistry.setIdentifiers( this , "materials" , "rock" , "limestone" );
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void addConditions( final List< WOreGenerationCondition > conditions )
|
||||
{
|
||||
conditions.add( new WOreGenerationCondition( WLocation.inOverworld( ) ,
|
||||
new WOreGenerationParameters( this.getDefaultState( ) , 15 , 40 ) ) );
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"normal": { "model": "mmm:materials/rock/limestone" }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "mmm:blocks/materials/rock/limestone"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "mmm:block/materials/rock/limestone"
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 229 B |
Reference in a new issue