mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 20:33:41 +01:00
DamageSource lang of drill and saw fix
- create.(drill|saw) -> create.mechanical_\1 - unused DrillTileEntity.damageSourceDrill removed
This commit is contained in:
parent
8e349380a5
commit
052fd8e7b6
3 changed files with 2 additions and 4 deletions
|
@ -29,7 +29,7 @@ import mcp.MethodsReturnNonnullByDefault;
|
||||||
@ParametersAreNonnullByDefault
|
@ParametersAreNonnullByDefault
|
||||||
@MethodsReturnNonnullByDefault
|
@MethodsReturnNonnullByDefault
|
||||||
public class DrillBlock extends DirectionalKineticBlock implements ITE<DrillTileEntity> {
|
public class DrillBlock extends DirectionalKineticBlock implements ITE<DrillTileEntity> {
|
||||||
public static DamageSource damageSourceDrill = new DamageSource("create.drill").setDamageBypassesArmor();
|
public static DamageSource damageSourceDrill = new DamageSource("create.mechanical_drill").setDamageBypassesArmor();
|
||||||
|
|
||||||
public DrillBlock(Properties properties) {
|
public DrillBlock(Properties properties) {
|
||||||
super(properties);
|
super(properties);
|
||||||
|
|
|
@ -6,8 +6,6 @@ import net.minecraft.util.math.BlockPos;
|
||||||
|
|
||||||
public class DrillTileEntity extends BlockBreakingKineticTileEntity {
|
public class DrillTileEntity extends BlockBreakingKineticTileEntity {
|
||||||
|
|
||||||
public static DamageSource damageSourceDrill = new DamageSource("create.drill").setDamageBypassesArmor();
|
|
||||||
|
|
||||||
public DrillTileEntity(TileEntityType<? extends DrillTileEntity> type) {
|
public DrillTileEntity(TileEntityType<? extends DrillTileEntity> type) {
|
||||||
super(type);
|
super(type);
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ import mcp.MethodsReturnNonnullByDefault;
|
||||||
public class SawBlock extends DirectionalAxisKineticBlock implements ITE<SawTileEntity> {
|
public class SawBlock extends DirectionalAxisKineticBlock implements ITE<SawTileEntity> {
|
||||||
|
|
||||||
public static final BooleanProperty RUNNING = BooleanProperty.create("running");
|
public static final BooleanProperty RUNNING = BooleanProperty.create("running");
|
||||||
public static DamageSource damageSourceSaw = new DamageSource("create.saw").setDamageBypassesArmor();
|
public static DamageSource damageSourceSaw = new DamageSource("create.mechanical_saw").setDamageBypassesArmor();
|
||||||
|
|
||||||
public SawBlock(Properties properties) {
|
public SawBlock(Properties properties) {
|
||||||
super(properties);
|
super(properties);
|
||||||
|
|
Loading…
Reference in a new issue