Skip to content

Instantly share code, notes, and snippets.

View EvanHsieh0415's full-sized avatar
💻
Coding

Mango Jelly Pudding EvanHsieh0415

💻
Coding
View GitHub Profile
// KubeJS 5 / 1.18.x
const $CreativeTabRegistry = java("dev.architectury.registry.CreativeTabRegistry");
$CreativeTabRegistry.create(
"test:group",
() => Item.of("minecraft:apple")
);
onEvent("item.registry", (event) => {
const range = len => Array.from({ length: len }, (_, i) => i + 1)
const len = array => array.length
const map = Array.prototype.map
const filter = Array.prototype.filter
const reduce = Array.prototype.reduce
String.prototype.join = function(array) { return array.join(this) }
@EvanHsieh0415
EvanHsieh0415 / CreateStyleResourcePack.md
Created April 6, 2023 11:52
Create Style Resource Pack

Create - Data Pack Recipes Docs

Mod Loader Conditions

Forge

{
  "conditions": [
 {
@NordicGamerFE
NordicGamerFE / performancemods.md
Last active March 31, 2024 00:50
Useful mods list

Useful Mods

Notice

This list has moved to a repo you can find here https://github.com/NordicGamerFE/usefulmods

Alkyaly has stopped maintaining their list they have given me the responsibility to maintain their list original list
A list of usefull mods for most major-played versions.
Any suggestions/complaints?
Join our discord or use the gist comments.

Hi

I am Mango, I like Mango

@MPThLee
MPThLee / enableDiscordExperiments.js
Last active April 25, 2024 05:50
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active May 4, 2024 18:30
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@hibiyasleep
hibiyasleep / GodDrinksJava.java
Last active April 26, 2024 14:08
world.execute(me);
package goddrinksjava;
/**
* The program GodDrinksJava implements an application that
* creates an empty simulated world with no meaning or purpose.
*
* @author momocashew
* @lyrics hibiyasleep
*/