mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-29 00:32:18 +00:00
Fix block setting more and fix computer break noise and particles.
This commit is contained in:
parent
33e65e39e3
commit
50b7646178
@ -106,7 +106,7 @@ public final class ComputerCraftRegistry {
|
||||
ModTiles.COMPUTER_ADVANCED));
|
||||
|
||||
public static final BlockComputer COMPUTER_COMMAND = register("computer_command",
|
||||
new BlockComputer(Block.Settings.of(Material.STONE)
|
||||
new BlockComputer(FabricBlockSettings.copyOf(Blocks.STONE)
|
||||
.strength(-1, 6000000.0F),
|
||||
ComputerFamily.COMMAND,
|
||||
ModTiles.COMPUTER_COMMAND));
|
||||
|
@ -161,6 +161,8 @@ public abstract class BlockComputerBase<T extends TileComputerBase> extends Bloc
|
||||
|
||||
state.onStacksDropped( serverWorld, pos, player.getMainHandStack() );
|
||||
}
|
||||
// Call super as it is what provides sound and block break particles. Does not do anything else.
|
||||
super.onBreak(world, pos, state, player);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user