mirror of
https://github.com/GTNewHorizons/Hardcore-Ender-Expansion.git
synced 2026-10-25 20:22:31 +00:00
Bump version and fix NPE in old Homeland Endermen
This commit is contained in:
1 parent
e48183d523
commit
53898bbf2e
4 files changed
+13
-7
No files matched your search
+1
-1
@@ -19,7 +19,7 @@ apply plugin: 'forge'
|
||||
|
||||
version = ""
|
||||
group= "chylex.hee.HardcoreEnderExpansion" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = "HardcoreEnderExpansion MC-"
|
||||
archivesBaseName = "HardcoreEnderExpansion MC-1.7.10 v1."
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
targetCompatibility = 1.7
|
||||
|
||||
@@ -154,6 +154,11 @@ public class EntityMobHomelandEnderman extends EntityMob implements IEndermanRen
|
||||
}
|
||||
}
|
||||
else if (isEntityAlive()){
|
||||
if (homelandRole == null){
|
||||
setDead();
|
||||
return;
|
||||
}
|
||||
|
||||
if (isWet())attackEntityFrom(DamageSource.drown,1F);
|
||||
|
||||
if (isWet() || isBurning()){
|
||||
|
||||
@@ -105,7 +105,7 @@ public class WorldGenBlob extends WorldGenerator{
|
||||
}).addPopulators(new BlobPopulator[]{
|
||||
new BlobPopulatorFiller(1).block(BlockList.ender_goo),
|
||||
new BlobPopulatorLiquidFall(1).block(BlockList.ender_goo).amount(IRandomAmount.linear,14,22).attempts(12,30)
|
||||
}),
|
||||
}).setPopulatorAmountProvider(IRandomAmount.exact,2,2),
|
||||
|
||||
// hollow goo covered blob with a chest inside
|
||||
new BlobPattern(2).addGenerators(new BlobGenerator[]{
|
||||
@@ -183,11 +183,12 @@ public class WorldGenBlob extends WorldGenerator{
|
||||
@Override
|
||||
public void run(String...args){
|
||||
WeightedList<BlobPattern> patterns = new WeightedList<>(new BlobPattern[]{
|
||||
new BlobPattern(1).addGenerators(new BlobGenerator[]{
|
||||
new BlobGeneratorSingleCut(1).cutRadMp(0.6D,0.8D).cutDistMp(0.8D,1.6D).rad(3D,7D)
|
||||
new BlobPattern(3).addGenerators(new BlobGenerator[]{
|
||||
new BlobGeneratorSingle(1).rad(3.8D,7D)
|
||||
}).addPopulators(new BlobPopulator[]{
|
||||
|
||||
}).setPopulatorAmountProvider(IRandomAmount.preferSmaller,1,4)
|
||||
new BlobPopulatorFiller(1).block(BlockList.ender_goo),
|
||||
new BlobPopulatorLiquidFall(1).block(BlockList.ender_goo).amount(IRandomAmount.linear,14,22).attempts(12,30)
|
||||
}).setPopulatorAmountProvider(IRandomAmount.exact,2,2),
|
||||
});
|
||||
|
||||
DecoratorFeatureGenerator gen = new DecoratorFeatureGenerator();
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"modid": "HardcoreEnderExpansion",
|
||||
"name": "Hardcore Ender Expansion",
|
||||
"version": "1.6.5",
|
||||
"version": "1.6.6",
|
||||
"mcversion": "",
|
||||
"description": "Hardcore Ender Expansion offers unique, new content across the End. The dragon became a truly challenging boss with a great reward, but the adventure doesn't end there.\n\nThe End is no longer just an island. Go investigate unique ores, battle new mobs, travel to new biomes, the death awaits you!\n\n§nWiki:§r http://tinyurl.com/hee-wiki\n\n§nCredits:§r http://tinyurl.com/hee-credits\n\n§nSupport the author:§r http://patreon.com/chylex",
|
||||
"logoFile": "",
|
||||
|
||||
Reference in new issue
Block a user