Update mappings to 20200510

This commit is contained in:
Hubry committed 2020-05-10 21:39:43 +02:00
1 parent e3be3c6138
commit 8ebfd99157
232 files changed
+1067 -1067

No files matched your search

@@ -59,7 +59,7 @@ public class BlockLightRelay extends BlockMod implements IWandable {
}
@Override
public ActionResultType onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit) {
public ActionResultType onBlockActivated(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit) {
((TileLightRelay) world.getTileEntity(pos)).mountEntity(player);
return ActionResultType.SUCCESS;
}
@@ -81,7 +81,7 @@ public class BlockLightRelay extends BlockMod implements IWandable {
}
@Override
public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random rand) {
public void tick(BlockState state, ServerWorld world, BlockPos pos, Random rand) {
world.setBlockState(pos, state.with(BlockStateProperties.POWERED, false));
}