1.16.1
This commit is contained in:
1 parent
6e24dce8cd
commit
9daf154a34
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -4,8 +4,8 @@ org.gradle.jvmargs=-Xmx1G
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
# or better: https://modmuss50.me/fabric.html
|
||||
minecraft_version=1.16
|
||||
yarn_mappings=1.16+build.1
|
||||
minecraft_version=1.16.1
|
||||
yarn_mappings=1.16.1+build.1
|
||||
loader_version=0.8.8+build.202
|
||||
|
||||
# Mod Properties
|
||||
|
||||
@@ -32,7 +32,7 @@ public abstract class LivingEntity_maxCollisionsMixin extends Entity
|
||||
{
|
||||
List<Entity> list_1 = this.world.getEntities((Entity)this, this.getBoundingBox(), EntityPredicates.canBePushedBy(this));
|
||||
if (!list_1.isEmpty()) {
|
||||
int int_1 = this.world.getGameRules().getInt(GameRules.field_19405);//max entity cramming
|
||||
int int_1 = this.world.getGameRules().getInt(GameRules.MAX_ENTITY_CRAMMING);
|
||||
int int_2;
|
||||
if (int_1 > 0 && list_1.size() > int_1 - 1 && this.random.nextInt(4) == 0) {
|
||||
int_2 = 0;
|
||||
|
||||
@@ -36,8 +36,8 @@ public class SummonCommandMixin
|
||||
{
|
||||
ServerWorld world = (ServerWorld) entity.getEntityWorld();
|
||||
BlockPos at = entity.getBlockPos();
|
||||
LocalDifficulty localDifficulty_1 = world.getLocalDifficulty(at); //DO MOB SPAWNING
|
||||
boolean boolean_2 = world.getGameRules().getBoolean(GameRules.field_19390) && world.random.nextDouble() < (double)localDifficulty_1.getLocalDifficulty() * 0.01D;
|
||||
LocalDifficulty localDifficulty_1 = world.getLocalDifficulty(at);
|
||||
boolean boolean_2 = world.getGameRules().getBoolean(GameRules.DO_MOB_SPAWNING) && world.random.nextDouble() < (double)localDifficulty_1.getLocalDifficulty() * 0.01D;
|
||||
if (boolean_2) {
|
||||
SkeletonHorseEntity skeletonHorseEntity_1 = (SkeletonHorseEntity) EntityType.SKELETON_HORSE.create(world);
|
||||
skeletonHorseEntity_1.setTrapped(true);
|
||||
|
||||
Reference in new issue
Block a user