Skip to content

Instantly share code, notes, and snippets.

View YoungOG's full-sized avatar
💭
Going ham when Hytale hits.

Calvin YoungOG

💭
Going ham when Hytale hits.
View GitHub Profile
package net.minelucky.luckyapi.shared.redis.channels;
import com.google.gson.JsonObject;
import lombok.NoArgsConstructor;
@NoArgsConstructor
public abstract class AbstractMessage implements Message<JsonObject> {
protected JsonObject data = new JsonObject();
public static void main(String[] args) throws IOException {
final BufferedImage image = new BufferedImage(1024, 1024, BufferedImage.TYPE_INT_ARGB);
final Graphics graphics = image.getGraphics();
int center = image.getWidth() / 2;
int outerRadius = 512;
int segments = 18;
@YoungOG
YoungOG / .java
Created December 30, 2018 07:44
Here's the god damn "magic" kohi knockback, maybe people can stop believing in magic some day and just play the fucking game. Credit to OCN's SportBukkit for the relog fix
knockbackFriction = 2.0D;
knockbackHorizontal = 0.35D;
knockbackVertical = 0.35D;
knockbackVerticalLimit = 0.4D;
knockbackExtraHorizontal = 0.425D;
knockbackExtraVertical = 0.085D;
# Config Tutorial
#
# Name: Name of the item.
# DisplayName: ID for each item, important they are all different.
# Durability: Number of hits until the item breaks.
# Lore:
# - 'String list format like this'
# - 'Second string in lore'
# Enchants:
# - name,level
# Config Tutorial
#
# Name: Name of the item.
# DisplayName: ID for each item, important they are all different.
# Durability: Number of hits until the item breaks.
# Lore:
# - 'String list format like this'
# - 'Second string in lore'
# Enchants:
# - name,level