-
-
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.16.5
# Conflicts: # common/src/main/resources/pfm.accesswidener
- Loading branch information
Showing
4 changed files
with
30 additions
and
6 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
accessWidener v1 named | ||
|
||
accessible class net/minecraft/recipe/CookingRecipeSerializer$RecipeFactory | ||
accessible field net/minecraft/world/poi/PointOfInterestType BED_STATES Ljava/util/Set; | ||
accessible method net/minecraft/world/poi/PointOfInterestType setup (Lnet/minecraft/world/poi/PointOfInterestType;)Lnet/minecraft/world/poi/PointOfInterestType; | ||
mutable field net/minecraft/world/poi/PointOfInterestType HOME Lnet/minecraft/world/poi/PointOfInterestType; | ||
accessible method net/minecraft/data/server/BlockLootTableGenerator drops (Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/loot/LootTable$Builder; | ||
accessible method net/minecraft/data/server/BlockLootTableGenerator dropsWithProperty (Lnet/minecraft/block/Block;Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/loot/LootTable$Builder; | ||
accessible class net/minecraft/data/server/AbstractTagProvider$ObjectBuilder | ||
accessible method net/minecraft/client/render/item/ItemRenderer renderBakedItemModel (Lnet/minecraft/client/render/model/BakedModel;Lnet/minecraft/item/ItemStack;IILnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;)V | ||
accessible field net/minecraft/client/resource/language/LanguageManager field_25291 Lnet/minecraft/client/resource/language/LanguageDefinition; | ||
accessible field net/minecraft/block/AbstractBlock$Settings material Lnet/minecraft/block/Material; | ||
accessible field net/minecraft/world/poi/PointOfInterestType blockStates Ljava/util/Set; | ||
mutable field net/minecraft/world/poi/PointOfInterestType blockStates Ljava/util/Set; | ||
accessible field net/minecraft/world/poi/PointOfInterestType BLOCK_STATE_TO_POINT_OF_INTEREST_TYPE Ljava/util/Map; | ||
mutable field net/minecraft/world/poi/PointOfInterestType blockStates Ljava/util/Set; |