Skip to content

Instantly share code, notes, and snippets.

View mcenderdragon's full-sized avatar

mcenderdragon

  • Germany
View GitHub Profile

Target 1.18.2

Start

  • Start in Asteroid belt dimension
  • Players will spawm 100 blocks apart from each other in a Glass dome (shorter distance so item transport between bases is easier)
  • Glassdome has basic lifesupport in the form of the planst to make enough oxygen.

Asteroid belt

  • Custom skybox with yellow-brown Gasgiant at the bottom.
  • Movign aseroid with resources will spawn. They will move in slowly from above and "fall" down and disappear again.
@mcenderdragon
mcenderdragon / biome Jsons.md
Created November 29, 2020 16:15
Biome JSONS Minecraft 1.16

Dimension & Biome JSON system from Minecraft 1.16

Things I found out so far: you can pretty much ignore the error you get in the log, they dont help. I found it helpfull to add a breakpoint to Line 198 in WorldSettingImport (net.minecraft.util.registry) there you see the actuall exceptions, like it did not find a certain feature

You can not use vanilla jsons, only the jsons inside your datapack so you need to copy the vanilla stuff you want/need.

PS E:\CODE\mc1.16\jar-in-jar> .\gradlew jmh
> Configure project :
null
> Task :jmh
# JMH version: 1.21
# VM version: JDK 1.8.0_211, Java HotSpot(TM) 64-Bit Server VM, 25.211-b12
# VM invoker: C:\Program Files\Java\jdk1.8.0_211\jre\bin\java.exe
# VM options: -Dmcenderdragon.nio.jarInjar.jmh.file=./src/main/resources/small.jar -Dfile.encoding=windows-1252 -Duser.country=DE -Duser.language=de -Duser.variant
# Warmup: 3 iterations, 10 s each
# Measurement: 5 iterations, 10 s each
@mcenderdragon
mcenderdragon / gist:86dfa51dcb17ca9c74d2b3bcbca133fd
Created March 8, 2020 16:49
crash-2020-03-08_17.47.11-server.txt
---- Minecraft Crash Report ----
// You're mean.
Time: 3/8/20 5:47 PM
Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop
at net.silentchaos512.scalinghealth.utils.SHDifficulty.changePerSecond(SHDifficulty.java:151) ~[?:2.4.2+46] {re:classloading}
at net.silentchaos512.scalinghealth.event.DifficultyEvents.lambda$onWorldTick$6(DifficultyEvents.java:129) ~[?:2.4.2+46] {re:classloading}
at net.silentchaos512.scalinghealth.event.DifficultyEvents$$Lambda$6967/348431252.accept(Unknown Source) ~[?:?] {}
[21:55:36] [main/INFO]: ModLauncher running: args [--username, MCenderdragon, --version, forge-28.2.1, --gameDir, C:\Users\<*>\Twitch\Minecraft\Instances\Steallar Expansion Modpack, --assetsDir, C:\Users\<*>\Twitch\Minecraft\Install\assets, --assetIndex, 1.14, --uuid, 3cf92882db514816948f78a81087f886, --accessToken, ????????, --userType, mojang, --versionType, release, --width, 1024, --height, 768, --launchTarget, fmlclient, --fml.forgeVersion, 28.2.1, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20190829.143755]
[21:55:36] [main/INFO]: ModLauncher 4.1.0+62+5bfa59b starting: java version 1.8.0_51 by Oracle Corporation
[21:55:36] [main/INFO]: Added Lets Encrypt root certificates as additional trust
[21:55:37] [main/INFO]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 26:0 token recognition error at: 's'
[21:55:37] [main/INFO]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 26:1 token recognition error at: 'n'
[21:55:37] [main/INFO]: [org.
@mcenderdragon
mcenderdragon / ATtiny timer.md
Last active January 15, 2020 11:45
A LED blinker based on a ATTiny13

Makes a pulse at PB4 and is 2 minutes on and 28 minutes off. Power can be tuned off by the raising flag at INT0 (PB1). Power consumption is at ~0.3mA

---- Minecraft Crash Report ----
// My bad.
Time: 23.12.19 13:48
Description: Exception in server tick loop
java.lang.IllegalAccessError: tried to access field net.minecraft.world.World.field_72986_A from class futurepack.world.dimensions.CustomWorldInfo
at futurepack.world.dimensions.CustomWorldInfo.overwriteWorld(CustomWorldInfo.java:40) ~[?:1.14.4-28.0.1] {re:classloading}
at futurepack.world.dimensions.menelaus.DimensionMenelaus.<init>(DimensionMenelaus.java:30) ~[?:1.14.4-28.0.1] {re:classloading}
at net.minecraft.world.dimension.DimensionType.func_218270_a(DimensionType.java:71) ~[?:?] {re:classloading}
{
"forge_marker": 1,
"defaults":
{
"model": "cube",
"textures":
{
"particle": "futurepack:blocks/quantanium/d0000",
"down": "futurepack:blocks/quantanium/d0000",
"up": "futurepack:blocks/quantanium/d0000",
@mcenderdragon
mcenderdragon / working EEPROM test.ino
Created July 8, 2019 11:48
Feather Huzza! ESP8266 & 25AA010A EEPROM
/*
SPI Master Demo Sketch
Connect the SPI Master device to the following pins on the esp8266:
GPIO NodeMCU Name | Uno
===================================
15 D8 SS | D10
13 D7 MOSI | D11
12 D6 MISO | D12
14 D5 SCK | D13
/*
SPI Master Demo Sketch
Connect the SPI Master device to the following pins on the esp8266:
GPIO NodeMCU Name | Uno
===================================
15 D8 SS | D10
13 D7 MOSI | D11
12 D6 MISO | D12
14 D5 SCK | D13