mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-23 07:38:34 +01:00
Removed "requiresCorrectToolForDrops" from all blocks, Closes #1447
This commit is contained in:
parent
b66af8446c
commit
632c34739a
5 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
||||||
# 1.3.11+mc1.21.1
|
# 1.3.11+mc1.21.1
|
||||||
* Fixed Farmer not playing well with non vanilla farmland.
|
* Fixed Farmer not playing well with non-vanilla farmland.
|
||||||
* Added the ability to change the farmers work area with a compass.
|
* Added the ability to change the farmers work area with a compass.
|
||||||
|
* Make blocks still drop items even when broken incorrectly.
|
||||||
|
|
||||||
# 1.3.10+mc1.21.1
|
# 1.3.10+mc1.21.1
|
||||||
* Fixed Fluid placer not being harvestable.
|
* Fixed Fluid placer not being harvestable.
|
||||||
|
|
|
@ -322,15 +322,15 @@ public final class ActuallyBlocks {
|
||||||
(b) -> new AABlockItem(b, defaultBlockItemProperties));
|
(b) -> new AABlockItem(b, defaultBlockItemProperties));
|
||||||
|
|
||||||
public static BlockBehaviour.Properties miscBlockProperties() {
|
public static BlockBehaviour.Properties miscBlockProperties() {
|
||||||
return BlockBehaviour.Properties.ofFullCopy(Blocks.STONE).requiresCorrectToolForDrops().strength(1.5f, 10f);
|
return BlockBehaviour.Properties.ofFullCopy(Blocks.STONE).strength(1.5f, 10f);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BlockBehaviour.Properties defaultPickProps(float hardness, float resistance) {
|
public static BlockBehaviour.Properties defaultPickProps(float hardness, float resistance) {
|
||||||
return BlockBehaviour.Properties.ofFullCopy(Blocks.STONE).requiresCorrectToolForDrops().strength(hardness, resistance).sound(SoundType.STONE);
|
return BlockBehaviour.Properties.ofFullCopy(Blocks.STONE).strength(hardness, resistance).sound(SoundType.STONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BlockBehaviour.Properties defaultPickProps() {
|
public static BlockBehaviour.Properties defaultPickProps() {
|
||||||
return BlockBehaviour.Properties.ofFullCopy(Blocks.STONE).requiresCorrectToolForDrops().strength(1.5F, 10.0F).sound(SoundType.STONE);
|
return BlockBehaviour.Properties.ofFullCopy(Blocks.STONE).strength(1.5F, 10.0F).sound(SoundType.STONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BlockBehaviour.Properties defaultCropProps() {
|
public static BlockBehaviour.Properties defaultCropProps() {
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class BlockColoredLamp extends BlockBase {
|
||||||
private static final BooleanProperty LIT = BlockStateProperties.LIT;
|
private static final BooleanProperty LIT = BlockStateProperties.LIT;
|
||||||
|
|
||||||
public BlockColoredLamp() {
|
public BlockColoredLamp() {
|
||||||
super(Properties.of().mapColor(MapColor.NONE).instrument(NoteBlockInstrument.HAT).strength(0.5F, 3.0F).requiresCorrectToolForDrops());
|
super(Properties.of().mapColor(MapColor.NONE).instrument(NoteBlockInstrument.HAT).strength(0.5F, 3.0F));
|
||||||
this.registerDefaultState(this.stateDefinition.any().setValue(LIT, false));
|
this.registerDefaultState(this.stateDefinition.any().setValue(LIT, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ import javax.annotation.Nullable;
|
||||||
public class BlockFermentingBarrel extends BlockContainerBase {
|
public class BlockFermentingBarrel extends BlockContainerBase {
|
||||||
|
|
||||||
public BlockFermentingBarrel() {
|
public BlockFermentingBarrel() {
|
||||||
super(Properties.of().mapColor(MapColor.WOOD).ignitedByLava().instrument(NoteBlockInstrument.BASS).requiresCorrectToolForDrops().strength(0.5F, 5.0F).sound(SoundType.WOOD));
|
super(Properties.of().mapColor(MapColor.WOOD).ignitedByLava().instrument(NoteBlockInstrument.BASS).strength(0.5F, 5.0F).sound(SoundType.WOOD));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
|
@ -26,7 +26,7 @@ import javax.annotation.Nullable;
|
||||||
public class BlockLeafGenerator extends DirectionalBlock.Container {
|
public class BlockLeafGenerator extends DirectionalBlock.Container {
|
||||||
|
|
||||||
public BlockLeafGenerator() {
|
public BlockLeafGenerator() {
|
||||||
super(Properties.of().mapColor(MapColor.METAL).strength(5.0F, 10.0F).requiresCorrectToolForDrops().strength(5.0F, 10.0F).sound(SoundType.METAL));
|
super(Properties.of().mapColor(MapColor.METAL).strength(5.0F, 10.0F).strength(5.0F, 10.0F).sound(SoundType.METAL));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
Loading…
Reference in a new issue