Skip to content

Commit

Permalink
there
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Sep 21, 2024
1 parent 35d32c3 commit 4ab1408
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void onResourceManagerReload(@NotNull ResourceManager resourceManager) {
HttpTexture httpTexture = new HttpTexture(
CAPE_CACHE_PATH.resolve(capeLocation.getNamespace()).resolve(capeLocation.getPath() + ".png").toFile(),
textureURL,
DefaultPlayerSkin.getDefaultTexture(),
DefaultPlayerSkin.getDefaultSkin(),
false,
() -> completableFuture.complete(capeTextureLocation)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class CapeLayerMixin {
method = "render*",
at = @At(
value = "INVOKE",
target = "Lnet/minecraft/client/resources/PlayerSkin;capeTexture()Lnet/minecraft/resources/ResourceLocation;",
target = "Lnet/minecraft/client/player/AbstractClientPlayer;getCloakTextureLocation()Lnet/minecraft/resources/ResourceLocation;",
ordinal = 0
)
)
Expand All @@ -62,7 +62,7 @@ public class CapeLayerMixin {
method = "render*",
at = @At(
value = "INVOKE",
target = "Lnet/minecraft/client/resources/PlayerSkin;capeTexture()Lnet/minecraft/resources/ResourceLocation;",
target = "Lnet/minecraft/client/player/AbstractClientPlayer;getCloakTextureLocation()Lnet/minecraft/resources/ResourceLocation;",
ordinal = 1
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ElytraLayerMixin {
method = "render*",
at = @At(
value = "INVOKE",
target = "Lnet/minecraft/client/resources/PlayerSkin;capeTexture()Lnet/minecraft/resources/ResourceLocation;",
target = "Lnet/minecraft/client/player/AbstractClientPlayer;getCloakTextureLocation()Lnet/minecraft/resources/ResourceLocation;",
ordinal = 0
)
)
Expand All @@ -62,7 +62,7 @@ public class ElytraLayerMixin {
method = "render*",
at = @At(
value = "INVOKE",
target = "Lnet/minecraft/client/resources/PlayerSkin;capeTexture()Lnet/minecraft/resources/ResourceLocation;",
target = "Lnet/minecraft/client/player/AbstractClientPlayer;getCloakTextureLocation()Lnet/minecraft/resources/ResourceLocation;",
ordinal = 1
)
)
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/frozenlib.accesswidener
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,6 @@ transitive-accessible field net/minecraft/client/renderer/LevelRenderer cullingF

# Client Level
transitive-accessible class net/minecraft/client/multiplayer/ClientLevel$EntityCallbacks

# Bruh
accessible field net/minecraft/server/network/ServerGamePacketListenerImpl connection Lnet/minecraft/network/Connection;
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ public void onInitialize() {
applyDataFixes(FabricLoader.getInstance().getModContainer(MOD_ID).orElseThrow());
LOGGER.info("The test toggle value is {}", TestConfig.get().testToggle);
LOGGER.info("The test vec3 value is {}", TestConfig.get().typedVecList);
Holder<SoundEvent> sound = TestConfig.get().randomSound.value();
LOGGER.info("The test soundevent value is {} and its ID is {}", sound, sound.unwrapKey().orElseThrow().location());

BlockScheduledTicks.TICKS.put(Blocks.DIAMOND_BLOCK, (state, world, pos, random) -> world.setBlock(pos,
Blocks.BEDROCK.defaultBlockState(), 3));
Expand Down

0 comments on commit 4ab1408

Please sign in to comment.