Created
June 13, 2021 19:50
-
-
Save Shadows-of-Fire/d42c44231e6568562c104fec0e1993ad to your computer and use it in GitHub Desktop.
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 shadows.darkohax2; | |
import org.apache.logging.log4j.LogManager; | |
import org.apache.logging.log4j.Logger; | |
import net.minecraftforge.fml.common.Mod; | |
@Mod(DarkoHaxRP.MODID) | |
public class DarkoHaxRP { | |
public static final String MODID = "darkohax2"; | |
public static final Logger LOG = LogManager.getLogger(MODID); | |
} |
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 shadows.darkohax2.mixin; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.concurrent.ConcurrentHashMap; | |
import org.spongepowered.asm.mixin.Mixin; | |
import org.spongepowered.asm.mixin.Shadow; | |
import com.refinedmods.refinedpipes.render.PipeBakedModel; | |
import com.refinedmods.refinedpipes.render.PipeState; | |
import net.minecraft.client.renderer.model.BakedQuad; | |
@Mixin(PipeBakedModel.class) | |
public abstract class MixinPipeBakedModel { | |
@Shadow(remap = false) | |
private final Map<PipeState, List<BakedQuad>> cache = new ConcurrentHashMap<>(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment