BlockWeb

From Minecraft Parkour Wiki
Revision as of 15:04, 28 March 2020 by MCPK (talk | contribs) (created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Back to SourceCode


package net.minecraft.block;

public class BlockWeb extends Block
{
    public BlockWeb()
    {
        super(Material.web);
    }

    public void onEntityCollidedWithBlock(World worldIn, BlockPos pos, IBlockState state, Entity entityIn)
    {
        entityIn.setInWeb();
    }
}