mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
oughe,
This commit is contained in:
parent
879d9d1f8a
commit
a4a08aa9cd
11
changelog
11
changelog
@ -1,2 +1,11 @@
|
||||
## Changed
|
||||
* Removed a ton of unused projectile entities
|
||||
* Removed the old ZOMG beams, negative energy type explosions now use DFC-like effects instead
|
||||
* Removed the old multitool (it sucked)
|
||||
|
||||
## Fixed
|
||||
* Fixed ore acidizer recipe config just straight up not working with ore dictionary keys
|
||||
* Fixed ore acidizer recipe config just straight up not working with ore dictionary keys
|
||||
* Fixed logistic network nodes disabled via redstone not re-enabling when redstone is cut
|
||||
* Added provisional emergency brake to drone pathfinding, pathfinding will simply fail if it goes on for too long
|
||||
* Fixed ore acidizer partitioner freezing the game
|
||||
* Fixed ore acidizer partitioner trash slots not being accessible via automation
|
||||
@ -1,6 +1,6 @@
|
||||
mod_version=1.0.27
|
||||
# Empty build number makes a release type
|
||||
mod_build_number=5523
|
||||
mod_build_number=5526
|
||||
|
||||
credits=HbMinecraft,\
|
||||
\ rodolphito (explosion algorithms),\
|
||||
|
||||
@ -201,8 +201,8 @@ public class CranePartitioner extends BlockContainer implements IConveyorBelt, I
|
||||
public int[] getAccessibleSlotsFromSide(int side) {
|
||||
|
||||
if(access == null) {
|
||||
access = new int[SLOT_COUNT]; // writing this by hand is for chumps
|
||||
for(int i = 0; i < SLOT_COUNT; i++) access[i] = i;
|
||||
access = new int[SLOT_COUNT * 2]; // writing this by hand is for chumps
|
||||
for(int i = 0; i < SLOT_COUNT * 2; i++) access[i] = i;
|
||||
}
|
||||
|
||||
return access;
|
||||
|
||||
@ -3,7 +3,7 @@ package com.hbm.lib;
|
||||
public class RefStrings {
|
||||
public static final String MODID = "hbm";
|
||||
public static final String NAME = "Hbm's Nuclear Tech Mod";
|
||||
public static final String VERSION = "1.0.27 BETA (5523)";
|
||||
public static final String VERSION = "1.0.27 BETA (5526)";
|
||||
//HBM's Beta Naming Convention:
|
||||
//V T (X)
|
||||
//V -> next release version
|
||||
|
||||
@ -134,7 +134,9 @@ public class TileEntityDroneDock extends TileEntityRequestNetworkContainer imple
|
||||
paths.add(init);
|
||||
|
||||
// breadth-first search
|
||||
for(int i = 0; i < pathingDepth; i++) {
|
||||
outer: for(int i = 0; i < pathingDepth; i++) {
|
||||
|
||||
int iterationBrake = 1000;
|
||||
|
||||
List<List<PathNode>> newPaths = new ArrayList();
|
||||
|
||||
@ -155,6 +157,11 @@ public class TileEntityDroneDock extends TileEntityRequestNetworkContainer imple
|
||||
newPath.add(connectedSafe);
|
||||
newPaths.add(newPath);
|
||||
}
|
||||
|
||||
// emergency halt after 1000 iterations, forces pathing depth to proceed
|
||||
// theoretical maximum is therefore 10k iterations
|
||||
iterationBrake--;
|
||||
if(iterationBrake <= 0) continue outer;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -42,6 +42,7 @@ public abstract class TileEntityRequestNetwork extends TileEntityLoadedBase {
|
||||
|
||||
PathNode newNode = createNode(pos);
|
||||
if(this.worldObj.isBlockIndirectlyGettingPowered(xCoord, yCoord, zCoord)) newNode.active = false;
|
||||
else newNode.active = true;
|
||||
// push new node
|
||||
push(worldObj, newNode);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user