mirror of
https://github.com/nimsolated/Nims-Random-BS.git
synced 2026-04-02 10:20:42 -07:00
2.1.3
This commit is contained in:
@@ -74,7 +74,7 @@ public class OreMinerBlock extends Block implements EntityBlock {
|
||||
@Override
|
||||
public void onPlace(BlockState blockstate, Level world, BlockPos pos, BlockState oldState, boolean moving) {
|
||||
super.onPlace(blockstate, world, pos, oldState, moving);
|
||||
world.scheduleTick(pos, this, 200);
|
||||
world.scheduleTick(pos, this, 160);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -84,7 +84,7 @@ public class OreMinerBlock extends Block implements EntityBlock {
|
||||
int y = pos.getY();
|
||||
int z = pos.getZ();
|
||||
OreMinerTickUpdateProcedure.execute(world, x, y, z);
|
||||
world.scheduleTick(pos, this, 200);
|
||||
world.scheduleTick(pos, this, 160);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -82,7 +82,7 @@ public class AriEntity extends Monster {
|
||||
this.goalSelector.addGoal(2, new TemptGoal(this, 1, Ingredient.of(ArisRandomAdditionsModItems.ORICHALCUM.get()), false));
|
||||
this.goalSelector.addGoal(3, new LookAtPlayerGoal(this, Player.class, (float) 6));
|
||||
this.goalSelector.addGoal(4, new RandomStrollGoal(this, 1));
|
||||
this.targetSelector.addGoal(5, new NearestAttackableTargetGoal(this, Mob.class, true, true));
|
||||
this.targetSelector.addGoal(5, new NearestAttackableTargetGoal(this, Monster.class, true, true));
|
||||
this.targetSelector.addGoal(6, new HurtByTargetGoal(this));
|
||||
this.goalSelector.addGoal(7, new RandomLookAroundGoal(this));
|
||||
this.goalSelector.addGoal(8, new FloatGoal(this));
|
||||
|
||||
@@ -4,7 +4,7 @@ license="MIT License"
|
||||
|
||||
[[mods]]
|
||||
modId="aris_random_additions"
|
||||
version="2.1.2"
|
||||
version="2.1.3"
|
||||
displayName="Ari's Random Additions"
|
||||
displayURL="https://mcreator.net"
|
||||
logoFile="logo.png"
|
||||
|
||||
Reference in New Issue
Block a user