This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
TerminatorPlus-API/build/libs/TerminatorPlus-API-4.5.1-BETA.jar
Normal file
BIN
TerminatorPlus-API/build/libs/TerminatorPlus-API-4.5.1-BETA.jar
Normal file
Binary file not shown.
Binary file not shown.
2
TerminatorPlus-API/build/tmp/jar/MANIFEST.MF
Normal file
2
TerminatorPlus-API/build/tmp/jar/MANIFEST.MF
Normal file
@@ -0,0 +1,2 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
@@ -113,6 +113,17 @@ public class LegacyAgent extends Agent {
|
||||
}
|
||||
}
|
||||
|
||||
private void placeblocking(Location location, Terminator bot) {
|
||||
Block block = location.getBlock();
|
||||
if (block.getType() == Material.AIR) {
|
||||
bot.setItem(new ItemStack(Material.COBBLESTONE));
|
||||
block.setType(Material.COBBLESTONE);
|
||||
bot.punch();
|
||||
for (Player all : Bukkit.getOnlinePlayers())
|
||||
all.playSound(bot.getLocation(), Sound.BLOCK_STONE_PLACE, SoundCategory.BLOCKS, 1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
private void tickBot(Terminator bot) {
|
||||
if (!bot.isBotAlive()) {
|
||||
return;
|
||||
@@ -134,7 +145,7 @@ public class LegacyAgent extends Agent {
|
||||
tryWindchargeMaceAttack(bot, livingTarget, false);
|
||||
} else if (bot.getLocation().getY() > livingTarget.getLocation().getY() && bot.getLocation().distanceSquared(livingTarget.getLocation()) <= 4 && macemode(bot)) {
|
||||
bot.jump();
|
||||
macesmash(bot, livingTarget, false, 2.5);
|
||||
macesmash(bot, livingTarget, false, 10);
|
||||
}
|
||||
|
||||
blockCheck.clutch(bot, livingTarget);
|
||||
@@ -153,7 +164,7 @@ public class LegacyAgent extends Agent {
|
||||
network.feed(BotData.generate(bot, livingTarget));
|
||||
}
|
||||
|
||||
if (entholdsmace(livingTarget) && livingTarget.getLocation().getY() > bot.getLocation().getY()) {
|
||||
if (livingTarget.getLocation().getY() > bot.getLocation().getY()) {
|
||||
bot.block(10, 0);
|
||||
}
|
||||
if (bot.tickDelay(3) && !miningAnim.containsKey(botPlayer)) {
|
||||
@@ -163,13 +174,21 @@ public class LegacyAgent extends Agent {
|
||||
|
||||
if (ai) {
|
||||
if (network.check(BotNode.BLOCK) && loc.distance(livingTarget.getLocation()) < 6) {
|
||||
bot.block(10, 10);
|
||||
bot.block(20, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (LegacyUtils.checkFreeSpace(botEyeLoc, playerEyeLoc) || LegacyUtils.checkFreeSpace(botEyeLoc, playerLoc)) {
|
||||
if (LegacyUtils.checkFreeSpace(botEyeLoc, playerEyeLoc) || LegacyUtils.checkFreeSpace(botEyeLoc, playerLoc) && bot.getLocation().distanceSquared(livingTarget.getLocation()) <= 10) {
|
||||
// place an block over the target such that he cant windcharge away or smth
|
||||
World world = livingTarget.getWorld();
|
||||
placeblocking(livingTarget.getLocation().add(new Location(world, 0, 2, 0)), bot); // over target
|
||||
placeblocking(livingTarget.getLocation().add(new Location(world, 0, 0, 1)), bot); // +z
|
||||
placeblocking(livingTarget.getLocation().add(new Location(world, 0, 0, -1)), bot); // -z
|
||||
placeblocking(livingTarget.getLocation().add(new Location(world, 1, 0, 0)), bot); // +x
|
||||
placeblocking(livingTarget.getLocation().add(new Location(world, -1, 0, 0)), bot); // -x
|
||||
|
||||
attack(bot, livingTarget, loc);
|
||||
}
|
||||
}
|
||||
@@ -208,7 +227,7 @@ public class LegacyAgent extends Agent {
|
||||
|
||||
if (checkDown(bot, botPlayer, livingTarget.getLocation(), bothXZ)) return;
|
||||
|
||||
if ((withinTargetXZ || sameXZ) && entholdsmace(livingTarget) && livingTarget.getLocation().getY() > bot.getLocation().getY() && bot.getLocation().distanceSquared(livingTarget.getLocation()) > 5) {
|
||||
if ((withinTargetXZ || sameXZ) && !entholdsmace(livingTarget) && livingTarget.getLocation().getY() > bot.getLocation().getY() && bot.getLocation().distanceSquared(livingTarget.getLocation()) > 5) {
|
||||
if (checkUp(bot, livingTarget, botPlayer, target, withinTargetXZ, sameXZ)) return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Command: C:\Program Files\Java\jdk-21.0.10\bin\java.exe -Xmx1G -classpath C:\Users\JUFS-STL-SECONDARY\.gradle\caches\modules-2\files-2.1\net.fabricmc\tiny-remapper\0.12.0\bfb93e1bfb66d47272ccd37ce894dcfc20ba0b6\tiny-remapper-0.12.0-fat.jar net.fabricmc.tinyremapper.Main C:\Users\JUFS-STL-SECONDARY\Desktop\terminatorplus\TerminatorPlus-Plugin\build\libs\TerminatorPlus-Plugin-4.5.1-BETA.jar C:\Users\JUFS-STL-SECONDARY\Desktop\terminatorplus\TerminatorPlus-Plugin\build\libs\TerminatorPlus-Plugin-4.5.1-BETA-reobf.jar C:\Users\JUFS-STL-SECONDARY\Desktop\terminatorplus\TerminatorPlus-Plugin\.gradle\caches\paperweight\taskCache\reobfMappings.tiny mojang spigot C:\Users\JUFS-STL-SECONDARY\Desktop\terminatorplus\TerminatorPlus-Plugin\.gradle\caches\paperweight\taskCache\mappedServerJar.jar --threads=1
|
||||
[INFO] Finished after 1637.01 ms.
|
||||
[INFO] Finished after 1693.73 ms.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3
TerminatorPlus-Plugin/build/tmp/jar/MANIFEST.MF
Normal file
3
TerminatorPlus-Plugin/build/tmp/jar/MANIFEST.MF
Normal file
@@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
paperweight-mappings-namespace: mojang
|
||||
|
||||
BIN
build/libs/TerminatorPlus-4.5.1-BETA.jar
Normal file
BIN
build/libs/TerminatorPlus-4.5.1-BETA.jar
Normal file
Binary file not shown.
663
build/reports/problems/problems-report.html
Normal file
663
build/reports/problems/problems-report.html
Normal file
File diff suppressed because one or more lines are too long
17
build/resources/main/plugin.yml
Normal file
17
build/resources/main/plugin.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: TerminatorPlus
|
||||
main: net.nuggetmc.tplus.TerminatorPlus
|
||||
version: 4.5.1-BETA
|
||||
api-version: 1.16 # Set to 1.16 so the plugin loads, and we can tell the user that it may not be compatible with their version, because people can't scroll up.
|
||||
author: HorseNuggets
|
||||
depend:
|
||||
- Citizens
|
||||
|
||||
permissions:
|
||||
terminatorplus.*:
|
||||
description: TerminatorPlus parent permission.
|
||||
default: op
|
||||
children:
|
||||
terminatorplus.manage: true
|
||||
terminatorplus.manage:
|
||||
description: Allows for TerminatorPlus bot management.
|
||||
default: op
|
||||
2
build/tmp/jar/MANIFEST.MF
Normal file
2
build/tmp/jar/MANIFEST.MF
Normal file
@@ -0,0 +1,2 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user