Skip to content

Instantly share code, notes, and snippets.

View RealRONiN's full-sized avatar
🥑
(👉゚ヮ゚)👉

Aniket RealRONiN

🥑
(👉゚ヮ゚)👉
View GitHub Profile
public HeartItemManager cookHeart() {
final ItemBuilder itemBuilder;
if (this.heartType == Material.PLAYER_HEAD) {
itemBuilder = new ItemBuilder(this.heartType, HeadBuilder.createSkullMap(this.skullData));
} else {
itemBuilder = new ItemBuilder(this.heartType);
}
itemBuilder
.setName(this.heartName.decoration(TextDecoration.ITALIC, false))
.setLore(this.heartLore)
/*
* LifeSteal - Yet another lifecore smp core.
* Copyright (C) 2022 Arcade Labs
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@RealRONiN
RealRONiN / funny.md
Created March 5, 2023 12:29 — forked from fguisso/funny.md
Funny initial commit messages

Funny initial commit messages

This is where it all begins...
Commit committed
Version control is awful
COMMIT ALL THE FILES!
The same thing we do every night, Pinky - try to take over the world!
Lock S-foils in attack position
This commit is a lie
I'll explain when you're older!
@RealRONiN
RealRONiN / InvUtils.java
Last active July 27, 2022 07:20
Save, clear and restore player inventory from PDC
/**
* Save & clear inventory.
*
* @param player the player
*/
public static void saveInventory(final Player player) {
final PlayerInventory inventory = player.getInventory();
try (
final ByteArrayOutputStream invStream = new ByteArrayOutputStream();
final BukkitObjectOutputStream invOutput = new BukkitObjectOutputStream(invStream)) {
@RealRONiN
RealRONiN / ConfigUtils.java
Created February 19, 2022 10:48
ConfigUtils
public class ConfigUtils {
final Logger LOGGER = Bukkit.getLogger();
private final File greetingsFile,
modulesFile;
private final FileConfiguration greetingsConfig,
modulesConfig;
//Ignore this
public Boolean getStatusFlavour() {
<html>
<head>
<title>Greetings - Changelogs</title>
</head>
<body>
<p>Greetings has an update1</p>
<p>Greetings has an update2</p>
<p>Greetings has an update3</p>
<p>Greetings has an update4</p>
<p>Greetings has an update5</p>
ttps://i.zorino.in/UYBgsHUGiYHIg.txt
[18:22]
no
[18:22]
my uploader can upload file,text,image
[18:23]
idk
[18:23]
i don't use presets