Skip to content

Commit

Permalink
Fix shadow remaps on ingredient mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxNeedsSnacks committed Aug 27, 2023
1 parent 3c717b3 commit 98a7725
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@Mixin(targets = "net/fabricmc/fabric/impl/recipe/ingredient/builtin/CombinedIngredient")
public abstract class CombinedIngredientMixin implements CustomIngredientKJS {
@Shadow
@Shadow(remap = false)
@Final
protected Ingredient[] ingredients;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

@Mixin(DifferenceIngredient.class)
public abstract class DifferenceIngredientMixin implements CustomIngredientKJS {
@Shadow
@Shadow(remap = false)
@Final
private Ingredient base;

@Shadow
@Shadow(remap = false)
@Final
private Ingredient subtracted;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@Mixin(NbtIngredient.class)
public abstract class NbtIngredientMixin implements CustomIngredientKJS {
@Shadow
@Shadow(remap = false)
@Final
private Ingredient base;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

@Mixin(DifferenceIngredient.class)
public abstract class DifferenceIngredientMixin extends AbstractIngredient {
@Shadow
@Shadow(remap = false)
@Final
private Ingredient base;

@Shadow
@Shadow(remap = false)
@Final
private Ingredient subtracted;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

@Mixin({CompoundIngredient.class, IntersectionIngredient.class})
public abstract class IngredientsWithChildrenMixin extends AbstractIngredient {
@Shadow
@Shadow(remap = false)
private List<Ingredient> children;

@Override
Expand Down

0 comments on commit 98a7725

Please sign in to comment.