MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / updateTick

Method updateTick

src/main/java/net/minecraft/block/BlockSnow.java:136–143  ·  view source on GitHub ↗
(World worldIn, BlockPos pos, IBlockState state, Random rand)

Source from the content-addressed store, hash-verified

134 }
135
136 public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand)
137 {
138 if (worldIn.getLightFor(EnumSkyBlock.BLOCK, pos) > 11)
139 {
140 this.dropBlockAsItem(worldIn, pos, worldIn.getBlockState(pos), 0);
141 worldIn.setBlockToAir(pos);
142 }
143 }
144
145 public boolean shouldSideBeRendered(IBlockAccess worldIn, BlockPos pos, EnumFacing side)
146 {

Callers

nothing calls this directly

Calls 4

dropBlockAsItemMethod · 0.80
setBlockToAirMethod · 0.80
getBlockStateMethod · 0.65
getLightForMethod · 0.45

Tested by

no test coverage detected