minecraft-source/src/net/minecraft/world/level/block/WebBlock.java

19 lines
572 B
Java
Raw Normal View History

2020-07-22 06:23:34 +01:00
package net.minecraft.world.level.block;
import net.minecraft.world.phys.Vec3;
import net.minecraft.world.entity.Entity;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.state.BlockState;
public class WebBlock extends Block {
public WebBlock(final Properties c) {
super(c);
}
@Override
2020-07-22 06:25:47 +01:00
public void entityInside(final BlockState byg, final Level bjt, final BlockPos fk, final Entity akn) {
akn.makeStuckInBlock(byg, new Vec3(0.25, 0.05000000074505806, 0.25));
2020-07-22 06:23:34 +01:00
}
}