mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 21:43:43 +01:00
Merge pull request #444 from YukkuriC/master
DamageSource lang of drill and saw fix
This commit is contained in:
commit
7989bae1c0
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