fixes, cryo cannon UV
@ -7,6 +7,7 @@ import com.hbm.lib.ModDamageSource;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.projectile.EntityThrowable;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
@ -106,4 +107,15 @@ public class EntityShrapnel extends EntityThrowable {
|
||||
public void setWatz(boolean b) {
|
||||
this.dataWatcher.updateObject(16, (byte) (b ? 3 : 0));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean writeToNBTOptional(NBTTagCompound nbt) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readEntityFromNBT(NBTTagCompound nbt) {
|
||||
super.readEntityFromNBT(nbt);
|
||||
this.setDead();
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,24 +9,21 @@ import net.minecraft.world.World;
|
||||
|
||||
public class EntityWaterSplash extends EntityThrowable {
|
||||
|
||||
public EntityWaterSplash(World p_i1773_1_)
|
||||
{
|
||||
super(p_i1773_1_);
|
||||
}
|
||||
public EntityWaterSplash(World p_i1773_1_) {
|
||||
super(p_i1773_1_);
|
||||
}
|
||||
|
||||
public EntityWaterSplash(World p_i1774_1_, EntityLivingBase p_i1774_2_)
|
||||
{
|
||||
super(p_i1774_1_, p_i1774_2_);
|
||||
}
|
||||
public EntityWaterSplash(World p_i1774_1_, EntityLivingBase p_i1774_2_) {
|
||||
super(p_i1774_1_, p_i1774_2_);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Override
|
||||
public void entityInit() {
|
||||
}
|
||||
}
|
||||
|
||||
public EntityWaterSplash(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_)
|
||||
{
|
||||
super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_);
|
||||
}
|
||||
public EntityWaterSplash(World p_i1775_1_, double p_i1775_2_, double p_i1775_4_, double p_i1775_6_) {
|
||||
super(p_i1775_1_, p_i1775_2_, p_i1775_4_, p_i1775_6_);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUpdate() {
|
||||
@ -51,9 +48,12 @@ public class EntityWaterSplash extends EntityThrowable {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean writeToNBTOptional(NBTTagCompound nbt) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readEntityFromNBT(NBTTagCompound nbt) {
|
||||
super.readEntityFromNBT(nbt);
|
||||
this.setDead();
|
||||
|
||||
@ -84,6 +84,7 @@ public class MatDistribution extends SerializableRecipe {
|
||||
|
||||
registerEntry(DictFrame.fromOne(ModBlocks.stone_resource, EnumStoneType.LIMESTONE), MAT_FLUX, DUST.q(10));
|
||||
registerEntry(ModItems.powder_flux, MAT_FLUX, DUST.q(1));
|
||||
registerEntry(new ItemStack(Items.coal, 1, 1), MAT_CARBON, NUGGET.q(3));
|
||||
}
|
||||
|
||||
public static void registerEntry(Object key, Object... matDef) {
|
||||
|
||||
@ -3280,7 +3280,7 @@ public class ModItems {
|
||||
}).setUnlocalizedName("iv_blood").setCreativeTab(MainRegistry.consumableTab).setTextureName(RefStrings.MODID + ":iv_blood");
|
||||
|
||||
iv_xp_empty = new ItemSimpleConsumable().setUseActionServer((stack, user) -> {
|
||||
if(user.experienceTotal >= 100) {
|
||||
if(EnchantmentUtil.getTotalExperience(user) >= 100) {
|
||||
ItemSimpleConsumable.giveSoundAndDecrement(stack, user, "hbm:item.syringe", new ItemStack(ModItems.iv_xp));
|
||||
EnchantmentUtil.setExperience(user, EnchantmentUtil.getTotalExperience(user) - 100);
|
||||
}
|
||||
|
||||
@ -262,7 +262,9 @@ public class TileEntityMachineMiningLaser extends TileEntityMachineBase implemen
|
||||
if(hasCrystallizer()) {
|
||||
|
||||
CrystallizerRecipe result = CrystallizerRecipes.getOutput(stack, Fluids.ACID);
|
||||
if(result != null && result.output.getItem() != ModItems.scrap) {
|
||||
if(result == null) result = CrystallizerRecipes.getOutput(stack, Fluids.SULFURIC_ACID);
|
||||
|
||||
if(result != null) {
|
||||
worldObj.spawnEntityInWorld(new EntityItem(worldObj, targetX + 0.5, targetY + 0.5, targetZ + 0.5, result.output.copy()));
|
||||
normal = false;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 144 B |
|
After Width: | Height: | Size: 148 B |
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 140 B |
|
After Width: | Height: | Size: 142 B |
|
After Width: | Height: | Size: 141 B |
|
After Width: | Height: | Size: 138 B |
|
After Width: | Height: | Size: 147 B |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 156 B |
|
After Width: | Height: | Size: 156 B |
|
After Width: | Height: | Size: 151 B |
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 154 B |
|
After Width: | Height: | Size: 220 B |
|
After Width: | Height: | Size: 225 B |
|
After Width: | Height: | Size: 227 B |
|
After Width: | Height: | Size: 227 B |
|
After Width: | Height: | Size: 225 B |
|
After Width: | Height: | Size: 219 B |
|
After Width: | Height: | Size: 224 B |
|
After Width: | Height: | Size: 208 B |
|
After Width: | Height: | Size: 204 B |
|
After Width: | Height: | Size: 222 B |
|
After Width: | Height: | Size: 213 B |
|
After Width: | Height: | Size: 227 B |
|
After Width: | Height: | Size: 213 B |
|
After Width: | Height: | Size: 235 B |
|
After Width: | Height: | Size: 242 B |
|
After Width: | Height: | Size: 247 B |
|
After Width: | Height: | Size: 237 B |
|
After Width: | Height: | Size: 250 B |
|
After Width: | Height: | Size: 249 B |
|
After Width: | Height: | Size: 247 B |
|
After Width: | Height: | Size: 243 B |
|
After Width: | Height: | Size: 234 B |
|
After Width: | Height: | Size: 206 B |