Move everything to com.replaymod package Add KeyBindingRegistry and SettingsRegistry Recreate settings GUI with new GUI API and dynamically from SettingsRegistry Use ReplayFile from ReplayStudio ReplayHandler is now object oriented Add GuiOverlay, GuiSlider and GuiTexturedButton to GUI API Rewrite both overlays to use new GUI API Fix size capping in vertical and horizontal layout Allow CustomLayouts to have parents Fix tooltip rendering when close to screen border Allow changing of columns in GridLayout
20 lines
679 B
Java
20 lines
679 B
Java
package eu.crushedpixel.replaymod.mixin;
|
|
|
|
import net.minecraft.client.renderer.entity.Render;
|
|
import net.minecraft.client.renderer.entity.RenderArrow;
|
|
import net.minecraft.client.renderer.entity.RenderManager;
|
|
import org.spongepowered.asm.mixin.Mixin;
|
|
|
|
@Mixin(RenderArrow.class)
|
|
public abstract class MixinRenderArrow extends Render {
|
|
protected MixinRenderArrow(RenderManager renderManager) {
|
|
super(renderManager);
|
|
}
|
|
|
|
// TODO
|
|
// @Override
|
|
// public boolean shouldRender(Entity entity, ICamera camera, double camX, double camY, double camZ) {
|
|
// return ReplayHandler.isInReplay() || super.shouldRender(entity, camera, camX, camY, camZ);
|
|
// }
|
|
}
|