BlockWeb: Difference between revisions

From Minecraft Parkour Wiki
Content added Content deleted
(created page)
 
mNo edit summary
Line 1: Line 1:
[[SourceCode|Back to SourceCode]]
[[SourceCode|Back to SourceCode]]
<br /><syntaxhighlight lang="java" line="1">
<syntaxhighlight lang="java" line="1">
package net.minecraft.block;
package net.minecraft.block;



Revision as of 15:12, 28 March 2020

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();
    }
}