mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 15:33:08 +00:00
Update mappings to 20200510
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user