-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added ULV structural casing * Fix mistake in ULV structural casing localization * Make sintering oven use ULV structural casings * Improved basic structural casing texture * Add serpentine blocks * Make heat radiator use serpentine blocks * Added localisation to serpentine * Version bump to 0.1.2
- Loading branch information
Showing
14 changed files
with
90 additions
and
9 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
37 changes: 37 additions & 0 deletions
37
src/main/java/supersymmetry/common/blocks/BlockSerpentine.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,37 @@ | ||
package supersymmetry.common.blocks; | ||
|
||
import gregtech.api.block.VariantActiveBlock; | ||
import net.minecraft.block.SoundType; | ||
import net.minecraft.block.material.Material; | ||
import net.minecraft.util.IStringSerializable; | ||
|
||
public class BlockSerpentine extends VariantActiveBlock<BlockSerpentine.SerpentineType> { | ||
|
||
public BlockSerpentine() { | ||
super(Material.IRON); | ||
setTranslationKey("serpentine"); | ||
setHardness(0.5f); | ||
setSoundType(SoundType.METAL); | ||
setHarvestLevel("wrench", 2); | ||
setDefaultState(getState(SerpentineType.BASIC)); | ||
} | ||
|
||
public enum SerpentineType implements IStringSerializable { | ||
BASIC("basic"); | ||
|
||
public final String name; | ||
|
||
SerpentineType(String name) { | ||
this.name = name; | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return this.name; | ||
} | ||
|
||
public String toString() { | ||
return this.getName(); | ||
} | ||
} | ||
} |
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
Binary file added
BIN
+435 Bytes
...ain/resources/assets/gregtech/textures/blocks/casings/serpentine/serpentine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+148 Bytes
...sources/assets/gregtech/textures/blocks/casings/serpentine/serpentine_bloom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+397 Bytes
...ces/assets/gregtech/textures/blocks/multiblock_casing/ulv_structural_casing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
src/main/resources/assets/susy/blockstates/serpentine.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,18 @@ | ||
{ | ||
"forge_marker" : 1, | ||
"variants" : { | ||
"active=false,variant=basic" : { | ||
"model" : "minecraft:cube_all", | ||
"textures" : { | ||
"all" : "gregtech:blocks/casings/serpentine/serpentine" | ||
} | ||
}, | ||
"active=true,variant=basic" : { | ||
"model" : "gregtech:cube_2_layer_all", | ||
"textures" : { | ||
"bot_all" : "gregtech:blocks/casings/serpentine/serpentine", | ||
"top_all" : "gregtech:blocks/casings/serpentine/serpentine_bloom" | ||
} | ||
} | ||
} | ||
} |
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