mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-24 22:14:45 +00:00
Added 4 new Azulejo Patterns. Fix #2376
This commit is contained in:
1 parent
05d9709a06
commit
2257d841b9
20 files changed
+82
-38
No files matched your search
@@ -13,10 +13,7 @@ import net.minecraft.util.IStringSerializable;
|
||||
import java.util.Locale;
|
||||
|
||||
public enum CustomBrickVariant implements IStringSerializable {
|
||||
HELLISH_BRICK,
|
||||
SOUL_BRICK,
|
||||
FROSTY_BRICK,
|
||||
ROOF_TILE,
|
||||
AZULEJO_0,
|
||||
AZULEJO_1,
|
||||
AZULEJO_2,
|
||||
AZULEJO_3,
|
||||
@@ -28,7 +25,10 @@ public enum CustomBrickVariant implements IStringSerializable {
|
||||
AZULEJO_9,
|
||||
AZULEJO_10,
|
||||
AZULEJO_11,
|
||||
AZULEJO_12;
|
||||
AZULEJO_12,
|
||||
AZULEJO_13,
|
||||
AZULEJO_14,
|
||||
AZULEJO_15;
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
|
||||
@@ -41,7 +41,7 @@ public class BlockCustomBrick extends BlockMod implements ILexiconable {
|
||||
setHardness(2.0F);
|
||||
setResistance(5.0F);
|
||||
setSoundType(SoundType.STONE);
|
||||
setDefaultState(blockState.getBaseState().withProperty(BotaniaStateProps.CUSTOMBRICK_VARIANT, CustomBrickVariant.HELLISH_BRICK));
|
||||
setDefaultState(blockState.getBaseState().withProperty(BotaniaStateProps.CUSTOMBRICK_VARIANT, CustomBrickVariant.AZULEJO_0));
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@@ -71,7 +71,7 @@ public class BlockCustomBrick extends BlockMod implements ILexiconable {
|
||||
|
||||
@Override
|
||||
public void getSubBlocks(CreativeTabs tab, NonNullList<ItemStack> stacks) {
|
||||
for(int i = 4; i < CustomBrickVariant.values().length; i++)
|
||||
for(int i = 0; i < CustomBrickVariant.values().length; i++)
|
||||
stacks.add(new ItemStack(this, 1, i));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user