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:
@@ -5544,7 +5544,7 @@
|
|||||||
"workspaceSettings": {
|
"workspaceSettings": {
|
||||||
"modid": "aris_random_additions",
|
"modid": "aris_random_additions",
|
||||||
"modName": "Ari\u0027s Random Additions",
|
"modName": "Ari\u0027s Random Additions",
|
||||||
"version": "2.1.2",
|
"version": "2.1.3",
|
||||||
"description": "Random Additions by Ari. Created with MCreator.",
|
"description": "Random Additions by Ari. Created with MCreator.",
|
||||||
"author": "nimsolated, MCreator",
|
"author": "nimsolated, MCreator",
|
||||||
"websiteURL": "https://mcreator.net",
|
"websiteURL": "https://mcreator.net",
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
},
|
},
|
||||||
"hasAI": true,
|
"hasAI": true,
|
||||||
"aiBase": "(none)",
|
"aiBase": "(none)",
|
||||||
"aixml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"aitasks_container\" deletable=\"false\" x=\"40\" y=\"40\"><next><block type=\"attack_on_collide\"><field name=\"speed\">1.2</field><field name=\"longmemory\">FALSE</field><field name=\"condition\">null,null</field><next><block type=\"follow_item_in_hands\"><field name=\"speed\">1</field><field name=\"scared\">FALSE</field><field name=\"condition\">null,null</field><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:Orichalcum</field></block></value><next><block type=\"watch_closest_entity\"><field name=\"entity\">EntityPlayer</field><field name=\"radius\">6</field><field name=\"condition\">null,null</field><next><block type=\"wander\"><field name=\"speed\">1</field><field name=\"condition\">null,null</field><next><block type=\"attack_entity\"><field name=\"insight\">TRUE</field><field name=\"nearby\">TRUE</field><field name=\"entity\">EntityMob</field><field name=\"condition\">null,null</field><next><block type=\"attack_action\"><field name=\"callhelp\">FALSE</field><field name=\"condition\">null,null</field><next><block type=\"look_around\"><field name=\"condition\">null,null</field><next><block type=\"swim_in_water\"><field name=\"condition\">null,null</field></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>",
|
"aixml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"aitasks_container\" deletable=\"false\" x=\"40\" y=\"40\"><next><block type=\"attack_on_collide\"><field name=\"speed\">1.2</field><field name=\"longmemory\">FALSE</field><field name=\"condition\">null,null</field><next><block type=\"follow_item_in_hands\"><field name=\"speed\">1</field><field name=\"scared\">FALSE</field><field name=\"condition\">null,null</field><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:Orichalcum</field></block></value><next><block type=\"watch_closest_entity\"><field name=\"entity\">EntityPlayer</field><field name=\"radius\">6</field><field name=\"condition\">null,null</field><next><block type=\"wander\"><field name=\"speed\">1</field><field name=\"condition\">null,null</field><next><block type=\"attack_entity\"><field name=\"insight\">TRUE</field><field name=\"nearby\">TRUE</field><field name=\"entity\">EntityMonster</field><field name=\"condition\">null,null</field><next><block type=\"attack_action\"><field name=\"callhelp\">FALSE</field><field name=\"condition\">null,null</field><next><block type=\"look_around\"><field name=\"condition\">null,null</field><next><block type=\"swim_in_water\"><field name=\"condition\">null,null</field></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>",
|
||||||
"breedable": false,
|
"breedable": false,
|
||||||
"tameable": false,
|
"tameable": false,
|
||||||
"breedTriggerItems": [],
|
"breedTriggerItems": [],
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
"material": {
|
"material": {
|
||||||
"value": "NONE"
|
"value": "NONE"
|
||||||
},
|
},
|
||||||
"tickRate": 200,
|
"tickRate": 160,
|
||||||
"tickRandomly": false,
|
"tickRandomly": false,
|
||||||
"isReplaceable": false,
|
"isReplaceable": false,
|
||||||
"canProvidePower": false,
|
"canProvidePower": false,
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ public class OreMinerBlock extends Block implements EntityBlock {
|
|||||||
@Override
|
@Override
|
||||||
public void onPlace(BlockState blockstate, Level world, BlockPos pos, BlockState oldState, boolean moving) {
|
public void onPlace(BlockState blockstate, Level world, BlockPos pos, BlockState oldState, boolean moving) {
|
||||||
super.onPlace(blockstate, world, pos, oldState, moving);
|
super.onPlace(blockstate, world, pos, oldState, moving);
|
||||||
world.scheduleTick(pos, this, 200);
|
world.scheduleTick(pos, this, 160);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -84,7 +84,7 @@ public class OreMinerBlock extends Block implements EntityBlock {
|
|||||||
int y = pos.getY();
|
int y = pos.getY();
|
||||||
int z = pos.getZ();
|
int z = pos.getZ();
|
||||||
OreMinerTickUpdateProcedure.execute(world, x, y, z);
|
OreMinerTickUpdateProcedure.execute(world, x, y, z);
|
||||||
world.scheduleTick(pos, this, 200);
|
world.scheduleTick(pos, this, 160);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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(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(3, new LookAtPlayerGoal(this, Player.class, (float) 6));
|
||||||
this.goalSelector.addGoal(4, new RandomStrollGoal(this, 1));
|
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.targetSelector.addGoal(6, new HurtByTargetGoal(this));
|
||||||
this.goalSelector.addGoal(7, new RandomLookAroundGoal(this));
|
this.goalSelector.addGoal(7, new RandomLookAroundGoal(this));
|
||||||
this.goalSelector.addGoal(8, new FloatGoal(this));
|
this.goalSelector.addGoal(8, new FloatGoal(this));
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ license="MIT License"
|
|||||||
|
|
||||||
[[mods]]
|
[[mods]]
|
||||||
modId="aris_random_additions"
|
modId="aris_random_additions"
|
||||||
version="2.1.2"
|
version="2.1.3"
|
||||||
displayName="Ari's Random Additions"
|
displayName="Ari's Random Additions"
|
||||||
displayURL="https://mcreator.net"
|
displayURL="https://mcreator.net"
|
||||||
logoFile="logo.png"
|
logoFile="logo.png"
|
||||||
|
|||||||
Reference in New Issue
Block a user