Skip to content

Commit 2c058fe

Browse files
committed
fix: let mobs spawn on stone blocks
1 parent 8bc2ba5 commit 2c058fe

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/main/java/gregtech/common/blocks/StoneVariantBlock.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@
1212
import net.minecraft.block.properties.PropertyEnum;
1313
import net.minecraft.block.state.BlockStateContainer;
1414
import net.minecraft.block.state.IBlockState;
15-
import net.minecraft.entity.EntityLiving;
1615
import net.minecraft.item.Item;
1716
import net.minecraft.util.IStringSerializable;
18-
import net.minecraft.util.math.BlockPos;
19-
import net.minecraft.world.IBlockAccess;
2017

2118
import org.jetbrains.annotations.NotNull;
2219

@@ -51,12 +48,6 @@ protected BlockStateContainer createBlockState() {
5148
return new BlockStateContainer(this, VARIANT);
5249
}
5350

54-
@Override
55-
public boolean canCreatureSpawn(@NotNull IBlockState state, @NotNull IBlockAccess world, @NotNull BlockPos pos,
56-
@NotNull EntityLiving.SpawnPlacementType type) {
57-
return false;
58-
}
59-
6051
@Override
6152
protected boolean canSilkHarvest() {
6253
return this.stoneVariant == StoneVariant.SMOOTH;

0 commit comments

Comments
 (0)