-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBlockSlowSand.java
More file actions
26 lines (21 loc) · 780 Bytes
/
Copy pathBlockSlowSand.java
File metadata and controls
26 lines (21 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package net.minecraft.src;
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode
public class BlockSlowSand extends Block
{
public BlockSlowSand(int i, int j)
{
super(i, j, Material.sand);
}
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
{
float f = 0.125F;
return AxisAlignedBB.getBoundingBoxFromPool(i, j, k, i + 1, (float)(j + 1) - f, k + 1);
}
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
{
entity.motionX *= 0.40000000000000002D;
entity.motionZ *= 0.40000000000000002D;
}
}