This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jab.util; | |
/** | |
* Interface designed to handle advanced printing. Only available in JDK8+. | |
* | |
* @author Jab | |
* | |
*/ | |
public interface Printable { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Orbit Script by Jab (40BlocksUnder) | |
string configName = "OrbitSettings"; | |
IMyTerminalBlock Block = null; | |
double px = 0; | |
double py = 0; | |
double pz = 0; | |
double radius = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2018, Joshua Edwards (Jab) | |
// | |
// All rights reserved. | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are met: | |
// * Redistributions of source code must retain the above copyright | |
// notice, this list of conditions and the following disclaimer. | |
// * Redistributions in binary form must reproduce the above copyright | |
// notice, this list of conditions and the following disclaimer in the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jab.util.spigot; | |
import org.bukkit.plugin.java.JavaPlugin; | |
import jab.util.Printable; | |
/** | |
* This class is designed to clean up redundant JavaPlugin getters and setters. | |
* | |
* @author Jab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsx PipeWrenchUI.createElement */ | |
/** @noSelfInFile */ | |
import * as Events from '@asledgehammer/pipewrench-events'; | |
import { asRGBA, RGBA } from '../../shared/pipewrench-ui/css/color/RGBA'; | |
import { easeInOut } from '../../shared/pipewrench-ui/css/math/Math'; | |
import { PWUIElement } from '../../shared/pipewrench-ui/elements/PWUIElement'; | |
import { OptionalElementFunction } from '../../shared/pipewrench-ui/PipeWrenchUI'; | |
import { PipeWrenchUI, createUI } from '../../shared/pipewrench-ui/React'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ce fichier fait partie de CraftHammer. | |
# | |
# (Traduit de l’anglais vers le français) | |
# | |
# Auteur: Jab | |
# Version: 2 | |
# Publié: 2/1/2022 | |
__meta: { version: 2 } | |
# Tous les contrôles de sécurité sont gérés ici. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.asledgehammer.craftnail.util; | |
public class BitwiseOps { | |
public static byte bnot8(long value) { | |
return (byte) ~(byte) value; | |
} | |
public static byte band8(long value, long mask) { | |
return (byte) ((byte) value & (byte) mask); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- This file serves as a template for creating and executing custom Lua commands using the LuaCommands patch | |
--- & workshop mod. | |
--- | |
--- {FILES} | |
--- Java Patch: https://discord.gg/taP6ZxSTGJ | |
--- Workshop Mod: https://steamcommunity.com/workshop/filedetails/?id=3243738892 | |
--- | |
--- {DEVELOPER LINKS} | |
--- Workshop GitHub: https://github.com/asledgehammer/LuaCommands | |
--- Asledgehammer Discord: https://discord.gg/u3vWvcPX8f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @noSelfInFile */ | |
export function parse(text: string): any; | |
export function stringify(value: any): string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is part of Craftboid. | |
# | |
# Author: Jab | |
# Version: 2 | |
# Published: 2/1/2022 | |
__meta: { version: 2 } | |
# All security checks are managed here. | |
security_checks: |
OlderNewer