-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'architectury-1.17.1' into architectury-1.18.1
- Loading branch information
Showing
8 changed files
with
55 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
common/src/main/java/com/unlikepaladin/pfm/mixin/PFMMixinPointOfInterestType.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
common/src/main/java/com/unlikepaladin/pfm/mixin/PFMMixinPointOfInterestTypeFactory.java
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
common/src/main/java/com/unlikepaladin/pfm/mixin/PFMPointOfInterestTypeAccessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.unlikepaladin.pfm.mixin; | ||
|
||
import net.minecraft.block.BlockState; | ||
import net.minecraft.world.poi.PointOfInterestType; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.Mutable; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
|
||
import java.util.Map; | ||
import java.util.Set; | ||
|
||
@Mixin(PointOfInterestType.class) | ||
public interface PFMPointOfInterestTypeAccessor { | ||
@Accessor("BLOCK_STATE_TO_POINT_OF_INTEREST_TYPE") | ||
static Map<BlockState, PointOfInterestType> getBlockStateToPointOfInterestType() { | ||
throw new AssertionError(); | ||
} | ||
|
||
@Mutable | ||
@Accessor("REGISTERED_STATES") | ||
static void setRegisteredStates(Set<BlockState> states) { | ||
throw new AssertionError(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters