Skip to content

Commit

Permalink
em
Browse files Browse the repository at this point in the history
  • Loading branch information
xiewuzhiying committed Sep 29, 2024
1 parent 53e19b0 commit bb3d6fb
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 284 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ public abstract class MixinDyedWing {
cancellable = true
)
private void onUse(BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit, CallbackInfoReturnable<InteractionResult> cir) {
IPlacementHelper placementHelper = null;
if(((DyedWing)(Object)this) instanceof WingBlock) {
final IPlacementHelper placementHelper;
if((DyedWing)(Object)this instanceof WingBlock) {
placementHelper = PlacementHelpers.get(vs_addition$wingPlacementHelperId);
} else if(((DyedWing)(Object)this) instanceof FlapBlock) {
} else if((DyedWing)(Object)this instanceof FlapBlock) {
placementHelper = PlacementHelpers.get(vs_addition$flapPlacementHelperId);
} else {
return;
}
if (placementHelper != null && !player.isShiftKeyDown() && player.mayBuild()) {
if (!player.isShiftKeyDown() && player.mayBuild()) {
ItemStack heldItem = player.getItemInHand(hand);
if (placementHelper.matchesItem(heldItem)) {
placementHelper.getOffset(player, level, state, pos, hit)
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion common/src/main/resources/vs_addition-common.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"ftbchunks.client.MixinFTBChunksClient",
"journeymap.client.MixinMiniMap",
"kontraption.client.MixinKontraptionClientTickHandler",
"minecraft.client.MixinParticle",
"vs_clockwork.client.flap_bearing.MixinFlapBearingRenderer",
"xaeros_minimap.client.MixinMinimapRenderer"
],
Expand Down
6 changes: 3 additions & 3 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ dependencies {
modImplementation("maven.modrinth:createaddition:vV4bZmhm")

// VoxelMap Updated
modImplementation("maven.modrinth:voxelmap-updated:1.20.1-1.12.13")
modCompileOnly("maven.modrinth:voxelmap-updated:1.20.1-1.12.13")

// Sodium
modImplementation("maven.modrinth:sodium:mc1.20.1-0.5.11")
modCompileOnly("maven.modrinth:sodium:mc1.20.1-0.5.11")

// Presence Footsteps
modImplementation("maven.modrinth:presence-footsteps:1.9.4+1.20.1")
modCompileOnly("maven.modrinth:presence-footsteps:1.9.4+1.20.1")
}

processResources {
Expand Down
6 changes: 3 additions & 3 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ dependencies {
modImplementation("maven.modrinth:net-music:1IkUTusQ")

// Embeddium
modImplementation("maven.modrinth:embeddium:0.3.18+mc1.20.1")
modImplementation("maven.modrinth:embeddiumplus:1.20.1-v1.2.13")
modCompileOnly("maven.modrinth:embeddium:0.3.18+mc1.20.1")
modCompileOnly("maven.modrinth:embeddiumplus:1.20.1-v1.2.13")

// Presence Footsteps
modImplementation files("jars/PresenceFootsteps-1.20.1-1.9.1-beta.1.jar")
modCompileOnly files("jars/PresenceFootsteps-1.20.1-1.9.1-beta.1.jar")
}

processResources {
Expand Down

0 comments on commit bb3d6fb

Please sign in to comment.