Compare commits
8 Commits
f62c90de66
...
a66e6e7384
Author | SHA1 | Date |
---|---|---|
Tom Dodd | a66e6e7384 | |
Tom Dodd | 677704b645 | |
Tom Dodd | 056f70acec | |
WuzgXY | fc845de702 | |
Tom Dodd | 66fcbc4d69 | |
Dave Smith | 01ab022146 | |
Dave Smith | 05c02d766a | |
Dave Smith | 16bb23e4f8 |
Binary file not shown.
|
@ -1,6 +1,5 @@
|
||||||
#Mon Sep 14 12:28:28 PDT 2015
|
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip
|
|
||||||
|
|
|
@ -15,6 +15,9 @@ import net.minecraftforge.fml.relauncher.*;
|
||||||
|
|
||||||
public class BlockTurbineRotorBlade extends BlockTurbinePart implements IBlockRotorBlade {
|
public class BlockTurbineRotorBlade extends BlockTurbinePart implements IBlockRotorBlade {
|
||||||
|
|
||||||
|
// Bounding box pulled from the rotor blade model
|
||||||
|
private final AxisAlignedBB bbox = new AxisAlignedBB(2D, 0D, 7D, 14D, 16D, 9D);
|
||||||
|
|
||||||
private final TurbineRotorBladeType bladeType;
|
private final TurbineRotorBladeType bladeType;
|
||||||
|
|
||||||
public BlockTurbineRotorBlade(TurbineRotorBladeType bladeType) {
|
public BlockTurbineRotorBlade(TurbineRotorBladeType bladeType) {
|
||||||
|
@ -52,6 +55,11 @@ public class BlockTurbineRotorBlade extends BlockTurbinePart implements IBlockRo
|
||||||
return NULL_AABB;
|
return NULL_AABB;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AxisAlignedBB getSelectedBoundingBox(IBlockState state, World worldIn, BlockPos pos) {
|
||||||
|
return bbox;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
|
||||||
if (player == null) {
|
if (player == null) {
|
||||||
|
|
|
@ -15,6 +15,9 @@ import net.minecraftforge.fml.relauncher.*;
|
||||||
|
|
||||||
public class BlockTurbineRotorStator extends BlockTurbinePart implements IBlockRotorBlade {
|
public class BlockTurbineRotorStator extends BlockTurbinePart implements IBlockRotorBlade {
|
||||||
|
|
||||||
|
// Bounding box pulled from the rotor stator model
|
||||||
|
private final AxisAlignedBB bbox = new AxisAlignedBB(7D, 0D, 2D, 9D, 16D, 14D);
|
||||||
|
|
||||||
public BlockTurbineRotorStator() {
|
public BlockTurbineRotorStator() {
|
||||||
super();
|
super();
|
||||||
setDefaultState(blockState.getBaseState().withProperty(TurbineRotorBladeUtil.DIR, TurbinePartDir.Y));
|
setDefaultState(blockState.getBaseState().withProperty(TurbineRotorBladeUtil.DIR, TurbinePartDir.Y));
|
||||||
|
@ -40,6 +43,11 @@ public class BlockTurbineRotorStator extends BlockTurbinePart implements IBlockR
|
||||||
return NULL_AABB;
|
return NULL_AABB;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AxisAlignedBB getSelectedBoundingBox(IBlockState state, World worldIn, BlockPos pos) {
|
||||||
|
return bbox;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
|
||||||
if (player == null) {
|
if (player == null) {
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
"anchor": "electrolyzer",
|
"anchor": "electrolyzer",
|
||||||
"type": "machines/single_machine",
|
"type": "machines/single_machine",
|
||||||
"block": "nuclearcraft:electrolyzer",
|
"block": "nuclearcraft:electrolyzer",
|
||||||
"text": "使用电能分解电子。"
|
"text": "使用电能分解分子。"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"anchor": "assembler",
|
"anchor": "assembler",
|
||||||
|
|
Loading…
Reference in New Issue