Misc fixes around

This commit is contained in:
Vincent Lee committed 2019-06-08 18:47:15 -07:00
1 parent ee08a279a7
commit cce2f81d15
67 files changed
+198 -173

No files matched your search

@@ -22,6 +22,7 @@ import net.minecraft.util.Direction;
import net.minecraft.util.Hand;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.BlockRayTraceResult;
import net.minecraft.util.math.shapes.ISelectionContext;
import net.minecraft.util.math.shapes.VoxelShape;
import net.minecraft.world.IBlockReader;
@@ -62,7 +63,7 @@ public class BlockLightRelay extends BlockMod implements IWandable, ILexiconable
}
@Override
public boolean onBlockActivated(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, Direction s, float xs, float ys, float zs) {
public boolean onBlockActivated(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit) {
((TileLightRelay) world.getTileEntity(pos)).mountEntity(player);
return true;
}