1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-17 05:37:12 +00:00

Rewrite how we do inventory transfers

- Add a new ContainerTransfer class to handle moving items between
   containers. This is now used for turtle.drop/turtle.suck as well as
   inventory methods.

 - Any other usages of IItemHandler (which are mostly on turtle
   inventories) now use Container and a couple of helper methods.
This commit is contained in:
Jonathan Coates
2022-11-08 21:31:17 +00:00
parent 7d47b219c5
commit 55494b7671
24 changed files with 644 additions and 297 deletions

View File

@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
/**
* Sets up the configurations for writing game tests.
*
@@ -47,7 +45,5 @@ java.registerFeature("testFixtures") {
dependencies {
add(testFixtures.implementationConfigurationName, main.output)
testImplementation(testFixtures(project))
add(testMod.implementationConfigurationName, testFixtures(project))
}