This commit is contained in:
Jacob Vinding
2025-12-27 00:06:47 +01:00
commit 1c991e905d
1095 changed files with 172738 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
var TileEntityFurnace = Java.type("net.minecraft.tileentity.TileEntityFurnace");
var getSupportedPrefixes = function() {
return ['Furnace'];
}
var worksWith = function(tileEntity, side) {
return tileEntity instanceof TileEntityFurnace;
};
var addScanData = function(scanData, tileEntityFurnace, side) {
scanData.add("Furnace.IsBurning", tileEntityFurnace.isBurning());
};

View File

@@ -0,0 +1,26 @@
[
{
"class": "net.minecraft.tileentity.TileEntityFurnace",
"prefix": "Furnace",
"rules": {
"BurnTime": "int[BurnTime]",
"CookTime": "int[CookTime]",
"CookTimeTotal": "int[CookTimeTotal]"
}
},
{
"class": "net.minecraft.tileentity.TileEntityMobSpawner",
"prefix": "Spawner",
"rules": {
"Delay": "short[Delay]",
"MinSpawnDelay": "short[MinSpawnDelay]",
"MaxSpawnDelay": "short[MaxSpawnDelay]",
"SpawnCount": "short[SpawnCount]",
"MaxNearbyEntities": "short[MaxNearbyEntities]",
"RequiredPlayerRange": "short[RequiredPlayerRange]",
"SpawnRange": "short[SpawnRange]",
"Entity": "SpawnData/string[id]"
}
}
]

View File

@@ -0,0 +1,17 @@
[
{
"class": "com.rwtema.extrautils2.machine.TileMachine",
"prefix": "extrautils2",
"methods": {
"isProcessing": "isProcessing"
},
"privateFields": {
"processTime": "processTime"
},
"fields": {
"energyOutput": "energyOutput",
"totalTime": "totalTime"
}
}
]

View File

@@ -0,0 +1,46 @@
# Configuration file
integration {
# These integrations are not being loaded. Changing this requires restarting the game! [default: ]
S:disabledIntegrations <
javascript
>
}
sensor {
# Disable all artificial pauses when scanning. You should rather adjust the pause times! [default: false]
B:disableScanPause=false
# Disable the search method altogether [default: false]
B:disableSearch=false
# Disable all artificial pauses when searching. You should rather adjust the pause time! [default: false]
B:disableSearchPause=false
# Whether to remove Entities that are sneaking from the results [default: true]
B:hideSneakingEntities=true
# Maximum range a sensor can scan [range: 0.0 ~ 2048.0, default: 16.0]
S:maxRange=16.0
# Maximum range a sensor can search for blocks. Setting this to a high value is a bad idea and might cause lag. [range: 0.0 ~ 2048.0, default: 8.0]
S:maxSearchRange=8.0
# How long it takes to scan an air block in seconds [range: 0.0 ~ 4.0, default: 0.02]
S:pauseForAir=0.02
# How long it takes to scan a normal block in seconds [range: 0.0 ~ 4.0, default: 0.05]
S:pauseForBlock=0.05
# How long it takes to scan an entity in seconds [range: 0.0 ~ 4.0, default: 0.1]
S:pauseForEntity=0.1
# Each block being scanned increases the search time by this amount [range: 0.0 ~ 1.0, default: 1.0E-4]
S:pauseForSearchPerBlock=1.0E-4
# How long it takes to scan a tile entity in seconds (additive with pauseForBlock) [range: 0.0 ~ 4.0, default: 0.1]
S:pauseForTileEntity=0.1
}