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
package com.aether.client.model; | |
import com.mojang.datafixers.util.Pair; | |
import net.fabricmc.fabric.api.renderer.v1.Renderer; | |
import net.fabricmc.fabric.api.renderer.v1.RendererAccess; | |
import net.fabricmc.fabric.api.renderer.v1.material.BlendMode; | |
import net.fabricmc.fabric.api.renderer.v1.material.RenderMaterial; | |
import net.fabricmc.fabric.api.renderer.v1.mesh.Mesh; | |
import net.fabricmc.fabric.api.renderer.v1.mesh.MeshBuilder; | |
import net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView; |
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
package com.aether.client.model; | |
import com.mojang.datafixers.util.Pair; | |
import net.fabricmc.fabric.api.renderer.v1.Renderer; | |
import net.fabricmc.fabric.api.renderer.v1.RendererAccess; | |
import net.fabricmc.fabric.api.renderer.v1.mesh.Mesh; | |
import net.fabricmc.fabric.api.renderer.v1.mesh.MeshBuilder; | |
import net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView; | |
import net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter; | |
import net.fabricmc.fabric.api.renderer.v1.model.FabricBakedModel; |
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
package dev.hephaestus.shatteredsky.client.model; | |
import net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter; | |
import net.minecraft.client.texture.Sprite; | |
public class DecoratedEmitter { | |
private final QuadEmitter quadEmitter; | |
public DecoratedEmitter(QuadEmitter quadEmitter) { | |
this.quadEmitter = quadEmitter; |
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
package net.gudenau.minecraft.food.renderer.block; | |
import net.fabricmc.api.EnvType; | |
import net.fabricmc.api.Environment; | |
import net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler; | |
import net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry; | |
import net.gudenau.minecraft.food.block.entity.JarBlockEntity; | |
import net.minecraft.client.MinecraftClient; | |
import net.minecraft.client.render.*; | |
import net.minecraft.client.render.block.entity.BlockEntityRenderer; |
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
"C:\Program Files\Java\dcevm-11.0.9+2\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:61543,suspend=y,server=n -Dfabric.dli.config=C:\Users\Haven\IdeaProjects\minecraft-delightful\.gradle\loom-cache\launch.cfg -Dfabric.dli.env=client -Dfabric.dli.main=net.fabricmc.loader.launch.knot.KnotClient -javaagent:C:\Users\Haven\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\193.7288.26\plugins\Groovy\lib\agent\gragent.jar -javaagent:C:\Users\Haven\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\193.7288.26\plugins\java\lib\rt\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath C:\Users\Haven\IdeaProjects\minecraft-delightful\build\classes\java\main;C:\Users\Haven\IdeaProjects\minecraft-delightful\build\resources\main;C:\Users\Haven\.gradle\caches\fabric-loom\yarn-20w49a+build.6-v2-final.jar;C:\Users\Haven\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\20.1.0\2fcd1f3225bca0c4a7bc931142076f8c1e80993f\annotations-20.1.0.jar;C:\Users\Haven\.gradle\caches\modules-2\files-2.1\com.mojang\p |
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
@Environment(EnvType.CLIENT) | |
public interface BakedChunkSectionRenderer { | |
ConditionalEvent<ChunkRenderConditionContext, BakedChunkSectionRenderer> EVENT = | |
new ArrayBackedConditionalEvent<>(listeners -> { | |
return (context) -> { | |
ChunkRenderConditionContext conditionContext = new ChunkRenderConditionContext(context.startPos, context.endPos); | |
for (Pair<Function<ChunkRenderConditionContext, Boolean>, BakedChunkSectionRenderer> pair : listeners) { | |
if (pair.getLeft().apply(conditionContext)) { | |
pair.getRight().bake(context); | |
} |
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
package dev.hephaestus.shatteredsky; | |
import dev.hephaestus.shatteredsky.client.render.ShatteredSkyProperties; | |
import dev.hephaestus.shatteredsky.fluid.AtmosphereFluid; | |
import dev.hephaestus.shatteredsky.fluid.FluidBlock; | |
import dev.hephaestus.shatteredsky.mixin.client.render.RenderLayersAccessor; | |
import dev.hephaestus.shatteredsky.mixin.client.render.SkyPropertiesAccessor; | |
import net.fabricmc.api.ClientModInitializer; | |
import net.fabricmc.api.EnvType; | |
import net.fabricmc.api.Environment; |
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
package dev.hephaestus.shatteredsky.fluid; | |
import dev.hephaestus.shatteredsky.ShatteredSky; | |
import dev.hephaestus.shatteredsky.util.RegistryUtil; | |
import net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler; | |
import net.minecraft.block.Block; | |
import net.minecraft.block.BlockState; | |
import net.minecraft.block.entity.BlockEntity; | |
import net.minecraft.class_5423; | |
import net.minecraft.client.render.model.ModelLoader; |
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
package dev.hephaestus.sugarskulls.mixin.client; | |
import net.fabricmc.api.EnvType; | |
import net.fabricmc.api.Environment; | |
import net.minecraft.client.render.BackgroundRenderer; | |
import net.minecraft.util.math.Vec3d; | |
import org.objectweb.asm.Opcodes; | |
import org.spongepowered.asm.mixin.Mixin; | |
import org.spongepowered.asm.mixin.injection.At; | |
import org.spongepowered.asm.mixin.injection.Redirect; |
NewerOlder