Skip to content

Commit

Permalink
Merge pull request #8 from GTNewHorizons/fix/item-gui
Browse files Browse the repository at this point in the history
Fix item GUI slot blocking
  • Loading branch information
Dream-Master authored May 30, 2023
2 parents 9886749 + 293117f commit 149aa46
Show file tree
Hide file tree
Showing 11 changed files with 379 additions and 138 deletions.
494 changes: 371 additions & 123 deletions build.gradle

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Add your dependencies here

dependencies {
compile('com.github.GTNewHorizons:CreativeCore:1.3.26-GTNH:dev')

compileOnly('com.github.GTNewHorizons:CodeChickenLib:1.1.5.3:dev')
api('com.github.GTNewHorizons:CreativeCore:1.3.29-GTNH:dev')
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
8 changes: 0 additions & 8 deletions repositories.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// Add any additional repositories for your dependencies here

repositories {
maven {
name 'GTNH Maven'
url 'http://jenkins.usrv.eu:8081/nexus/content/groups/public/'
allowInsecureProtocol
}
maven {
url = 'https://jitpack.io'
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import com.creativemd.creativecore.client.rendering.ExtendedRenderBlocks;
import com.creativemd.littletiles.client.render.LittleBlockVertex.LittleVertex;

import cpw.mods.fml.relauncher.ReflectionHelper;

public class LittleThreadedRenderer extends ExtendedRenderBlocks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
public class SubContainerHammer extends SubContainer {

public SubContainerHammer(EntityPlayer player) {
super(player);
super(player, true);
}

public InventoryBasic basic = new InventoryBasic("Hammer", false, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class SubContainerTileContainer extends SubContainer {
public int index;

public SubContainerTileContainer(EntityPlayer player, ItemStack stack, int index) {
super(player);
super(player, true);
this.stack = stack;
this.index = index;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class SubContainerWrench extends SubContainer {
public InventoryBasic basic = new InventoryBasic("default", false, 2);

public SubContainerWrench(EntityPlayer player) {
super(player);
super(player, true);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.creativemd.littletiles.common.blocks.ILittleTile;
import com.creativemd.littletiles.common.structure.LittleStructure;
import com.creativemd.littletiles.common.utils.PlacementHelper;

import io.netty.buffer.ByteBuf;

public class LittleFlipPacket extends CreativeCorePacket {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.creativemd.littletiles.common.blocks.ILittleTile;
import com.creativemd.littletiles.common.structure.LittleStructure;
import com.creativemd.littletiles.common.utils.PlacementHelper;

import io.netty.buffer.ByteBuf;

public class LittleRotatePacket extends CreativeCorePacket {
Expand Down

0 comments on commit 149aa46

Please sign in to comment.