Skip to content

Instantly share code, notes, and snippets.

@Machine-Maker
Machine-Maker / registry-modification-api.md
Last active January 3, 2024 15:35
Registry Modification

Registry Modification API

The Registry Modification API is a framework for adding future API which easily allows mutating or adding entries into both the built-in registries and the data-driven registries.

There are several definitions to cover first:

Definitions

Built-in Registry: A registry that is unmodifiable by datapacks. They are created/loaded via static initializers

@myoun
myoun / Minecraft Optimization Mods.md
Last active March 2, 2024 08:34
마인크래프트 최적화 모드 리스트

마인크래프트 최적화 모드 리스트

이 Gist에서는 마인크래프트 성능을 향상시켜줄 모드들을 소개하고 있습니다.
버전별로 나눠져 있으니, 원하는 버전으로 가셔서 필요하신 모드를 다운받으시면 됩니다.

참고로, 버전은 최신버전부터 오래된 버전 순입니다.

많은 버전을 지원하고, 포지와 페브릭에서 둘다 사용가능하며, 독립적으로도 사용 가능한 옵티파인은 따로 링크를 두겠습니다.

🎵 Updated automatically from Spotify
[Thursday's Child Has Far To Go] - TOMORROW X TOGETHER
[꿈] - Lee Mujin
[Hero] - WH3N
[아드레날린 (Adrenaline)] - Girls' Generation-TTS
[HOT] - SEVENTEEN
[HOME;RUN] - SEVENTEEN
[Humidifier] - Han Yo Han
[Your Dog Loves You (Feat. Crush)] - Colde, Crush
[will be happy] - J_ust
const std = @import("std");
const net = std.net;
const fs = std.fs;
const os = std.os;
pub const io_mode = .evented;
pub fn main() anyerror!void {
var general_purpose_allocator = std.heap.GeneralPurposeAllocator(.{}){};
const allocator = &general_purpose_allocator.allocator;
@satanas
satanas / scrolling_bg.md
Last active December 29, 2023 01:07
Scrolling Background in Unity

Scrolling Background in 2D

  1. Select the original Texture (not the GameObject).
  2. Change Texture Type to Sprite (2D and UI).
  3. Change Wrap Mode to Repeat.
  4. Click Apply.
  5. Create a Quad object: GameObject -> 3D Object ->Quad.
  6. Scale the Quad to the size you want.
  7. Create a light: GameObject->Light->Directional Light.
  8. Adjust the light intensity to whatever you like.
package com.atlassian.stash.plugin.webook;
import com.atlassian.stash.event.pull.PullRequestRescopedEvent;
import com.atlassian.stash.hook.repository.AsyncPostReceiveRepositoryHook;
import com.atlassian.stash.hook.repository.RepositoryHookContext;
import com.atlassian.stash.nav.NavBuilder;
import com.atlassian.stash.pull.PullRequestRef;
import com.atlassian.stash.repository.RefChange;
import com.atlassian.stash.repository.RefChangeType;
import com.atlassian.stash.repository.Repository;