Skip to content

Instantly share code, notes, and snippets.

View John-Paul-R's full-sized avatar

John Paul John-Paul-R

View GitHub Profile
@John-Paul-R
John-Paul-R / GlowmorgificationMod.java
Created July 31, 2021 20:29
Glowmorgification Potion Assistance
package com.fibermc.essentialcommands;
import net.minecraft.entity.Entity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.effect.StatusEffect;
import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffectType;
import net.minecraft.entity.passive.SquidEntity;
import net.minecraft.potion.Potion;
import net.minecraft.util.Identifier;
@John-Paul-R
John-Paul-R / CommandNodeMixin.java
Created July 18, 2021 12:42
Cursed Entrypoints
package com.fibermc.essentialcommands.mixin;
import com.fibermc.essentialcommands.EssentialCommands;
import com.fibermc.essentialcommands.access.CommandNodeAccess;
import com.mojang.brigadier.Command;
import com.mojang.brigadier.tree.ArgumentCommandNode;
import com.mojang.brigadier.tree.CommandNode;
import com.mojang.brigadier.tree.LiteralCommandNode;
import com.mojang.brigadier.tree.RootCommandNode;
import org.apache.log4j.LogManager;
@John-Paul-R
John-Paul-R / time_str_to_delta.py
Created December 7, 2020 22:17
Time String Parser (Python)
import re
def time_str_to_time_delta(stime: str):
match_days = re.search('([0-9]+)d', stime)
match_hrs = re.search('([0-9]+)h', stime)
match_mins = re.search('([0-9]+)m', stime)
match_secs = re.search('([0-9]+)s', stime)
def int_from_match(match) -> int:
out = 0
@John-Paul-R
John-Paul-R / FabricModList.md
Last active May 17, 2024 11:06
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.