Skip to content

Commit 9d594db

Browse files
committed
Added transitive accesss wideners
1 parent be28065 commit 9d594db

File tree

2 files changed

+90
-89
lines changed

2 files changed

+90
-89
lines changed

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"mixins": [
2626
"${modId}.mixins.common.json"
2727
],
28+
"accessWidener": "${modId}.accesswidener",
2829
"depends": {
2930
"fabricloader": ">=${fabricLoaderVersion}",
3031
"minecraft": "~${minecraftVersion}",
Lines changed: 89 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,108 @@
1-
accessWidener v2 named
1+
accessWidener v2 named
22
# MC
3-
accessible field net/minecraft/client/MinecraftClient itemUseCooldown I
4-
accessible field net/minecraft/client/MinecraftClient attackCooldown I
5-
accessible field net/minecraft/client/MinecraftClient paused Z
6-
accessible field net/minecraft/client/MinecraftClient thread Ljava/lang/Thread;
7-
accessible field net/minecraft/client/MinecraftClient uptimeInTicks J
8-
accessible field net/minecraft/client/input/Input movementVector Lnet/minecraft/util/math/Vec2f;
9-
accessible field net/minecraft/client/MinecraftClient renderTaskQueue Ljava/util/Queue;
10-
accessible field net/minecraft/client/option/KeyBinding boundKey Lnet/minecraft/client/util/InputUtil$Key;
11-
accessible method net/minecraft/client/MinecraftClient getWindowTitle ()Ljava/lang/String;
3+
transitive-accessible field net/minecraft/client/MinecraftClient itemUseCooldown I
4+
transitive-accessible field net/minecraft/client/MinecraftClient attackCooldown I
5+
transitive-accessible field net/minecraft/client/MinecraftClient paused Z
6+
transitive-accessible field net/minecraft/client/MinecraftClient thread Ljava/lang/Thread;
7+
transitive-accessible field net/minecraft/client/MinecraftClient uptimeInTicks J
8+
transitive-accessible field net/minecraft/client/input/Input movementVector Lnet/minecraft/util/math/Vec2f;
9+
transitive-accessible field net/minecraft/client/MinecraftClient renderTaskQueue Ljava/util/Queue;
10+
transitive-accessible field net/minecraft/client/option/KeyBinding boundKey Lnet/minecraft/client/util/InputUtil$Key;
11+
transitive-accessible method net/minecraft/client/MinecraftClient getWindowTitle ()Ljava/lang/String;
1212

1313
# World
14-
accessible field net/minecraft/client/world/ClientWorld entityManager Lnet/minecraft/world/entity/ClientEntityManager;
15-
accessible field net/minecraft/world/entity/ClientEntityManager cache Lnet/minecraft/world/entity/SectionedEntityCache;
16-
accessible field net/minecraft/world/entity/EntityTrackingSection collection Lnet/minecraft/util/collection/TypeFilterableList;
17-
accessible field net/minecraft/client/world/ClientChunkManager chunks Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;
18-
accessible field net/minecraft/client/world/ClientChunkManager$ClientChunkMap chunks Ljava/util/concurrent/atomic/AtomicReferenceArray;
19-
accessible field net/minecraft/client/network/ClientPlayerInteractionManager currentBreakingProgress F
20-
accessible field net/minecraft/client/network/ClientPlayerInteractionManager blockBreakingCooldown I
21-
accessible field net/minecraft/client/network/ClientPlayerInteractionManager currentBreakingPos Lnet/minecraft/util/math/BlockPos;
22-
accessible method net/minecraft/item/BlockItem place (Lnet/minecraft/item/ItemPlacementContext;Lnet/minecraft/block/BlockState;)Z
23-
accessible method net/minecraft/item/BlockItem placeFromNbt (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
24-
accessible method net/minecraft/item/BlockItem postPlacement (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/block/BlockState;)Z
25-
accessible method net/minecraft/item/BlockItem getPlaceSound (Lnet/minecraft/block/BlockState;)Lnet/minecraft/sound/SoundEvent;
26-
accessible field net/minecraft/state/State owner Ljava/lang/Object;
14+
transitive-accessible field net/minecraft/client/world/ClientWorld entityManager Lnet/minecraft/world/entity/ClientEntityManager;
15+
transitive-accessible field net/minecraft/world/entity/ClientEntityManager cache Lnet/minecraft/world/entity/SectionedEntityCache;
16+
transitive-accessible field net/minecraft/world/entity/EntityTrackingSection collection Lnet/minecraft/util/collection/TypeFilterableList;
17+
transitive-accessible field net/minecraft/client/world/ClientChunkManager chunks Lnet/minecraft/client/world/ClientChunkManager$ClientChunkMap;
18+
transitive-accessible field net/minecraft/client/world/ClientChunkManager$ClientChunkMap chunks Ljava/util/concurrent/atomic/AtomicReferenceArray;
19+
transitive-accessible field net/minecraft/client/network/ClientPlayerInteractionManager currentBreakingProgress F
20+
transitive-accessible field net/minecraft/client/network/ClientPlayerInteractionManager blockBreakingCooldown I
21+
transitive-accessible field net/minecraft/client/network/ClientPlayerInteractionManager currentBreakingPos Lnet/minecraft/util/math/BlockPos;
22+
transitive-accessible method net/minecraft/item/BlockItem place (Lnet/minecraft/item/ItemPlacementContext;Lnet/minecraft/block/BlockState;)Z
23+
transitive-accessible method net/minecraft/item/BlockItem placeFromNbt (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
24+
transitive-accessible method net/minecraft/item/BlockItem postPlacement (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/block/BlockState;)Z
25+
transitive-accessible method net/minecraft/item/BlockItem getPlaceSound (Lnet/minecraft/block/BlockState;)Lnet/minecraft/sound/SoundEvent;
26+
transitive-accessible field net/minecraft/state/State owner Ljava/lang/Object;
2727

2828
# Entity
29-
accessible field net/minecraft/entity/projectile/FireworkRocketEntity shooter Lnet/minecraft/entity/LivingEntity;
30-
accessible method net/minecraft/entity/Entity movementInputToVelocity (Lnet/minecraft/util/math/Vec3d;FF)Lnet/minecraft/util/math/Vec3d;
31-
accessible method net/minecraft/entity/passive/AbstractHorseEntity setHorseFlag (IZ)V
32-
accessible field net/minecraft/entity/LivingEntity lastAttackedTicks I
33-
accessible method net/minecraft/entity/Entity setFlag (IZ)V
34-
accessible field net/minecraft/client/network/AbstractClientPlayerEntity playerListEntry Lnet/minecraft/client/network/PlayerListEntry;
35-
accessible field net/minecraft/entity/LivingEntity jumpingCooldown I
36-
accessible field net/minecraft/entity/Entity pos Lnet/minecraft/util/math/Vec3d;
37-
accessible field net/minecraft/client/network/ClientPlayerInteractionManager lastSelectedSlot I
38-
accessible method net/minecraft/entity/LivingEntity modifyAppliedDamage (Lnet/minecraft/entity/damage/DamageSource;F)F
39-
accessible method net/minecraft/entity/LivingEntity applyArmorToDamage (Lnet/minecraft/entity/damage/DamageSource;F)F
40-
accessible method net/minecraft/entity/Entity isAlwaysInvulnerableTo (Lnet/minecraft/entity/damage/DamageSource;)Z
41-
accessible field net/minecraft/entity/player/PlayerInventory equipment Lnet/minecraft/entity/EntityEquipment;
42-
accessible method net/minecraft/client/network/ClientPlayerEntity applyMovementSpeedFactors (Lnet/minecraft/util/math/Vec2f;)Lnet/minecraft/util/math/Vec2f;
43-
accessible field net/minecraft/entity/EntityEquipment map Ljava/util/EnumMap;
44-
accessible method net/minecraft/entity/LivingEntity getHandSwingDuration ()I
45-
accessible method net/minecraft/client/network/ClientPlayerInteractionManager syncSelectedSlot ()V
46-
accessible method net/minecraft/util/math/Direction listClosest (Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)[Lnet/minecraft/util/math/Direction;
47-
accessible field net/minecraft/client/network/ClientPlayerInteractionManager gameMode Lnet/minecraft/world/GameMode;
29+
transitive-accessible field net/minecraft/entity/projectile/FireworkRocketEntity shooter Lnet/minecraft/entity/LivingEntity;
30+
transitive-accessible method net/minecraft/entity/Entity movementInputToVelocity (Lnet/minecraft/util/math/Vec3d;FF)Lnet/minecraft/util/math/Vec3d;
31+
transitive-accessible method net/minecraft/entity/passive/AbstractHorseEntity setHorseFlag (IZ)V
32+
transitive-accessible field net/minecraft/entity/LivingEntity lastAttackedTicks I
33+
transitive-accessible method net/minecraft/entity/Entity setFlag (IZ)V
34+
transitive-accessible field net/minecraft/client/network/AbstractClientPlayerEntity playerListEntry Lnet/minecraft/client/network/PlayerListEntry;
35+
transitive-accessible field net/minecraft/entity/LivingEntity jumpingCooldown I
36+
transitive-accessible field net/minecraft/entity/Entity pos Lnet/minecraft/util/math/Vec3d;
37+
transitive-accessible field net/minecraft/client/network/ClientPlayerInteractionManager lastSelectedSlot I
38+
transitive-accessible method net/minecraft/entity/LivingEntity modifyAppliedDamage (Lnet/minecraft/entity/damage/DamageSource;F)F
39+
transitive-accessible method net/minecraft/entity/LivingEntity applyArmorToDamage (Lnet/minecraft/entity/damage/DamageSource;F)F
40+
transitive-accessible method net/minecraft/entity/Entity isAlwaysInvulnerableTo (Lnet/minecraft/entity/damage/DamageSource;)Z
41+
transitive-accessible field net/minecraft/entity/player/PlayerInventory equipment Lnet/minecraft/entity/EntityEquipment;
42+
transitive-accessible method net/minecraft/client/network/ClientPlayerEntity applyMovementSpeedFactors (Lnet/minecraft/util/math/Vec2f;)Lnet/minecraft/util/math/Vec2f;
43+
transitive-accessible field net/minecraft/entity/EntityEquipment map Ljava/util/EnumMap;
44+
transitive-accessible method net/minecraft/entity/LivingEntity getHandSwingDuration ()I
45+
transitive-accessible method net/minecraft/client/network/ClientPlayerInteractionManager syncSelectedSlot ()V
46+
transitive-accessible method net/minecraft/util/math/Direction listClosest (Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)[Lnet/minecraft/util/math/Direction;
47+
transitive-accessible field net/minecraft/client/network/ClientPlayerInteractionManager gameMode Lnet/minecraft/world/GameMode;
4848

4949
# Camera
50-
accessible method net/minecraft/client/render/Camera setPos (DDD)V
51-
accessible method net/minecraft/client/render/Camera setRotation (FF)V
50+
transitive-accessible method net/minecraft/client/render/Camera setPos (DDD)V
51+
transitive-accessible method net/minecraft/client/render/Camera setRotation (FF)V
5252

5353
# Renderer
54-
accessible field net/minecraft/client/texture/NativeImage pointer J
55-
accessible class net/minecraft/client/gui/screen/SplashOverlay$LogoTexture
56-
accessible field com/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer indexBuffer Lcom/mojang/blaze3d/buffers/GpuBuffer;
57-
accessible field net/minecraft/client/gl/GlGpuBuffer id I
54+
transitive-accessible field net/minecraft/client/texture/NativeImage pointer J
55+
transitive-accessible class net/minecraft/client/gui/screen/SplashOverlay$LogoTexture
56+
transitive-accessible field com/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer indexBuffer Lcom/mojang/blaze3d/buffers/GpuBuffer;
57+
transitive-accessible field net/minecraft/client/gl/GlGpuBuffer id I
5858

5959
# Text
60-
accessible field net/minecraft/text/Style color Lnet/minecraft/text/TextColor;
61-
accessible field net/minecraft/text/Style bold Ljava/lang/Boolean;
62-
accessible field net/minecraft/text/Style italic Ljava/lang/Boolean;
63-
accessible field net/minecraft/text/Style underlined Ljava/lang/Boolean;
64-
accessible field net/minecraft/text/Style strikethrough Ljava/lang/Boolean;
65-
accessible field net/minecraft/text/Style obfuscated Ljava/lang/Boolean;
66-
accessible field net/minecraft/text/Style clickEvent Lnet/minecraft/text/ClickEvent;
67-
accessible field net/minecraft/text/Style hoverEvent Lnet/minecraft/text/HoverEvent;
68-
accessible field net/minecraft/text/Style insertion Ljava/lang/String;
69-
accessible field net/minecraft/text/Style font Lnet/minecraft/util/Identifier;
70-
accessible method net/minecraft/text/Style <init> (Lnet/minecraft/text/TextColor;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lnet/minecraft/text/ClickEvent;Lnet/minecraft/text/HoverEvent;Ljava/lang/String;Lnet/minecraft/util/Identifier;)V
60+
transitive-accessible field net/minecraft/text/Style color Lnet/minecraft/text/TextColor;
61+
transitive-accessible field net/minecraft/text/Style bold Ljava/lang/Boolean;
62+
transitive-accessible field net/minecraft/text/Style italic Ljava/lang/Boolean;
63+
transitive-accessible field net/minecraft/text/Style underlined Ljava/lang/Boolean;
64+
transitive-accessible field net/minecraft/text/Style strikethrough Ljava/lang/Boolean;
65+
transitive-accessible field net/minecraft/text/Style obfuscated Ljava/lang/Boolean;
66+
transitive-accessible field net/minecraft/text/Style clickEvent Lnet/minecraft/text/ClickEvent;
67+
transitive-accessible field net/minecraft/text/Style hoverEvent Lnet/minecraft/text/HoverEvent;
68+
transitive-accessible field net/minecraft/text/Style insertion Ljava/lang/String;
69+
transitive-accessible field net/minecraft/text/Style font Lnet/minecraft/util/Identifier;
70+
transitive-accessible method net/minecraft/text/Style <init> (Lnet/minecraft/text/TextColor;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lnet/minecraft/text/ClickEvent;Lnet/minecraft/text/HoverEvent;Ljava/lang/String;Lnet/minecraft/util/Identifier;)V
7171

7272
# Network
73-
accessible field net/minecraft/client/network/ClientPlayNetworkHandler playerListEntries Ljava/util/Map;
74-
accessible field net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket entityId I
75-
accessible field net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket type Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler;
76-
accessible class net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler
77-
accessible class net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractAtHandler
78-
accessible field net/minecraft/network/packet/s2c/play/EntityS2CPacket id I
79-
accessible method net/minecraft/network/ClientConnection handlePacket (Lnet/minecraft/network/packet/Packet;Lnet/minecraft/network/listener/PacketListener;)V
80-
accessible field net/minecraft/network/ClientConnection packetsSentCounter I
81-
accessible field net/minecraft/network/ClientConnection packetsReceivedCounter I
82-
accessible field net/minecraft/network/packet/c2s/login/LoginKeyC2SPacket encryptedSecretKey [B
83-
accessible field net/minecraft/network/packet/c2s/login/LoginKeyC2SPacket nonce [B
84-
accessible method net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket <init> (IZLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler;)V
85-
accessible field net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket ATTACK Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler;
86-
accessible method net/minecraft/network/packet/BrandCustomPayload write (Lnet/minecraft/network/PacketByteBuf;)V
87-
accessible method net/minecraft/client/network/ClientPlayerInteractionManager sendSequencedPacket (Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/client/network/SequencedPacketCreator;)V
88-
accessible field net/minecraft/client/world/ClientWorld pendingUpdateManager Lnet/minecraft/client/network/PendingUpdateManager;
73+
transitive-accessible field net/minecraft/client/network/ClientPlayNetworkHandler playerListEntries Ljava/util/Map;
74+
transitive-accessible field net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket entityId I
75+
transitive-accessible field net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket type Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler;
76+
transitive-accessible class net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler
77+
transitive-accessible class net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractAtHandler
78+
transitive-accessible field net/minecraft/network/packet/s2c/play/EntityS2CPacket id I
79+
transitive-accessible method net/minecraft/network/ClientConnection handlePacket (Lnet/minecraft/network/packet/Packet;Lnet/minecraft/network/listener/PacketListener;)V
80+
transitive-accessible field net/minecraft/network/ClientConnection packetsSentCounter I
81+
transitive-accessible field net/minecraft/network/ClientConnection packetsReceivedCounter I
82+
transitive-accessible field net/minecraft/network/packet/c2s/login/LoginKeyC2SPacket encryptedSecretKey [B
83+
transitive-accessible field net/minecraft/network/packet/c2s/login/LoginKeyC2SPacket nonce [B
84+
transitive-accessible method net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket <init> (IZLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler;)V
85+
transitive-accessible field net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket ATTACK Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler;
86+
transitive-accessible method net/minecraft/network/packet/BrandCustomPayload write (Lnet/minecraft/network/PacketByteBuf;)V
87+
transitive-accessible method net/minecraft/client/network/ClientPlayerInteractionManager sendSequencedPacket (Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/client/network/SequencedPacketCreator;)V
88+
transitive-accessible field net/minecraft/client/world/ClientWorld pendingUpdateManager Lnet/minecraft/client/network/PendingUpdateManager;
8989

9090
# Math
91-
accessible method net/minecraft/util/math/Vec3i setX (I)Lnet/minecraft/util/math/Vec3i;
92-
accessible method net/minecraft/util/math/Vec3i setY (I)Lnet/minecraft/util/math/Vec3i;
93-
accessible method net/minecraft/util/math/Vec3i setZ (I)Lnet/minecraft/util/math/Vec3i;
91+
transitive-accessible method net/minecraft/util/math/Vec3i setX (I)Lnet/minecraft/util/math/Vec3i;
92+
transitive-accessible method net/minecraft/util/math/Vec3i setY (I)Lnet/minecraft/util/math/Vec3i;
93+
transitive-accessible method net/minecraft/util/math/Vec3i setZ (I)Lnet/minecraft/util/math/Vec3i;
9494

9595
# Debug
96-
accessible field net/minecraft/client/gui/hud/DebugHud showDebugHud Z
97-
accessible field net/minecraft/client/gui/hud/DebugHud renderingChartVisible Z
98-
accessible field net/minecraft/client/gui/hud/DebugHud renderingAndTickChartsVisible Z
99-
accessible field net/minecraft/client/gui/hud/DebugHud packetSizeAndPingChartsVisible Z
100-
accessible field net/minecraft/client/render/debug/DebugRenderer showChunkBorder Z
101-
accessible field net/minecraft/client/render/debug/DebugRenderer showOctree Z
96+
transitive-accessible field net/minecraft/client/gui/hud/DebugHud showDebugHud Z
97+
transitive-accessible field net/minecraft/client/gui/hud/DebugHud renderingChartVisible Z
98+
transitive-accessible field net/minecraft/client/gui/hud/DebugHud renderingAndTickChartsVisible Z
99+
transitive-accessible field net/minecraft/client/gui/hud/DebugHud packetSizeAndPingChartsVisible Z
100+
transitive-accessible field net/minecraft/client/render/debug/DebugRenderer showChunkBorder Z
101+
transitive-accessible field net/minecraft/client/render/debug/DebugRenderer showOctree Z
102102

103103
# Other
104-
accessible field net/minecraft/structure/StructureTemplate blockInfoLists Ljava/util/List;
105-
accessible method net/minecraft/item/BlockItem getPlacementState (Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
106-
accessible method net/minecraft/block/AbstractBlock getPickStack (Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/item/ItemStack;
107-
accessible field net/minecraft/client/gui/screen/ingame/HandledScreen focusedSlot Lnet/minecraft/screen/slot/Slot;
108-
accessible field net/minecraft/registry/SimpleRegistry frozen Z
104+
transitive-accessible field net/minecraft/structure/StructureTemplate blockInfoLists Ljava/util/List;
105+
transitive-accessible method net/minecraft/item/BlockItem getPlacementState (Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
106+
transitive-accessible method net/minecraft/block/AbstractBlock getPickStack (Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/item/ItemStack;
107+
transitive-accessible field net/minecraft/client/gui/screen/ingame/HandledScreen focusedSlot Lnet/minecraft/screen/slot/Slot;
108+
transitive-accessible field net/minecraft/registry/SimpleRegistry frozen Z

0 commit comments

Comments
 (0)