use of net.minecraft.block.DropperBlock in project Magma-1.16.x by magmafoundation.
the class CraftDropper method drop.
@Override
public void drop() {
Block block = getBlock();
if (block.getType() == Material.DROPPER) {
CraftWorld world = (CraftWorld) this.getWorld();
DropperBlock drop = (DropperBlock) Blocks.DROPPER;
drop.dispenseFrom(world.getHandle(), this.getPosition());
}
}
use of net.minecraft.block.DropperBlock in project LoliServer by Loli-Server.
the class CraftDropper method drop.
@Override
public void drop() {
Block block = getBlock();
if (block.getType() == Material.DROPPER) {
CraftWorld world = (CraftWorld) this.getWorld();
DropperBlock drop = (DropperBlock) Blocks.DROPPER;
drop.dispenseFrom(world.getHandle(), this.getPosition());
}
}
Aggregations