Merge pull request #444 from YukkuriC/master

DamageSource lang of drill and saw fix
This commit is contained in:
Zelophed 2020-08-28 21:16:00 +02:00 committed by GitHub
commit 7989bae1c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View file

@ -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);

View file

@ -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);
} }

View file

@ -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);