Fabric port in progress
This commit is contained in:
@@ -25,13 +25,13 @@ import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.ActionResult;
|
||||
import net.minecraft.util.Hand;
|
||||
import net.minecraft.util.hit.BlockHitResult;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.BlockRayTraceResult;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import appeng.block.AEBaseTileBlock;
|
||||
|
||||
public class PhantomNodeBlock extends AEBaseTileBlock<PhantomNodeTileEntity> {
|
||||
public class PhantomNodeBlock extends AEBaseTileBlock<PhantomNodeBlockEntity> {
|
||||
|
||||
public PhantomNodeBlock() {
|
||||
super(defaultProps(Material.IRON));
|
||||
@@ -39,8 +39,8 @@ public class PhantomNodeBlock extends AEBaseTileBlock<PhantomNodeTileEntity> {
|
||||
|
||||
@Override
|
||||
public ActionResult onActivated(final World w, final BlockPos pos, final PlayerEntity player, final Hand hand,
|
||||
final @Nullable ItemStack heldItem, final BlockRayTraceResult hit) {
|
||||
final PhantomNodeTileEntity tpn = this.getTileEntity(w, pos);
|
||||
final @Nullable ItemStack heldItem, final BlockHitResult hit) {
|
||||
final PhantomNodeBlockEntity tpn = this.getBlockEntity(w, pos);
|
||||
tpn.triggerCrashMode();
|
||||
return ActionResult.SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user