@@ -14,6 +14,11 @@ public class BlockBeeSwarm : Block
|
|||||||
private static readonly Cuboidf downBox = new(0.25f, 0f, 0.25f, 0.75f, 0.2f, 0.75f);
|
private static readonly Cuboidf downBox = new(0.25f, 0f, 0.25f, 0.75f, 0.2f, 0.75f);
|
||||||
private static readonly Cuboidf upBox = new(0.25f, 0.8f, 0.25f, 0.75f, 1f, 0.75f);
|
private static readonly Cuboidf upBox = new(0.25f, 0.8f, 0.25f, 0.75f, 1f, 0.75f);
|
||||||
|
|
||||||
|
public override ItemStack[] GetDrops(IWorldAccessor world, BlockPos pos, IPlayer byPlayer, float dropQuantityMultiplier = 1)
|
||||||
|
{
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
public override float GetAmbientSoundStrength(IWorldAccessor world, BlockPos pos)
|
public override float GetAmbientSoundStrength(IWorldAccessor world, BlockPos pos)
|
||||||
{
|
{
|
||||||
if (world.BlockAccessor.GetBlockEntity(pos) is not BlockEntityBeeSwarm swarm)
|
if (world.BlockAccessor.GetBlockEntity(pos) is not BlockEntityBeeSwarm swarm)
|
||||||
|
|||||||
Reference in New Issue
Block a user