siredvin / unlimitedperipheralworks Goto Github PK
View Code? Open in Web Editor NEWExtreme compact CC:R and CC:T mod that tries to make everything, that even possible a peripheral
License: MIT License
Extreme compact CC:R and CC:T mod that tries to make everything, that even possible a peripheral
License: MIT License
"Directory inside computer" aspect in Machine Reader is a List type but it outputs NBT.
Using operators on it that expect List as input give error that NBT was given as input.
Using operators on it that expect NBT as input give error that List was given as input.
I'm pretty sure the aspect should be NBT type and not List type.
Attached log file. Issue from discord.
To Reproduce, places some reality pieces and override the block to be itself.
local forger = peripheral.wrap("left") -- assuming its the reality forger block
local mimic = {
block = "peripheralworks:reality_forger_piece" -- don't remember whats its called but you get it
}
forger.forgeReality(mimic)
name mostly says it all, but a way to insert valid items into the composter would be nice to have.
Original report from discord:
Hello, I am playing Statech Industries which is a 1.19.2 modpack based on Modern Industrialization, and uses UnlimitedPeripheralWorks 0.2.10
I have a computer, that reads the storage of two "Large Tank" multiblock fluid storages via dedicated "Tank Hatch" blocks.
The problem is, that each time when I load my singleplayer world, one or sometimes both of the tanks do not return any information. The computer is able to see the peripherals, but the "tanks()" function returns a empty table.
It is only fixed (as far as I know) by either replacing the computer, or if I use modems + network cable, disconnecting and reconnecting the tanks to the network.
The AE2 auto-crafting scheduling API for fluids deals with the fabric fluid units (81 000 per bucket) while the tanks API which is used to retrieve information about fluids stored in an ME network uses mB (1000 per bucket). IMO this makes it unnecessarily hard to use the API. I'd suggest that the auto-crafting scheduling API should be adjusted to use mB. If you agree I can contribute the fix.
Minecraft version: 1.19.2
Fabric api: 0.64.0
CC Restitched: 1.101.2
Peripheralium: 0.4.3
Peripheralworks: 0.2.1
Modern Industrialization: 1.3.2
Expanded Storage: 8.0.1
Maybe missing some mod dependencies
When using the command "peripheral.wrap("side").items()
with any storage on my mod list of type "item_storage", the "count" property is always reported as 1.
Here some screenShoots of my tests
Both the "Steel Barrel" and the "Expanded Storage Chest" are reported as "item_storage"
PD: I am not really sure if this is this mods fault, fabric storage api fault or both mods fault.
I've tried to figure out how to set a specific CPU for scheduleCrafting, but was not able to do.
Now I've found the weird name.
in addition I would like to suggest a craftingOutput Variable for CPUs if it is busy.
I would like to create a crafting request script, and it would be really useful to know if a request for the item is already being processed.
So, following up this issue, it would be nice to create better Create integration for storages.
It would be also nice to get more familiar with create codebase, so why not.
Basically just an peripheral that can hold up to three peripherals (non-stacking),
could hold an modem, pickaxe, and an crafting table, for example,
peripherals inside an multitool would be accessible by wrapping the multitool and either of these
local multi = peripheral.find("multitool")
-- This would look for the modem peripheral inside the multitool and return it
local modem = multi.find("modem")
-- or
local modem = multi.modem
The items function returns an empty table but I have items in the ME system
me = peripherals.find('ae2:energy_acceptor')
items = me.items()
items
{}
It is the first time I have used computer craft. Please let me know if I do something wrong.
Minecraft version: 1.20.1
Modpack: All of Forge 7 2.2.3
AE2 version: 15.2.0
Peripheralium version: 0.6.15
Unlimited Peripheral Works version: 1.4.3
I am currently writing a program that requests items from my ae2 system in a smart way. However, the Item Storage API proves to be really inconvenient: When I want to find out how much of item x is in the system, I need to loop over all items in the system. I think that a simple way to find a particular item would make this API much easier to use (and with many items in the system might even improve performance).
it would be great to read energy data from MI Machines.
or maybe the Overclock value as well.
Or maybe adding some general way to read any Block NBT Data.
So we could have a similar output like from the Vanilla Data command /data get block 2 65 -93
but this might be a suggestion for the Turtlematic Mod. to have something like turtle.getBlockData()
Me from discord -- just posting it here to make it easier to track :)
block and entity table is empty
and the item table detects Entities and itemEntities
This would be useful for projects that need to efficiently store data that is part of a disk persisted registry. (e.g., the block ids in a scan of the world)
_
in peripheral name (should be ported to 1.19.4 also)Two things!
Make computercraft able to use AE2 Fluix Cables as networking cables (one lane per peripheral)
Make CC See AE2 P2P connections as peripherals
currently this is how one has to setup CC and AE2 networks
AE2 can handle item, power, and etc transportation, it would be amazing if it could handle transportation of CC data as well!
Problem: crash when saving a file in /integrateddynamics
folder with a machine reader reading that aspect.
Exception:
java.lang.NoClassDefFoundError: dan200/computercraft/core/apis/handles/EncodedReadableHandle
at site.siredvin.peripheralworks.integrations.integrateddynamics.Integration.collectFileValues(Integration.kt:74)
Cause: recent API rename
I mainly use this integration to schedule some crafting depending on the number of resources available in my ME network. To do this well I need information about running crafting jobs. I find the current API to be either hard to use or lacking. I'd like you to consider three possible approaches to improving the current solution:
IMO the third option has many advantages. It would allow users of that mod to easily transfer their programs, it is a more mature design and while the API is not perfect it has much more capabilities then the current one in the UPW.
Improving and extending the current API would be the most conservative option and would allow us to avoid breaking changes. This also means that we are stuck with the choices that were already made, whether they were good or not.
Designing a new API is hard but with some careful consideration it might give a better user experience.
Of course a hybrid approach is also possible.
Please consider the options and write back what do you think about it. I'll be glad to help with the implementation.
Any anchors within the interaction radius of the reality forger cannot be modified with forgeRealityPieces()
, while anchors outside the interaction radius (which won't be reported by detectAnchors()
) can be modified by the forger. I expected this to be the other way around.
(There's a second reality forger connected via modem. It's located 40 blocks above the reality anchor, outside the default 24 block limit.)
I would expect the forger directly connected to the computer to be able to modify the anchor below, but this error message is given:
And I would expect the forger connected above to be too far away to modify the anchor, but it works:
(You can see the anchor in the background has changed to cobblestone as well.)
A quick glance of the code looks like this if statement needs to be inverted:
https://github.com/SirEdvin/UnlimitedPeripheralWorks/blob/8bcce235359c0ace6b83f7285651759910f8b2e1/projects/core/src/main/kotlin/site/siredvin/peripheralworks/computercraft/peripherals/RealityForgerPeripheral.kt#L122C17-L122C30
I didn't see this already in the issues list but apologies if this has already been reported.
I'm using version 1.1.0 on Fabric.
If you're not careful and write a program that attempts to transfer 0 of an item between item_storage
s, the entire server it's running on crashes.
(Edit: Hiding the crash log under a <details> tag!)
---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!
Time: 3/29/23, 1:35 AM
Description: Ticking block entity
java.lang.IllegalStateException: An outer transaction is already active on this thread.
at net.fabricmc.fabric.impl.transfer.transaction.TransactionManagerImpl.openOuter(TransactionManagerImpl.java:40)
at net.fabricmc.fabric.api.transfer.v1.transaction.Transaction.openOuter(Transaction.java:89)
at techreborn.blockentity.cable.CableTickManager$SortableStorage.<init>(CableTickManager.java:177)
at techreborn.blockentity.cable.CableTickManager.dispatchTransfer(CableTickManager.java:139)
at techreborn.blockentity.cable.CableTickManager.handleCableTick(CableTickManager.java:78)
at techreborn.blockentity.cable.CableBlockEntity.tick(CableBlockEntity.java:261)
at techreborn.blocks.cable.CableBlock.lambda$getTicker$1(CableBlock.java:118)
at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
at net.minecraft.class_1937.method_18471(class_1937.java:475)
at net.minecraft.class_3218.method_18765(class_3218.java:368)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:907)
at net.minecraft.class_3176.method_3813(class_3176.java:322)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
at java.base/java.lang.Thread.run(Thread.java:833)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
at net.fabricmc.fabric.impl.transfer.transaction.TransactionManagerImpl.openOuter(TransactionManagerImpl.java:40)
at net.fabricmc.fabric.api.transfer.v1.transaction.Transaction.openOuter(Transaction.java:89)
at techreborn.blockentity.cable.CableTickManager$SortableStorage.<init>(CableTickManager.java:177)
at techreborn.blockentity.cable.CableTickManager.dispatchTransfer(CableTickManager.java:139)
at techreborn.blockentity.cable.CableTickManager.handleCableTick(CableTickManager.java:78)
at techreborn.blockentity.cable.CableBlockEntity.tick(CableBlockEntity.java:261)
at techreborn.blocks.cable.CableBlock.lambda$getTicker$1(CableBlock.java:118)
at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
at net.minecraft.class_1937.method_18471(class_1937.java:475)
at net.minecraft.class_3218.method_18765(class_3218.java:368)
-- Block entity being ticked --
Details:
Name: techreborn:cable // techreborn.blockentity.cable.CableBlockEntity
Block: Block{techreborn:insulated_gold_cable}[covered=true,down=false,east=false,north=true,south=false,up=true,waterlogged=false,west=false]
Block location: World: (206,80,113), Section: (at 14,0,1 in 12,5,7; chunk contains blocks 192,-64,112 to 207,319,127), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Block: Block{techreborn:insulated_gold_cable}[covered=true,down=false,east=false,north=true,south=false,up=true,waterlogged=false,west=false]
Block location: World: (206,80,113), Section: (at 14,0,1 in 12,5,7; chunk contains blocks 192,-64,112 to 207,319,127), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Stacktrace:
at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
at net.minecraft.class_1937.method_18471(class_1937.java:475)
at net.minecraft.class_3218.method_18765(class_3218.java:368)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:907)
at net.minecraft.class_3176.method_3813(class_3176.java:322)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
at java.base/java.lang.Thread.run(Thread.java:833)
-- Affected level --
Details:
All players: 1 total; [class_3222['ShadowFoxNixill'/382710, l='ServerLevel[Stream World 2]', x=196.54, y=68.00, z=106.72]]
Chunk stats: 5044
Level dimension: minecraft:overworld
Level spawn location: World: (195,81,126), Section: (at 3,1,14 in 12,5,7; chunk contains blocks 192,-64,112 to 207,319,127), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Level time: 211206946 game time, 22787931 day time
Level name: Stream World 2
Level game mode: Game mode: adventure (ID 2). Hardcore: false. Cheats: false
Level weather: Rain time: 108061 (now: false), thunder time: 56434 (now: false)
Known server brands: fabric
Level was modded: true
Level storage version: 0x04ABD - Anvil
Stacktrace:
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:907)
at net.minecraft.class_3176.method_3813(class_3176.java:322)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
at java.base/java.lang.Thread.run(Thread.java:833)
-- System Details --
Details:
Minecraft Version: 1.18.2
Minecraft Version ID: 1.18.2
Operating System: Linux (amd64) version 5.17.5-300.fc36.x86_64
Java Version: 17, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 2184073912 bytes (2082 MiB) / 4202692608 bytes (4008 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 12
Microarchitecture: whiskey Lake
Frequency (GHz): 1.60
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: CometLake-U GT2 [UHD Graphics]
Graphics card #0 vendor: Intel Corporation (0x8086)
Graphics card #0 VRAM (MB): 256.00
Graphics card #0 deviceId: 0x9b41
Graphics card #0 versionInfo: unknown
Virtual memory max (MB): 11490.34
Virtual memory used (MB): 5887.97
Swap memory total (MB): 7660.00
Swap memory used (MB): 189.25
JVM Flags: 1 total; -Xmx4G
Fabric Mods:
ae2: Applied Energistics 2 11.6.6
appleskin: AppleSkin 2.4.1+mc1.18.2
architectury: Architectury 4.10.86
betteranvil: Better Anvil 1.1.3
byg: Oh The Biomes You'll Go 1.4
charm: Charm 4.4.4
com_moandjiezana_toml_toml4j: toml4j 0.7.2
chisel: Chisel Refabricated 1.4.5
cloth-config: Cloth Config v6 6.4.90
cloth-basic-math: cloth-basic-math 0.6.1
collective-fabric: Collective (Fabric) 5.16
fiber: fiber 0.23.0-2
computercraft: CC: Restitched 1.100.8
cloth-utils-v1: Cloth Utils v1 2.0.54
convenient-mobgriefing: Convenient mobGriefing 2.0.2
croptopia: Croptopia 2.1.2
com_typesafe_config: config 1.4.1
io_leangen_geantyref_geantyref: geantyref 1.3.11
org_spongepowered_configurate-core: configurate-core 4.1.2
org_spongepowered_configurate-hocon: configurate-hocon 4.1.2
damagetilt: Damage Tilt 1.18-fabric-0.1.2
fabric-api: Fabric API 0.67.0+1.18.2
fabric-api-base: Fabric API Base 0.4.4+d7c144a860
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.2+2373a54560
fabric-biome-api-v1: Fabric Biome API (v1) 8.0.6+651bcc5960
fabric-block-api-v1: Fabric Block API (v1) 1.0.0+ee3621fc60
fabric-command-api-v1: Fabric Command API (v1) 1.1.9+d7c144a860
fabric-commands-v0: Fabric Commands (v0) 0.2.8+b4f4f6cd60
fabric-containers-v0: Fabric Containers (v0) 0.1.23+d7c144a860
fabric-content-registries-v0: Fabric Content Registries (v0) 3.1.1+c85f2e3860
fabric-convention-tags-v1: Fabric Convention Tags 1.0.1+474e4f7960
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.1+ee261a3e60
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 3.0.2+9fcb91d260
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.20+489d6f8260
fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.8+d7c144a860
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.19+d7c144a860
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.20+d7c144a860
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.13+d7c144a860
fabric-item-api-v1: Fabric Item API (v1) 1.6.0+d8cf4e5a60
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.14+91896a4960
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.1.0+cc71601c60
fabric-loot-api-v2: Fabric Loot API (v2) 1.1.0+1997ad1260
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.2+e747827960
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.4+cc71601c60
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.23+2d30af4b60
fabric-networking-v0: Fabric Networking (v0) 0.3.10+b4f4f6cd60
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 2.1.3+032c981d60
fabric-particles-v1: Fabric Particles (v1) 0.2.12+526dc1ac60
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.11+bb2e047760
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.8+ee3621fc60
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 2.0.2+54e5b2ec60
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.3+91b7aa6660
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.5.2+446e059560
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.2+1f6558e860
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.6.3+f4563ac860
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.1.0+e747827960
fabric-language-kotlin: Fabric Language Kotlin 1.8.6+kotlin.1.7.21
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.7.21
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.7.21
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.7.21
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.7.21
org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.18.5
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.6.4
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.6.4
org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.4.0
org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.4.1
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.4.1
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.4.1
fabricloader: Fabric Loader 0.14.10
factory_blocks: Factory Blocks Mod 1.0.0+1.18.2
feature_nbt_deadlock_be_gone: Feature NBT Deadlock Be Gone - Fabric 2.0.0+1.18.2-rc1
flytre_lib: FlytreLib 1.8.2
forgeconfigapiport: Forge Config API Port 3.2.4
com_electronwill_night-config_core: core 3.6.5
com_electronwill_night-config_toml: toml 3.6.5
geckolib3: Geckolib 3.0.79
com_eliotlash_mclib_mclib: mclib 20
goodall: Goodall 1.0.2
ironchests: Iron Chests 1.7.4
libgui: LibGui 5.4.2+1.18.2
jankson: Jankson 4.0.0+j1.2.0
blue_endless_jankson: jankson 1.2.1
libninepatch: LibNinePatch 1.1.0
jade: Jade 5.99.9
java: OpenJDK 64-Bit Server VM 17
journeymap-fabric: Journeymap 5.8.5
journeymap-api-fabric: JourneyMap API 1.18.2-1.8-fabric-SNAPSHOT
linkedstorage: Linked Storage 1.5.1-1.18
lithium: Lithium 0.10.2
minecraft: Minecraft 1.18.2
mob_catcher: Mob Catcher 1.1.30
moderndynamics: Modern Dynamics 0.2.6-beta
naturalist: Naturalist 1.1.1
oxidized: Oxidized 1.6.4
oxidized-armor: Oxidized Armor 1.0.0
peripheralium: Peripheralium 0.4.17-1.18.2
peripheralworks: Unlimited Peripheral Works 0.2.2
piglib: Piglib 1.1.1
pipe: Pipe 1.7.1
polymorph: Polymorph 0.0.21-1.18.2
cardinal-components-base: Cardinal Components API (base) 4.1.4
cardinal-components-block: Cardinal Components API (blocks) 4.1.4
cardinal-components-entity: Cardinal Components API (entities) 4.1.4
cardinal-components-item: Cardinal Components API (items) 4.1.4
reborncore: Reborn Core 5.2.0
repurposed_structures: Repurposed Structures 4.1.15+1.18.2
omega-config: OmegaConfig 1.0.8
roughlyenoughitems: Roughly Enough Items 8.3.571
error_notifier: Error Notifier 1.0.9
ruined_equipment: Ruined Equipment 2.0.0
simple_veinminer: Cyan's Simple Veinminer 1.2.1
completeconfig: CompleteConfig 1.3.3
simplechunkloader: Simple Chunkloader 1.0.1
starterkit-fabric: Starter Kit (Fabric) 3.9
taxfreelevels: Tax Free Levels 1.3.3
techreborn: Tech Reborn 5.2.0
team_reborn_energy: Energy 2.2.0
terrablender: TerraBlender 1.2.0.126
waystones: Waystones 2.5.5+mc1.18.2
wiredredstone: Wired Redstone 0.3.10+1.18.2
graphlib: Graph Lib 0.2.5+1.18.2
libmultipart_deps_container: LibMultiPart (Dependency Container) 0.7.5-pre.0.2+kneelawk
libblockattributes_core: LibBlockAttributes (Core) 0.10.2
libmultipart: LibMultiPart 0.7.5-pre.0.2+kneelawk
libnetworkstack: Lib Network Stack 0.6.3
lmp-compat: LMP Compat 0.1.2+1.18.2
Server Running: true
Player Count: 1 / 20; [class_3222['ShadowFoxNixill'/382710, l='ServerLevel[Stream World 2]', x=196.54, y=68.00, z=106.72]]
Data Packs: vanilla, Fabric Mods, file/Caulcrete1.0.0r18.zip, file/ShadowDen-Compat, file/ShadowDen-Dyes, file/ShadowDen-QoL, file/BabyMobs1.0.0r18-nixmod.zip, file/ShadowDen-Slabs, file/shadowden-computers (incompatible), file/ShadowDen-Redstone
World Generation: Stable
Is Modded: Definitely; Server brand changed to 'fabric'
Type: Dedicated Server (map_server.txt)
[✔] peripheralium-0.4.21-1.19.2
[✔] peripheralworks-0.2.8
(AOF6 1.7.1)
Stading next to the network using wired modems, occasionally receive errors saying it could not connect to a peripheral. log shows error:
[21:39:36] [Server thread/ERROR]: Error running task
dan200.computercraft.api.peripheral.NotAttachedException: You are not attached to this computer
at dan200.computercraft.shared.peripheral.modem.wired.WiredModemPeripheral$RemotePeripheralWrapper.getAvailablePeripheral(WiredModemPeripheral.java:496) ~[cc-restitched-1.101.2.jar:?]
at site.siredvin.peripheralium.extra.plugins.AbstractInventoryPlugin.pushItems(AbstractInventoryPlugin.kt:58) ~[peripheralium-0.4.21-1.19.2.jar:?]
at site.siredvin.peripheralium.extra.plugins.AbstractInventoryPlugin$cc$pushItems4.apply(CC generated method) ~[?:?]
at dan200.computercraft.core.asm.PeripheralMethod.lambda$static$0(PeripheralMethod.java:21) ~[cc-restitched-1.101.2.jar:?]
at dan200.computercraft.core.lua.LuaContext.lambda$issueMainThreadTask$0(LuaContext.java:34) ~[cc-restitched-1.101.2.jar:?]
at dan200.computercraft.core.computer.MainThreadExecutor.execute(MainThreadExecutor.java:143) ~[cc-restitched-1.101.2.jar:?]
at dan200.computercraft.core.computer.MainThread.executePendingTasks(MainThread.java:157) ~[cc-restitched-1.101.2.jar:?]
at dan200.computercraft.shared.proxy.ComputerCraftProxyCommon.lambda$registerHandlers$3(ComputerCraftProxyCommon.java:105) ~[cc-restitched-1.101.2.jar:?]
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.lambda$static$0(ServerTickEvents.java:40) ~[fabric-lifecycle-events-v1-2.2.4+1b46dc7890-db0fd3f5dc0d6099.jar:?]
at net.minecraft.server.MinecraftServer.handler$ejc000$fabric-lifecycle-events-v1$onStartTick(MinecraftServer.java:7316) ~[client-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) ~[client-intermediary.jar:?]
at net.minecraft.class_1132.method_3748(class_1132.java:98) ~[client-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) ~[client-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[client-intermediary.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Fabric 1.19.2
Unlimited Peripheral Works 0.2.5
Peripheralium 0.4.21-1.19.2
CC: Restitched 1.101.2
Reproduction steps:
lua
peripheral.call("front", "pushItems", "front", 1, nil, 2)
The peripheral call returns 52 (transferred items), but the chest only contains 26 Dirt which has now been moved to slot 2. This does not happen with just CC: Tweaked installed alone, but as soon as UnlimitedPeripheralWorks
is added the bug occurs.
NOTE: This bug only seems to appear when pushing or pulling items within the same inventory (ex: When wanting to move an item from one slot to another within the same chest), but as far as I can tell it does not seem to occur when transferring items between 2 separate inventories.
From this issue
Modern Industrialization has moved away from using Megane in the latest update, causing the following crash when attempting to place a Computer next to an MI machine:
crash-2023-08-01_16.55.04-server.txt
Create's Linked Controller can be placed on and operated from a lectern.
I'd like to see the ability for CC to interface with a lectern-mounted linked controller.
For example, scanner cooldown now cannot be lowered to more then 1 second
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.