Skip to content

Instantly share code, notes, and snippets.


John Paul John-Paul-R

View GitHub Profile
John-Paul-R /
Created Jul 31, 2021
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;
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 /
Created Dec 7, 2020
Time String Parser (Python)
import re
def time_str_to_time_delta(stime: str):
match_days ='([0-9]+)d', stime)
match_hrs ='([0-9]+)h', stime)
match_mins ='([0-9]+)m', stime)
match_secs ='([0-9]+)s', stime)
def int_from_match(match) -> int:
out = 0
John-Paul-R /
Last active Oct 17, 2021
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,!

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.

John-Paul-R /
Last active May 19, 2021
JP's Fabric Modding 'Dynamic Braindump'™

Hello there!

Welcome to my notes about MC modding/Fabric. This is where I write down any ideas/thoughts I have that are remotely related to modding. I'm making this "open source" per-sé so that anyone and everyone can steal/implement/improve upon my ideas if they wish.

In the future, I'd like to set up something somewhat similar to this, but for the entire community (but a bit more organized!). Essentially, I'd like to create an up-to-date list of everyone's active projects and potential future plans. This would enable quick access of information, without needing to scroll through days of Discord messages. One of the chief goals of this would help prevent duplicate mods from being created & to increase code reuse in the community (via better access to (and awareness of) libraries for new mod developers).

  • Now, in case some wise-uh... person says "But JP, isn't that CurseForge?" I'll say this now: Yes, ideally. However CurseForge's search & filter settings are abysmal (if you are trying to limit