Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
compileOnly 'org.apache.logging.log4j:log4j-api:2.0-beta9'
compileOnly 'org.apache.logging.log4j:log4j-core:2.0-beta9'

library "com.github.MPKMod.MPKNetworkAPI:common:main-SNAPSHOT"
library "com.github.MPKMod.MPKNetworkAPI:common:1.0.0"
}

compileJava.doLast {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ public LandingBlock(BoundingBox3D boundingBox) {
this.boundingBox = boundingBox;
}

public LandingBlock(BoundingBox3D boundingBox, LandingMode landingMode) {
this.boundingBox = boundingBox;
this.landingMode = landingMode;
}

@InfoString.Getter
public Vector3D getOffset() {
if (offsets.isEmpty()) return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public void handleModuleMessage(MPKPacketModuleMessage packet) {
@Override
public void handleSetLandingBlock(MPKPacketSetLandingBlock packet) {
LandingBlockGuiScreen.lbs.add(new LandingBlock(
BoundingBox3D.asBlockPos(new Vector3D(packet.getX(), packet.getY(), packet.getZ()))
BoundingBox3D.asBlockPos(new Vector3D(packet.getX(), packet.getY(), packet.getZ())),
LandingBlock.LandingMode.values()[packet.getLandingModeId()]
));
}

Expand Down
2 changes: 1 addition & 1 deletion fabric-1.21.6/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {

modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

implementation "com.github.MPKMod.MPKNetworkAPI:common:main-SNAPSHOT"
implementation "com.github.MPKMod.MPKNetworkAPI:common:1.0.0"
}

processResources {
Expand Down
2 changes: 1 addition & 1 deletion forge-1.8.9/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ unimined.minecraft {
}

dependencies {
implementation "com.github.MPKMod.MPKNetworkAPI:common:main-SNAPSHOT"
implementation "com.github.MPKMod.MPKNetworkAPI:common:1.0.0"
}

processResources {
Expand Down