Skip to content

Instantly share code, notes, and snippets.

View yuesha-yc's full-sized avatar
🚩
Studying

Yichen Wang yuesha-yc

🚩
Studying
  • UC Los Angeles
  • Los Angeles, CA
View GitHub Profile
@JDLogic
JDLogic / updateMappings.md
Last active November 25, 2022 14:17
How to use ForgeGradle's updateMappings task

What is it

This task will migrate (remap) the project's source files to a new mapping version.

Warning:

Running this task with edit your project's source files. It does NOT make a backup. It is highly recommened that you commit any pending changes before doing this. (If you are not using version control, you should be.)

Before running the command

Source must be compilable

This process uses Srg2Source to remap the project's source files. Therefore, your project must be compilable for this process to work.

@John-Paul-R
John-Paul-R / FabricModList.md
Last active July 15, 2024 08:10
A list of (almost all) mods for Fabric

Fabric Mod List

This page contains a list of the current Minecraft Fabric mods. (As of 2021-08-19 08:05:23 Timezone: UTC+0000 (GMT))

To search for mods by name, category, or download count, visit the website, fibermc.com!

Note: You can view a mod's source files by following the "Source" link on its CurseForge page, assuming that the mod's creator has made such files public.

There are currently 2954 mods in this list.

@thanasishadow
thanasishadow / pack making mods
Last active April 16, 2024 15:15
A list of mods which are useful for modpack makers
Mine/Craft Tweaker - Create/Change crafting table or furnace recipes.
Content Tweaker - Create new blocks, items, liquids and much more.
Mod Tweaker - Adds mod compatibility to Craft Tweaker.
Game Stages (And addons) - Prevent players from accessing dimensions/items/mobs/materials/waila information before they reach a certain point.
Gendustry - Create custom bees, combs, bee mutations and squeezer/carpenter recipes.
Block Drop Tweaker - Change what certain blocks drop.
Custom Stuff - Create custom items, blocks, recipes, world gen and oredicts.
Custom Things - Create custom items/blocks.
Modular Machinery - Create custom machines.
Artisan Worktables - Adds many variations of the crafting table and many more crafting tools.
@williewillus
williewillus / primer.md
Last active June 15, 2023 03:33
Capabilities: A Primer (tm)

Capabilities

Another award-winning primer by williewillus

Capabilities...a wondrous new system. That you've probably been forced into using. But let's not talk about that and get straight into the learning!

Terms and definitions

  • Capability System - This entire system; what this primer is about. This system is named very literally for what it does.
    • Capability - the quality of being capable; capacity; ability
  • Capable - having power and ability
@why-not
why-not / gist:4582705
Last active July 3, 2024 01:12
Pandas recipe. I find pandas indexing counter intuitive, perhaps my intuitions were shaped by many years in the imperative world. I am collecting some recipes to do things quickly in pandas & to jog my memory.
"""making a dataframe"""
df = pd.DataFrame([[1, 2], [3, 4]], columns=list('AB'))
"""quick way to create an interesting data frame to try things out"""
df = pd.DataFrame(np.random.randn(5, 4), columns=['a', 'b', 'c', 'd'])
"""convert a dictionary into a DataFrame"""
"""make the keys into columns"""
df = pd.DataFrame(dic, index=[0])