This commit is contained in:
parent
860f6d42d2
commit
97561ced0d
3 changed files with 8 additions and 6 deletions
|
@ -4,14 +4,14 @@ org.gradle.parallel=true
|
||||||
org.gradle.caching=false
|
org.gradle.caching=false
|
||||||
|
|
||||||
# Project Info
|
# Project Info
|
||||||
version=1.0.4
|
version=1.0.5
|
||||||
group=net.pietru
|
group=net.pietru
|
||||||
id=cookie_utils
|
id=cookie_utils
|
||||||
|
|
||||||
# Dependency Versions
|
# Dependency Versions
|
||||||
cosmic_reach_version=0.3.14
|
cosmic_reach_version=0.3.15
|
||||||
# If unspecified, will use the version above
|
# If unspecified, will use the version above
|
||||||
cosmic_reach_server_version=0.3.14
|
cosmic_reach_server_version=0.3.15
|
||||||
cosmic_quilt_version=2.3.1
|
cosmic_quilt_version=2.3.1
|
||||||
#2.2.0
|
#2.2.0
|
||||||
|
|
||||||
|
|
|
@ -23,12 +23,14 @@ import static net.pietru.cookie_utils.api.Region.is_not_reloading;
|
||||||
|
|
||||||
@Mixin(InteractBlockPacket.class)
|
@Mixin(InteractBlockPacket.class)
|
||||||
public class InteractBlockMixin {
|
public class InteractBlockMixin {
|
||||||
@Shadow
|
|
||||||
Zone zone;
|
|
||||||
@Shadow
|
@Shadow
|
||||||
BlockPosition blockPos;
|
BlockPosition blockPos;
|
||||||
@Shadow
|
@Shadow
|
||||||
BlockState blockState;
|
BlockState blockState;
|
||||||
|
@Shadow
|
||||||
|
int selectedSlotNum;
|
||||||
|
@Shadow
|
||||||
|
InteractBlockPacket.IteractTarget iteractTarget;
|
||||||
|
|
||||||
@Inject(method = "handle", at = @At("HEAD"), cancellable = true)
|
@Inject(method = "handle", at = @At("HEAD"), cancellable = true)
|
||||||
private void event_block_interact(CallbackInfo ci, @Local NetworkIdentity identity, @Local ChannelHandlerContext ctx){
|
private void event_block_interact(CallbackInfo ci, @Local NetworkIdentity identity, @Local ChannelHandlerContext ctx){
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "cosmic_reach",
|
"id": "cosmic_reach",
|
||||||
"versions": ">=0.3.6"
|
"versions": ">=0.3.15"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue