This file contains hidden or 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
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
import KsPropTypes from 'ks/components/KsPropTypes'; | |
const statusTypes = { | |
none: 'none', | |
pending: 'pending', | |
rejected: 'rejected', | |
resolved: 'resolved', | |
}; |
This file contains hidden or 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.jamieswhiteshirt.developermode.client; | |
import com.mojang.blaze3d.platform.GLX; | |
import com.mojang.blaze3d.platform.GlStateManager; | |
import net.minecraft.client.MinecraftClient; | |
import net.minecraft.client.gl.GlFramebuffer; | |
import net.minecraft.client.render.BufferBuilder; | |
import net.minecraft.client.render.GuiLighting; | |
import net.minecraft.client.render.Tessellator; | |
import net.minecraft.client.render.VertexFormats; |
This file contains hidden or 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
public class ParticleFactoryRegistry { | |
private static final Constructor<? extends SpriteProvider> SIMPLE_SPRITE_PROVIDER_CONSTRUCTOR; | |
static { | |
try { | |
String intermediaryClassName = "net.minecraft.class_702$class_4090"; | |
String currentClassName = FabricLoader.getInstance().getMappingResolver().mapClassName("intermediary", intermediaryClassName); | |
@SuppressWarnings("unchecked") | |
Class<? extends SpriteProvider> clazz = (Class<? extends SpriteProvider>) Class.forName(currentClassName); | |
SIMPLE_SPRITE_PROVIDER_CONSTRUCTOR = clazz.getDeclaredConstructor(ParticleManager.class); | |
SIMPLE_SPRITE_PROVIDER_CONSTRUCTOR.setAccessible(true); |
OlderNewer