mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-25 20:58:34 +01:00
made the gold powder's default state have no connections to improve book visualization
This commit is contained in:
parent
2dbed5813e
commit
696c92ce59
1 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
||||||
package de.ellpeck.naturesaura.blocks;
|
package de.ellpeck.naturesaura.blocks;
|
||||||
|
|
||||||
import de.ellpeck.naturesaura.NaturesAura;
|
|
||||||
import de.ellpeck.naturesaura.reg.IColorProvidingBlock;
|
import de.ellpeck.naturesaura.reg.IColorProvidingBlock;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.SoundType;
|
import net.minecraft.block.SoundType;
|
||||||
|
@ -14,7 +13,6 @@ import net.minecraft.init.Blocks;
|
||||||
import net.minecraft.util.BlockRenderLayer;
|
import net.minecraft.util.BlockRenderLayer;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraft.util.IStringSerializable;
|
import net.minecraft.util.IStringSerializable;
|
||||||
import net.minecraft.util.Rotation;
|
|
||||||
import net.minecraft.util.math.AxisAlignedBB;
|
import net.minecraft.util.math.AxisAlignedBB;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.IBlockAccess;
|
import net.minecraft.world.IBlockAccess;
|
||||||
|
@ -23,7 +21,6 @@ import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import java.util.Random;
|
|
||||||
|
|
||||||
public class BlockGoldPowder extends BlockImpl implements IColorProvidingBlock {
|
public class BlockGoldPowder extends BlockImpl implements IColorProvidingBlock {
|
||||||
|
|
||||||
|
@ -54,6 +51,11 @@ public class BlockGoldPowder extends BlockImpl implements IColorProvidingBlock {
|
||||||
super("gold_powder", Material.CIRCUITS);
|
super("gold_powder", Material.CIRCUITS);
|
||||||
this.setSoundType(SoundType.STONE);
|
this.setSoundType(SoundType.STONE);
|
||||||
this.setHardness(0F);
|
this.setHardness(0F);
|
||||||
|
this.setDefaultState(this.getDefaultState()
|
||||||
|
.withProperty(NORTH, AttachPos.NONE)
|
||||||
|
.withProperty(EAST, AttachPos.NONE)
|
||||||
|
.withProperty(SOUTH, AttachPos.NONE)
|
||||||
|
.withProperty(WEST, AttachPos.NONE));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue