Skip to content

Commit

Permalink
Add missing access wideners and transformers
Browse files Browse the repository at this point in the history
Fixes crash when placing redstone dust on neoforge
  • Loading branch information
2No2Name committed Dec 4, 2024
1 parent 167b46f commit f3a6089
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions common/src/main/resources/lithium.accesswidener
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ accessible method net/minecraft/world/level/chunk/PalettedContainer$Strategy cal
accessible method net/minecraft/world/level/material/Fluid isEmpty ()Z
accessible method net/minecraft/world/level/pathfinder/WalkNodeEvaluator getPathTypeFromState (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/pathfinder/PathType;
accessible method net/minecraft/world/level/redstone/RedstoneWireEvaluator getWireSignal (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)I
accessible method net/minecraft/world/level/redstone/ExperimentalRedstoneWireEvaluator getWireSignal (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)I
accessible method net/minecraft/world/phys/shapes/Shapes findBits (DD)I
accessible method net/minecraft/world/ticks/SavedTick saveTick (Ljava/lang/String;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/ticks/TickPriority;)Lnet/minecraft/nbt/CompoundTag;
5 changes: 3 additions & 2 deletions neoforge/src/main/resources/META-INF/accesstransformer.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public net.minecraft.world.entity.ai.village.poi.PoiSection isValid()Z
public net.minecraft.world.level.chunk.PalettedContainer$Configuration <init>(Lnet.minecraft/world/level/chunk/Palette$Factory;I)V
public net.minecraft.world.level.chunk.PalettedContainer$Strategy <init>(I)V
public net.minecraft.world.level.chunk.PalettedContainer$Strategy calculateBitsForSerialization(Lnet/minecraft/core/IdMap;I)I
#public net.minecraft.world.level.material.Fluid isEmpty()Z
public net.minecraft.world.level.pathfinder.WalkNodeEvaluator getPathTypeFromState(Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/pathfinder/PathType;
public net.minecraft.world.phys.shapes.Shapes findBits(DD)I
public net.minecraft.world.level.material.FlowingFluid$BlockStatePairKey
public net.minecraft.world.ticks.SavedTick saveTick(Ljava/lang/String;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/ticks/TickPriority;)Lnet/minecraft/nbt/CompoundTag;
public net.minecraft.world.ticks.SavedTick saveTick(Ljava/lang/String;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/ticks/TickPriority;)Lnet/minecraft/nbt/CompoundTag;
public net.minecraft.world.level.redstone.RedstoneWireEvaluator getWireSignal(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)I
public net.minecraft.world.level.redstone.ExperimentalRedstoneWireEvaluator getWireSignal(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)I

0 comments on commit f3a6089

Please sign in to comment.