Skip to content

Instantly share code, notes, and snippets.

View hYdos's full-sized avatar
🥔
:tiny_potato:

hydos hYdos

🥔
:tiny_potato:
  • Upside Down
  • 04:47 (UTC +10:00)
View GitHub Profile
static class NamespacedWrapper<T extends IForgeRegistryEntry<T>> extends MappedRegistry<T> implements ILockableRegistry {
private static final Logger LOGGER = LogManager.getLogger();
private boolean locked = false;
public final ForgeRegistry<T> delegate;
public NamespacedWrapper(ForgeRegistry<T> owner) {
super(owner.getRegistryKey(), Lifecycle.experimental());
this.delegate = owner;
}
====================[ Build | binviz | Debug ]==================================
/home/haydenv/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/211.7628.27/bin/cmake/linux/bin/cmake --build /home/haydenv/CLionProjects/VelocityRa/binviz/cmake-build-debug --target binviz -- -j 9
[ 21%] Building CXX object external/imgui_glfw_gl3_backend/CMakeFiles/imgui_glfw_gl3_backend.dir/imgui_impl_opengl3.cpp.o
[ 21%] Building CXX object src/util/CMakeFiles/util.dir/util.cpp.o
[ 21%] Building CXX object src/util/CMakeFiles/util.dir/log.cpp.o
[ 35%] Built target stb_image
[ 42%] Building CXX object external/imgui_glfw_gl3_backend/CMakeFiles/imgui_glfw_gl3_backend.dir/imgui_impl_glfw.cpp.o
[ 50%] Linking CXX static library ../../lib/libimgui_glfw_gl3_backend.a
[ 50%] Built target imgui_glfw_gl3_backend
/home/haydenv/CLionProjects/VelocityRa/binviz/src/util/log.cpp: In function ‘void logging::init()’:
@hYdos
hYdos / Canvas.kt
Created March 30, 2021 20:03
conc
package me.hydos.rosella.gui
import me.hydos.rosella.Rosella
import me.hydos.rosella.render.io.Window
import me.hydos.rosella.render.material.Material
import me.hydos.rosella.render.model.GuiRenderObject
import me.hydos.rosella.render.resource.Global
import me.hydos.rosella.render.resource.Identifier
import me.hydos.rosella.render.resource.Resource
import me.hydos.rosella.render.shader.Shader
Status ERROR: org.eclipse.jdt.core code=4 Could not retrieve declared methods org.eclipse.jdt.internal.compiler.problem.AbortCompilation: Pb(324) The type javax.annotation.Nullable cannot be resolved. It is indirectly referenced from required .class files
Could not remap fabric-networking-v0-0.2.0+b217b2f539-sources.jar fully!
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.bindArguments(AbstractMethodDeclaration.java:144)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:542)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1293)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1418)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:666)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:901)
at org.eclips
@hYdos
hYdos / darkmode.css
Created December 17, 2020 22:35
matcher darkmode
.root {
-fx-base: #3f474f;
-fx-accent: #e7eff7 ;
-fx-default-button: #7f878f ;
-fx-focus-color: #efefef;
-fx-faint-focus-color: #efefef22;
-fx-focused-text-base-color : ladder(
-fx-selection-bar,
-fx-light-text-color 45%,
-fx-dark-text-color 46%,
This file has been truncated, but you can view the full file.
v1 official intermediary
CLASS a net/minecraft/class_4752
FIELD a Z A field_21866
FIELD a Ljava/lang/String; B field_21867
FIELD a I C field_21868
FIELD a [La; D field_21869
FIELD a La; a field_21870
FIELD a La; b field_21871
FIELD a La; c field_21872
FIELD a La; d field_21873
This file has been truncated, but you can view the full file.
v1 official intermediary
CLASS a net/minecraft/class_4752
FIELD a Z A field_21866
FIELD a Ljava/lang/String; B field_21867
FIELD a I C field_21868
FIELD a [La; D field_21869
FIELD a La; a field_21870
FIELD a La; b field_21871
FIELD a La; c field_21872
FIELD a La; d field_21873
@hYdos
hYdos / 1_16_combat-3.json
Created September 18, 2020 21:59
manifest.json
{"arguments": {"game": ["--username", "${auth_player_name}", "--version", "${version_name}", "--gameDir", "${game_directory}", "--assetsDir", "${assets_root}", "--assetIndex", "${assets_index_name}", "--uuid", "${auth_uuid}", "--accessToken", "${auth_access_token}", "--userType", "${user_type}", "--versionType", "${version_type}", {"rules": [{"action": "allow", "features": {"is_demo_user": true}}], "value": "--demo"}, {"rules": [{"action": "allow", "features": {"has_custom_resolution": true}}], "value": ["--width", "${resolution_width}", "--height", "${resolution_height}"]}], "jvm": [{"rules": [{"action": "allow", "os": {"name": "osx"}}], "value": ["-XstartOnFirstThread"]}, {"rules": [{"action": "allow", "os": {"name": "windows"}}], "value": "-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump"}, {"rules": [{"action": "allow", "os": {"name": "windows", "version": "^10\\."}}], "value": ["-Dos.name=Windows 10", "-Dos.version=10.0"]}, {"rules": [{"action": "allow", "os": {"ar
@hYdos
hYdos / cool
Created August 28, 2020 05:37
fix it
[15:37:57] [Netty Epoll Server IO #8/ERROR] (Minecraft) java.lang.AbstractMethodError: io.netty.buffer.ByteBuf.capacity()I
Aug 28, 2020 3:37:58 PM io.netty.util.concurrent.DefaultPromise notifyListener0
WARNING: An exception was thrown by net.minecraft.server.network.ServerPlayNetworkHandler$1.operationComplete()
io.netty.util.concurrent.BlockingOperationException: DefaultChannelPromise@6f192106(uncancellable)
at io.netty.util.concurrent.DefaultPromise.checkDeadLock(DefaultPromise.java:390)
at io.netty.channel.DefaultChannelPromise.checkDeadLock(DefaultChannelPromise.java:157)
at io.netty.util.concurrent.DefaultPromise.awaitUninterruptibly(DefaultPromise.java:283)
at io.netty.channel.DefaultChannelPromise.awaitUninterruptibly(DefaultChannelPromise.java:135)
at io.netty.channel.DefaultChannelPromise.awaitUninterruptibly(DefaultChannelPromise.java:28)
This file has been truncated, but you can view the full file.
tiny 2 0 official intermediary named
c net/badlion/a/A net/badlion/class_1979 net/badlion/class_1979
m ()Ljava/lang/String; a method_5489 method_5489
m ()Ljava/lang/Object; call call call
f Lnet/badlion/a/x; a field_5414 field_5414
c net/badlion/a/AA net/badlion/class_634 net/badlion/client/common/mod/WaypointsMod
m ()Ljava/util/Queue; a method_1976 method_1976
m (Ljava/lang/String;Lnet/badlion/a/AA$b;)V a method_1977 method_1977
m (Lnet/badlion/a/AA$d;)V a method_1978 method_1978
m (Lnet/badlion/a/AA$d;Lnet/badlion/a/nf;)V a method_1979 method_1979