6 Commits

Author SHA1 Message Date
98f01f61c4 data generator fix, other fixes too
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m4s
Build Minecraft Mod / release (push) Successful in 15s
2026-04-13 18:14:55 +02:00
bcc90e5593 super diamond and apple
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m39s
Build Minecraft Mod / release (push) Successful in 17s
2026-04-13 16:38:52 +02:00
b476d156dc capes url update 2026-04-13 16:38:30 +02:00
6b355a1f47 orban
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m2s
Build Minecraft Mod / release (push) Successful in 15s
2026-04-13 11:24:11 +02:00
c79d223f7e remove run
All checks were successful
Build Minecraft Mod / build (push) Successful in 3m59s
Build Minecraft Mod / release (push) Successful in 16s
2026-04-13 10:48:59 +02:00
790ebd2535 obsidian cube and ender update
Some checks failed
Build Minecraft Mod / build (push) Has started running
Build Minecraft Mod / release (push) Has been cancelled
2026-04-13 10:43:28 +02:00
131 changed files with 693 additions and 3801 deletions

View File

@@ -2,23 +2,23 @@
"capes": [ "capes": [
{ {
"id": "tg", "id": "tg",
"texture": "https://raw.githubusercontent.com/tggamesyt/szar/main/src/main/resources/assets/szar/textures/etc/tg_cape.png" "texture": "Magyarhttps://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/tg_cape.png"
}, },
{ {
"id": "gabri", "id": "gabri",
"texture": "https://raw.githubusercontent.com/tggamesyt/szar/main/src/main/resources/assets/szar/textures/etc/gabri_cape.png" "texture": "Magyarhttps://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/gabri_cape.png"
}, },
{ {
"id": "tg1", "id": "tg1",
"texture": "https://raw.githubusercontent.com/tggamesyt/szar/main/src/main/resources/assets/szar/textures/etc/tg_cape1.png" "texture": "Magyarhttps://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/tg_cape1.png"
}, },
{ {
"id": "test", "id": "test",
"texture": "https://raw.githubusercontent.com/tggamesyt/szar/main/src/main/resources/assets/szar/textures/etc/testcape.png" "texture": "Magyarhttps://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/testcape.png"
}, },
{ {
"id": "ciber", "id": "ciber",
"texture": "https://raw.githubusercontent.com/tggamesyt/szar/main/src/main/resources/assets/szar/textures/etc/ciber_cape.png" "texture": "Magyarhttps://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/ciber_cape.png"
} }
] ]
} }

View File

@@ -6,7 +6,7 @@ minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10 yarn_mappings=1.20.1+build.10
loader_version=0.18.3 loader_version=0.18.3
# Mod Properties # Mod Properties
mod_version=26.4.1-downside-up mod_version=26.4.13.3
maven_group=dev.tggamesyt maven_group=dev.tggamesyt
archives_base_name=szar archives_base_name=szar
# Dependencies # Dependencies

View File

@@ -1,9 +0,0 @@
#Indigo properties file
#Mon Feb 09 14:29:43 CET 2026
always-tesselate-blocks=auto
ambient-occlusion-mode=hybrid
debug-compare-lighting=auto
fix-exterior-vertex-lighting=auto
fix-luminous-block-ambient-occlusion=auto
fix-mean-light-calculation=auto
fix-smooth-lighting-offset=auto

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -1,254 +0,0 @@
[14:29:34] [main/INFO] (FabricLoader/GameProvider) Loading Minecraft 1.20.1 with Fabric Loader 0.18.3
[14:29:34] [main/INFO] (FabricLoader) Loading 59 mods:
- fabric-api 0.92.6+1.20.1
- fabric-api-base 0.4.32+1802ada577
- fabric-api-lookup-api-v1 1.6.37+1802ada577
- fabric-biome-api-v1 13.0.14+1802ada577
- fabric-block-api-v1 1.0.12+1802ada577
- fabric-block-view-api-v2 1.0.3+924f046a77
- fabric-blockrenderlayer-v1 1.1.42+1802ada577
- fabric-client-tags-api-v1 1.1.3+1802ada577
- fabric-command-api-v1 1.2.35+f71b366f77
- fabric-command-api-v2 2.2.14+1802ada577
- fabric-commands-v0 0.2.52+df3654b377
- fabric-containers-v0 0.1.67+df3654b377
- fabric-content-registries-v0 4.0.13+1802ada577
- fabric-convention-tags-v1 1.5.6+1802ada577
- fabric-crash-report-info-v1 0.2.20+1802ada577
- fabric-data-attachment-api-v1 1.0.2+de0fd6d177
- fabric-data-generation-api-v1 12.3.7+1802ada577
- fabric-dimensions-v1 2.1.55+1802ada577
- fabric-entity-events-v1 1.6.1+1c78457f77
- fabric-events-interaction-v0 0.6.5+13a40c6677
- fabric-events-lifecycle-v0 0.2.64+df3654b377
- fabric-game-rule-api-v1 1.0.41+1802ada577
- fabric-gametest-api-v1 1.2.15+1802ada577
- fabric-item-api-v1 2.1.29+1802ada577
- fabric-item-group-api-v1 4.0.14+1802ada577
- fabric-key-binding-api-v1 1.0.38+1802ada577
- fabric-keybindings-v0 0.2.36+df3654b377
- fabric-lifecycle-events-v1 2.2.23+1802ada577
- fabric-loot-api-v2 1.2.3+1802ada577
- fabric-loot-tables-v1 1.1.47+9e7660c677
- fabric-message-api-v1 5.1.10+1802ada577
- fabric-mining-level-api-v1 2.1.52+1802ada577
- fabric-model-loading-api-v1 1.0.4+1802ada577
- fabric-models-v0 0.4.3+9386d8a777
- fabric-networking-api-v1 1.3.14+a158aa0477
- fabric-networking-v0 0.3.54+df3654b377
- fabric-object-builder-api-v1 11.1.5+e35120df77
- fabric-particles-v1 1.1.3+1802ada577
- fabric-recipe-api-v1 1.0.24+1802ada577
- fabric-registry-sync-v0 2.3.6+1802ada577
- fabric-renderer-api-v1 3.2.2+1802ada577
- fabric-renderer-indigo 1.5.3+85287f9f77
- fabric-renderer-registries-v1 3.2.47+df3654b377
- fabric-rendering-data-attachment-v1 0.3.39+92a0d36777
- fabric-rendering-fluids-v1 3.0.29+1802ada577
- fabric-rendering-v0 1.1.50+df3654b377
- fabric-rendering-v1 3.0.9+1802ada577
- fabric-resource-conditions-api-v1 2.3.9+1802ada577
- fabric-resource-loader-v0 0.11.12+fb82e9d777
- fabric-screen-api-v1 2.0.9+1802ada577
- fabric-screen-handler-api-v1 1.3.33+1802ada577
- fabric-sound-api-v1 1.0.14+1802ada577
- fabric-transfer-api-v1 3.3.6+8dd72ea377
- fabric-transitive-access-wideners-v1 4.3.2+1802ada577
- fabricloader 0.18.3
- java 23
- minecraft 1.20.1
- mixinextras 0.5.0
- szar 26.2.9
[14:29:35] [main/INFO] (FabricLoader/Mixin) SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/C:/Users/gergo/scoop/persist/gradle/.gradle/caches/modules-2/files-2.1/net.fabricmc/sponge-mixin/0.16.5+mixin.0.8.7/80fc3a9f592673cea87f4cd702f87991c6c9fe4d/sponge-mixin-0.16.5+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT
[14:29:35] [main/INFO] (FabricLoader/Mixin) Loaded Fabric development mappings for mixin remapper!
[14:29:35] [main/INFO] (FabricLoader/Mixin) Compatibility level set to JAVA_16
[14:29:35] [main/INFO] (FabricLoader/Mixin) Compatibility level set to JAVA_17
[14:29:36] [main/INFO] (FabricLoader/MixinExtras|Service) Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.5.0).
[14:29:40] [Datafixer Bootstrap/INFO] (Minecraft) 188 Datafixer optimizations took 107 milliseconds
[14:29:41] [Render thread/INFO] (Minecraft) [STDERR]: [LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.
[14:29:42] [Render thread/INFO] (Minecraft) Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[14:29:42] [Render thread/ERROR] (Minecraft) Failed to verify authentication
com.mojang.authlib.exceptions.InvalidCredentialsException: Status: 401
at com.mojang.authlib.exceptions.MinecraftClientHttpException.toAuthenticationException(MinecraftClientHttpException.java:56) ~[authlib-4.0.43.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.fetchProperties(YggdrasilUserApiService.java:156) ~[authlib-4.0.43.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.<init>(YggdrasilUserApiService.java:55) ~[authlib-4.0.43.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.createUserApiService(YggdrasilAuthenticationService.java:124) ~[authlib-4.0.43.jar:?]
at net.minecraft.client.MinecraftClient.createUserApiService(MinecraftClient.java:733) ~[minecraft-clientOnly-da33801056-1.20.1-net.fabricmc.yarn.1_20_1.1.20.1+build.10-v2.jar:?]
at net.minecraft.client.MinecraftClient.<init>(MinecraftClient.java:442) ~[minecraft-clientOnly-da33801056-1.20.1-net.fabricmc.yarn.1_20_1.1.20.1+build.10-v2.jar:?]
at net.minecraft.client.main.Main.main(Main.java:211) ~[minecraft-clientOnly-da33801056-1.20.1-net.fabricmc.yarn.1_20_1.1.20.1+build.10-v2.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514) ~[fabric-loader-0.18.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72) ~[fabric-loader-0.18.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.18.3.jar:?]
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) ~[dev-launch-injector-0.2.1+build.8.jar:?]
Caused by: com.mojang.authlib.exceptions.MinecraftClientHttpException: Status: 401
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:85) ~[authlib-4.0.43.jar:?]
at com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:48) ~[authlib-4.0.43.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilUserApiService.fetchProperties(YggdrasilUserApiService.java:129) ~[authlib-4.0.43.jar:?]
... 9 more
[14:29:42] [Render thread/INFO] (Minecraft) Setting user: TGdoesCode
[14:29:43] [Render thread/INFO] (Indigo) [Indigo] Registering Indigo renderer!
[14:29:43] [Render thread/INFO] (Minecraft) Backend library: LWJGL version 3.3.2-snapshot
[14:29:44] [Worker-Main-2/ERROR] (Minecraft) Failed to retrieve profile key pair
java.io.IOException: Could not retrieve profile key pair
at net.minecraft.client.util.ProfileKeysImpl.fetchKeyPair(ProfileKeysImpl.java:139) ~[minecraft-clientOnly-da33801056-1.20.1-net.fabricmc.yarn.1_20_1.1.20.1+build.10-v2.jar:?]
at net.minecraft.client.util.ProfileKeysImpl.method_44291(ProfileKeysImpl.java:79) ~[minecraft-clientOnly-da33801056-1.20.1-net.fabricmc.yarn.1_20_1.1.20.1+build.10-v2.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1812) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1804) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1460) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2036) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189) ~[?:?]
[14:29:44] [Render thread/INFO] (Minecraft) Reloading ResourceManager: vanilla, fabric (fabric-containers-v0, fabric-sound-api-v1, fabric-registry-sync-v0, fabric-resource-conditions-api-v1, fabric-screen-handler-api-v1, fabric-mining-level-api-v1, fabric-client-tags-api-v1, fabric-commands-v0, fabric-item-group-api-v1, fabric-loot-tables-v1, fabric-api, fabric-recipe-api-v1, fabric-events-interaction-v0, fabric-transfer-api-v1, fabric-command-api-v2, fabric-transitive-access-wideners-v1, szar, fabric-renderer-registries-v1, fabric-data-generation-api-v1, fabric-data-attachment-api-v1, fabric-object-builder-api-v1, fabric-blockrenderlayer-v1, fabric-particles-v1, fabric-api-lookup-api-v1, fabric-command-api-v1, fabric-renderer-api-v1, fabric-models-v0, fabricloader, fabric-key-binding-api-v1, fabric-renderer-indigo, fabric-block-view-api-v2, fabric-biome-api-v1, fabric-rendering-data-attachment-v1, fabric-convention-tags-v1, fabric-api-base, fabric-dimensions-v1, fabric-events-lifecycle-v0, fabric-message-api-v1, fabric-networking-v0, fabric-entity-events-v1, fabric-rendering-fluids-v1, fabric-game-rule-api-v1, fabric-networking-api-v1, fabric-resource-loader-v0, fabric-rendering-v0, fabric-content-registries-v0, fabric-rendering-v1, fabric-crash-report-info-v1, fabric-gametest-api-v1, fabric-item-api-v1, fabric-screen-api-v1, fabric-block-api-v1, fabric-model-loading-api-v1, fabric-loot-api-v2, fabric-lifecycle-events-v1, fabric-keybindings-v0)
[14:29:44] [Worker-Main-5/INFO] (Minecraft) Found unifont_all_no_pua-15.0.06.hex, loading
[14:29:44] [Worker-Main-9/WARN] (Minecraft) Texture szar:block/chemical_2 with size 120x120 limits mip level from 4 to 3
[14:29:44] [Worker-Main-9/WARN] (Minecraft) Texture szar:item/handcuffs with size 260x280 limits mip level from 3 to 2
[14:29:44] [Worker-Main-9/WARN] (Minecraft) minecraft:textures/atlas/blocks.png: dropping miplevel from 4 to 2, because of minimum power of two: 4
[14:29:45] [Worker-Main-13/WARN] (Minecraft) Unable to load model: 'szar:item/weed_joint_held' referenced from: szar:weed_joint#inventory: java.io.FileNotFoundException: szar:models/item/weed_joint_held.json
[14:29:45] [Realms Notification Availability checker #1/INFO] (Minecraft) Could not authorize you against Realms server: javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
[14:29:45] [Render thread/WARN] (Minecraft) Missing sound for event: minecraft:item.goat_horn.play
[14:29:45] [Render thread/WARN] (Minecraft) Missing sound for event: minecraft:entity.goat.screaming.horn_break
[14:29:45] [Render thread/INFO] (Minecraft) OpenAL initialized on device OpenAL Soft on VG32AQA1A (NVIDIA High Definition Audio)
[14:29:45] [Render thread/INFO] (Minecraft) Sound engine started
[14:29:45] [Render thread/INFO] (Minecraft) Created: 1024x1024x2 minecraft:textures/atlas/blocks.png-atlas
[14:29:45] [Render thread/INFO] (Minecraft) Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[14:29:45] [Render thread/INFO] (Minecraft) Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[14:29:45] [Render thread/INFO] (Minecraft) Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[14:29:45] [Render thread/INFO] (Minecraft) Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[14:29:45] [Render thread/INFO] (Minecraft) Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[14:29:45] [Render thread/INFO] (Minecraft) Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[14:29:45] [Render thread/INFO] (Minecraft) Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[14:29:45] [Render thread/INFO] (Minecraft) Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[14:29:46] [Render thread/WARN] (Minecraft) Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[14:29:46] [Render thread/INFO] (Minecraft) Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[14:29:46] [Render thread/INFO] (Minecraft) Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[14:29:46] [Render thread/INFO] (Minecraft) Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[14:29:49] [Render thread/INFO] (FabricRegistrySync) [fabric-registry-sync] Loaded registry data [file 1/4]
[14:29:50] [Render thread/INFO] (Minecraft) Loaded 7 recipes
[14:29:50] [Render thread/INFO] (Minecraft) Loaded 1273 advancements
[14:29:50] [Render thread/INFO] (BiomeModificationImpl) Applied 20 biome modifications to 12 of 64 new biomes in 5.544 ms
[14:29:50] [Server thread/INFO] (Minecraft) Starting integrated minecraft server version 1.20.1
[14:29:50] [Server thread/INFO] (Minecraft) Generating keypair
[14:29:51] [Server thread/INFO] (Minecraft) Preparing start region for dimension minecraft:overworld
[14:29:52] [Render thread/INFO] (Minecraft) Preparing spawn area: 0%
[14:29:52] [Render thread/INFO] (Minecraft) Preparing spawn area: 0%
[14:29:52] [Render thread/INFO] (Minecraft) Preparing spawn area: 0%
[14:29:52] [Render thread/INFO] (Minecraft) Preparing spawn area: 0%
[14:29:53] [Render thread/INFO] (Minecraft) Preparing spawn area: 6%
[14:29:53] [Render thread/INFO] (Minecraft) Time elapsed: 2259 ms
[14:29:53] [Server thread/INFO] (Minecraft) Changing view distance to 12, from 10
[14:29:53] [Server thread/INFO] (Minecraft) Changing simulation distance to 12, from 0
[14:29:54] [Server thread/INFO] (Minecraft) TGdoesCode[local:E:780d4292] logged in with entity id 239 at (330.02444655834717, 72.8904146382414, -238.08668514043322)
[14:29:54] [Server thread/INFO] (Minecraft) TGdoesCode joined the game
[14:29:55] [Render thread/INFO] (Minecraft) Loaded 134 advancements
[14:29:57] [Render thread/INFO] (Minecraft) [System] [CHAT] [Debug]: Hitboxes: shown
[14:30:21] [Server thread/INFO] (Minecraft) [TGdoesCode: Killed Atom]
[14:30:21] [Render thread/INFO] (Minecraft) [System] [CHAT] Killed Atom
[14:30:50] [Server thread/INFO] (Minecraft) [TGdoesCode: Successfully filled 1 block(s)]
[14:30:50] [Render thread/INFO] (Minecraft) [System] [CHAT] Successfully filled 1 block(s)
[14:31:17] [Server thread/INFO] (Minecraft) [TGdoesCode: Summoned new Atom]
[14:31:17] [Render thread/INFO] (Minecraft) [System] [CHAT] Summoned new Atom
[14:31:28] [Server thread/INFO] (Minecraft) [TGdoesCode: Successfully filled 1 block(s)]
[14:31:28] [Render thread/INFO] (Minecraft) [System] [CHAT] Successfully filled 1 block(s)
[14:31:52] [Server thread/INFO] (Minecraft) [TGdoesCode: Killed Atom]
[14:31:53] [Render thread/INFO] (Minecraft) [System] [CHAT] Killed Atom
[14:32:37] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 160.540000, 63.000000, -98.240000]
[14:32:37] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 160.540000, 63.000000, -98.240000
[14:32:40] [Server thread/INFO] (Minecraft) [TGdoesCode: Set own game mode to Spectator Mode]
[14:32:40] [Render thread/INFO] (Minecraft) [System] [CHAT] Set own game mode to Spectator Mode
[14:32:43] [Server thread/INFO] (Minecraft) [TGdoesCode: Set own game mode to Creative Mode]
[14:32:43] [Render thread/INFO] (Minecraft) [System] [CHAT] Set own game mode to Creative Mode
[14:32:52] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 160.500000, 63.000000, -98.500000]
[14:32:52] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 160.500000, 63.000000, -98.500000
[14:32:54] [Server thread/INFO] (szar) TGdoesCode's joint level is now 0
[14:32:59] [Server thread/INFO] (Minecraft) [TGdoesCode: Summoned new Atom]
[14:32:59] [Render thread/INFO] (Minecraft) [System] [CHAT] Summoned new Atom
[14:33:23] [Render thread/INFO] (Minecraft) [System] [CHAT] [Debug]: Hitboxes: hidden
[14:33:25] [Render thread/INFO] (Minecraft) [System] [CHAT] [Debug]: Hitboxes: shown
[14:33:31] [Server thread/INFO] (Minecraft) [TGdoesCode: Killed Atom]
[14:33:31] [Render thread/INFO] (Minecraft) [System] [CHAT] Killed Atom
[14:33:35] [Server thread/INFO] (Minecraft) Saving and pausing game...
[14:33:35] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:33:35] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:33:35] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:34:02] [Render thread/INFO] (Minecraft) [System] [CHAT] Command set: summon szar:atom ~ ~-3.0 ~ {NoGravity:1b,PersistenceRequired:1b}
[14:34:06] [Server thread/INFO] (Minecraft) [TGdoesCode: Killed Atom]
[14:34:06] [Render thread/INFO] (Minecraft) [System] [CHAT] Killed Atom
[14:34:08] [Server thread/INFO] (Minecraft) Saving and pausing game...
[14:34:08] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:34:08] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:34:08] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:34:11] [Render thread/INFO] (Minecraft) [System] [CHAT] Command set: summon szar:atom ~ ~-3.5 ~ {NoGravity:1b,PersistenceRequired:1b}
[14:34:26] [Render thread/INFO] (Minecraft) [System] [CHAT] [Debug]: Hitboxes: hidden
[14:35:00] [Server thread/INFO] (Minecraft) [TGdoesCode: Set the time to 1000]
[14:35:00] [Render thread/INFO] (Minecraft) [System] [CHAT] Set the time to 1000
[14:35:37] [Server thread/INFO] (Minecraft) Saving and pausing game...
[14:35:37] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:35:37] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:35:37] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:35:56] [Server thread/INFO] (Minecraft) Saving and pausing game...
[14:35:56] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:35:56] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:35:56] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:36:04] [Server thread/INFO] (Minecraft) Saving and pausing game...
[14:36:04] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:36:04] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:36:04] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:36:21] [Server thread/INFO] (Minecraft) Saving and pausing game...
[14:36:21] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:36:21] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:36:21] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:36:37] [Server thread/INFO] (szar) TGdoesCode's joint level is now 0
[14:39:37] [Server thread/INFO] (szar) TGdoesCode's joint level is now 0
[14:40:06] [Render thread/WARN] (Minecraft) Unable to play empty soundEvent: minecraft:entity.salmon.ambient
[14:40:14] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 155.500000, 63.000000, -63.500000]
[14:40:14] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 155.500000, 63.000000, -63.500000
[14:40:55] [Render thread/INFO] (Minecraft) [System] [CHAT] No entity was found
[14:41:09] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 155.500000, 63.000000, -63.500000]
[14:41:09] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 155.500000, 63.000000, -63.500000
[14:41:12] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 155.500000, 63.000000, -63.500000]
[14:41:12] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 155.500000, 63.000000, -63.500000
[14:41:14] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 155.500000, 63.000000, -63.500000]
[14:41:14] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 155.500000, 63.000000, -63.500000
[14:41:16] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 155.500000, 63.000000, -63.500000]
[14:41:16] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 155.500000, 63.000000, -63.500000
[14:41:19] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 155.500000, 63.000000, -63.500000]
[14:41:19] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 155.500000, 63.000000, -63.500000
[14:41:23] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 155.500000, 63.000000, -63.500000]
[14:41:23] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 155.500000, 63.000000, -63.500000
[14:41:26] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 155.500000, 63.000000, -63.500000]
[14:41:26] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 155.500000, 63.000000, -63.500000
[14:41:28] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 155.500000, 63.000000, -63.500000]
[14:41:28] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 155.500000, 63.000000, -63.500000
[14:41:34] [Server thread/INFO] (Minecraft) Saving and pausing game...
[14:41:34] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:41:34] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:41:34] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:42:47] [Server thread/INFO] (Minecraft) Saving and pausing game...
[14:42:47] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:42:47] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:42:47] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:43:11] [Server thread/INFO] (Minecraft) [TGdoesCode: Teleported TGdoesCode to 155.500000, 63.000000, -63.500000]
[14:43:11] [Render thread/INFO] (Minecraft) [System] [CHAT] Teleported TGdoesCode to 155.500000, 63.000000, -63.500000
[14:43:12] [Server thread/INFO] (Minecraft) Saving and pausing game...
[14:43:12] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:43:12] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:43:12] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:43:30] [Server thread/INFO] (szar) TGdoesCode's joint level is now 0
[14:43:58] [Server thread/INFO] (Minecraft) Saving and pausing game...
[14:43:58] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:43:58] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:43:58] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:44:13] [Server thread/INFO] (Minecraft) TGdoesCode lost connection: Disconnected
[14:44:13] [Server thread/INFO] (Minecraft) TGdoesCode left the game
[14:44:13] [Server thread/INFO] (Minecraft) Stopping singleplayer server as player logged out
[14:44:13] [Server thread/INFO] (Minecraft) Stopping server
[14:44:13] [Server thread/INFO] (Minecraft) Saving players
[14:44:13] [Server thread/INFO] (Minecraft) Saving worlds
[14:44:13] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[14:44:14] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[14:44:14] [Server thread/INFO] (Minecraft) Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[14:44:14] [Server thread/INFO] (Minecraft) ThreadedAnvilChunkStorage (New World): All chunks are saved
[14:44:14] [Server thread/INFO] (Minecraft) ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[14:44:14] [Server thread/INFO] (Minecraft) ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[14:44:14] [Server thread/INFO] (Minecraft) ThreadedAnvilChunkStorage: All dimensions are saved
[14:44:15] [Render thread/INFO] (Minecraft) Stopping!

View File

@@ -1,137 +0,0 @@
version:3465
autoJump:false
operatorItemsTab:false
autoSuggestions:true
chatColors:true
chatLinks:true
chatLinksPrompt:true
enableVsync:true
entityShadows:true
forceUnicodeFont:false
discrete_mouse_scroll:false
invertYMouse:false
realmsNotifications:true
reducedDebugInfo:false
showSubtitles:true
directionalAudio:false
touchscreen:false
fullscreen:false
bobView:true
toggleCrouch:false
toggleSprint:false
darkMojangStudiosBackground:false
hideLightningFlashes:false
mouseSensitivity:0.5
fov:0.0
screenEffectScale:1.0
fovEffectScale:1.0
darknessEffectScale:1.0
glintSpeed:0.5
glintStrength:0.75
damageTiltStrength:1.0
highContrast:false
gamma:0.5
renderDistance:12
simulationDistance:12
entityDistanceScaling:1.0
guiScale:0
particles:0
maxFps:120
graphicsMode:1
ao:true
prioritizeChunkUpdates:0
biomeBlendRadius:2
renderClouds:"true"
resourcePacks:["fabric"]
incompatibleResourcePacks:[]
lastServer:
lang:en_us
soundDevice:""
chatVisibility:0
chatOpacity:1.0
chatLineSpacing:0.0
textBackgroundOpacity:0.5
backgroundForChatOnly:true
hideServerAddress:false
advancedItemTooltips:true
pauseOnLostFocus:true
overrideWidth:0
overrideHeight:0
chatHeightFocused:1.0
chatDelay:0.0
chatHeightUnfocused:0.4375
chatScale:1.0
chatWidth:1.0
notificationDisplayTime:1.0
mipmapLevels:4
useNativeTransport:true
mainHand:"right"
attackIndicator:1
narrator:0
tutorialStep:none
mouseWheelSensitivity:1.0
rawMouseInput:true
glDebugVerbosity:1
skipMultiplayerWarning:false
skipRealms32bitWarning:false
hideMatchedNames:true
joinedFirstServer:true
hideBundleTutorial:false
syncChunkWrites:true
showAutosaveIndicator:true
allowServerListing:true
onlyShowSecureChat:false
panoramaScrollSpeed:1.0
telemetryOptInExtra:false
onboardAccessibility:false
key_key.attack:key.mouse.left
key_key.use:key.mouse.right
key_key.forward:key.keyboard.w
key_key.left:key.keyboard.a
key_key.back:key.keyboard.s
key_key.right:key.keyboard.d
key_key.jump:key.keyboard.space
key_key.sneak:key.keyboard.left.shift
key_key.sprint:key.keyboard.left.control
key_key.drop:key.keyboard.q
key_key.inventory:key.keyboard.e
key_key.chat:key.keyboard.t
key_key.playerlist:key.keyboard.tab
key_key.pickItem:key.mouse.middle
key_key.command:key.keyboard.slash
key_key.socialInteractions:key.keyboard.p
key_key.screenshot:key.keyboard.f2
key_key.togglePerspective:key.keyboard.f5
key_key.smoothCamera:key.keyboard.unknown
key_key.fullscreen:key.keyboard.f11
key_key.spectatorOutlines:key.keyboard.unknown
key_key.swapOffhand:key.keyboard.f
key_key.saveToolbarActivator:key.keyboard.c
key_key.loadToolbarActivator:key.keyboard.x
key_key.advancements:key.keyboard.l
key_key.hotbar.1:key.keyboard.1
key_key.hotbar.2:key.keyboard.2
key_key.hotbar.3:key.keyboard.3
key_key.hotbar.4:key.keyboard.4
key_key.hotbar.5:key.keyboard.5
key_key.hotbar.6:key.keyboard.6
key_key.hotbar.7:key.keyboard.7
key_key.hotbar.8:key.keyboard.8
key_key.hotbar.9:key.keyboard.9
soundCategory_master:0.1529801324503311
soundCategory_music:0.0
soundCategory_record:1.0
soundCategory_weather:1.0
soundCategory_block:1.0
soundCategory_hostile:1.0
soundCategory_neutral:1.0
soundCategory_player:1.0
soundCategory_ambient:1.0
soundCategory_voice:1.0
modelPart_cape:true
modelPart_jacket:true
modelPart_left_sleeve:true
modelPart_right_sleeve:true
modelPart_left_pants_leg:true
modelPart_right_pants_leg:true
modelPart_hat:true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 747 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 796 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 868 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 907 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 913 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 740 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 600 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1014 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 933 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 879 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 946 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 701 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,26 @@
package dev.tggamesyt.szar.client;
import dev.tggamesyt.szar.MagyarEntity;
import net.minecraft.client.render.entity.EntityRendererFactory;
import net.minecraft.client.render.entity.MobEntityRenderer;
import net.minecraft.client.render.entity.model.BipedEntityModel;
import net.minecraft.client.render.entity.model.EntityModelLayers;
import net.minecraft.util.Identifier;
public class MagyarEntityRenderer
extends MobEntityRenderer<MagyarEntity, BipedEntityModel<MagyarEntity>> {
public MagyarEntityRenderer(EntityRendererFactory.Context context) {
super(
context,
new BipedEntityModel<>(context.getPart(EntityModelLayers.PLAYER)),
0.5F
);
}
@Override
public Identifier getTexture(MagyarEntity entity) {
return new Identifier("szar", "textures/entity/magyar.png");
}
}

View File

@@ -0,0 +1,26 @@
package dev.tggamesyt.szar.client;
import dev.tggamesyt.szar.OrbanEntity;
import net.minecraft.client.render.entity.EntityRendererFactory;
import net.minecraft.client.render.entity.MobEntityRenderer;
import net.minecraft.client.render.entity.model.BipedEntityModel;
import net.minecraft.client.render.entity.model.EntityModelLayers;
import net.minecraft.util.Identifier;
public class OrbanEntityRenderer
extends MobEntityRenderer<OrbanEntity, BipedEntityModel<OrbanEntity>> {
public OrbanEntityRenderer(EntityRendererFactory.Context context) {
super(
context,
new BipedEntityModel<>(context.getPart(EntityModelLayers.PLAYER)),
0.5F
);
}
@Override
public Identifier getTexture(OrbanEntity entity) {
return new Identifier("szar", "textures/entity/orban.png");
}
}

View File

@@ -548,6 +548,14 @@ public class SzarClient implements ClientModInitializer {
Szar.HitterEntityType, Szar.HitterEntityType,
HitterEntityRenderer::new HitterEntityRenderer::new
); );
EntityRendererRegistry.register(
OrbanEntityType,
OrbanEntityRenderer::new
);
EntityRendererRegistry.register(
MagyarEntityType,
MagyarEntityRenderer::new
);
EntityRendererRegistry.register( EntityRendererRegistry.register(
Szar.StalinEntityType, Szar.StalinEntityType,
StalinEntityRenderer::new StalinEntityRenderer::new

View File

@@ -1,14 +1,12 @@
package dev.tggamesyt.szar.client; package dev.tggamesyt.szar.client;
import dev.tggamesyt.szar.ModItemTagProvider; import dev.tggamesyt.szar.*;
import dev.tggamesyt.szar.ModPoiTagProvider;
import dev.tggamesyt.szar.ModWorldGenerator;
import dev.tggamesyt.szar.Szar;
import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint; import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint;
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator; import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator;
import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider;
import net.minecraft.block.Block;
import net.minecraft.registry.RegistryBuilder; import net.minecraft.registry.RegistryBuilder;
import net.minecraft.registry.RegistryKeys; import net.minecraft.registry.RegistryKeys;
import net.minecraft.registry.RegistryWrapper;
public class SzarDataGenerator implements DataGeneratorEntrypoint { public class SzarDataGenerator implements DataGeneratorEntrypoint {
@@ -16,12 +14,17 @@ public class SzarDataGenerator implements DataGeneratorEntrypoint {
public void onInitializeDataGenerator(FabricDataGenerator fabricDataGenerator) { public void onInitializeDataGenerator(FabricDataGenerator fabricDataGenerator) {
FabricDataGenerator.Pack pack = fabricDataGenerator.createPack(); FabricDataGenerator.Pack pack = fabricDataGenerator.createPack();
pack.addProvider(ModPoiTagProvider::new); pack.addProvider(ModPoiTagProvider::new);
pack.addProvider(ModItemTagProvider::new);
pack.addProvider(ModWorldGenerator::new); pack.addProvider(ModWorldGenerator::new);
FabricTagProvider<Block> blockTags =
pack.addProvider(ModBlockTagProvider::new);
pack.addProvider((output, registries) ->
new ModItemTagProvider(output, registries, blockTags));
} }
@Override @Override
public void buildRegistry(RegistryBuilder registryBuilder) { public void buildRegistry(RegistryBuilder registryBuilder) {
registryBuilder.addRegistry(RegistryKeys.CONFIGURED_FEATURE, Szar.ModConfiguredFeatures::boostrap); registryBuilder.addRegistry(RegistryKeys.CONFIGURED_FEATURE, Szar.ModConfiguredFeatures::boostrap);
registryBuilder.addRegistry(RegistryKeys.PLACED_FEATURE, Szar.ModPlacedFeatures::boostrap); registryBuilder.addRegistry(RegistryKeys.PLACED_FEATURE, Szar.ModPlacedFeatures::boostrap);
registryBuilder.addRegistry(RegistryKeys.BIOME, ModBiomes::bootstrap);
} }
} }

View File

@@ -1,3 +1,3 @@
// 1.20.1 2026-03-16T18:04:06.196888 szar/World Gen // 1.20.1 2026-04-13T18:11:43.5891441 szar/World Gen
1d26b5da3b0a2ea6b23d456d1f0b82455a788ca1 data\szar\worldgen\configured_feature\uranium_ore.json 1d26b5da3b0a2ea6b23d456d1f0b82455a788ca1 data\szar\worldgen\configured_feature\uranium_ore.json
32864170bdb41310f9ee5d06f5720dfdb3badb6d data\szar\worldgen\placed_feature\uranium_ore_placed.json 32864170bdb41310f9ee5d06f5720dfdb3badb6d data\szar\worldgen\placed_feature\uranium_ore_placed.json

View File

@@ -0,0 +1 @@
// 1.20.1 2026-04-13T18:11:43.5911498 szar/Tags for minecraft:block

View File

@@ -1,2 +1,2 @@
// 1.20.1 2026-03-16T18:04:06.197868 szar/Tags for minecraft:point_of_interest_type // 1.20.1 2026-04-13T18:11:43.5911498 szar/Tags for minecraft:point_of_interest_type
eba137b51c50a7143a3668876f41adaa1447b1d1 data\minecraft\tags\point_of_interest_type\acquirable_job_site.json eba137b51c50a7143a3668876f41adaa1447b1d1 data\minecraft\tags\point_of_interest_type\acquirable_job_site.json

View File

@@ -1,2 +1,3 @@
// 1.20.1 2026-03-16T18:04:06.196888 szar/Tags for minecraft:item // 1.20.1 2026-04-13T18:11:43.5901497 szar/Tags for minecraft:item
8a0ecda725173a6312a3e5d3a4b621cdecac4eed data\minecraft\tags\items\music_discs.json edfcd4a53e9627b3d636880f560f9adfa0dc0cdc data\minecraft\tags\items\music_discs.json
aa4e63a06745e574bbe80e94cc1b417460045562 data\minecraft\tags\items\beacon_base_blocks.json

View File

@@ -0,0 +1,13 @@
{
"replace": false,
"values": [
"minecraft:iron_block",
"minecraft:gold_block",
"minecraft:diamond_block",
"minecraft:emerald_block",
"minecraft:netherite_block",
"minecraft:lapis_block",
"szar:niggerite_block",
"szar:cigany"
]
}

View File

@@ -6,6 +6,7 @@
"szar:efn", "szar:efn",
"szar:hello", "szar:hello",
"szar:erika", "szar:erika",
"szar:ussr" "szar:ussr",
"szar:hun_disc"
] ]
} }

View File

@@ -5,11 +5,11 @@ import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.ai.goal.ActiveTargetGoal; import net.minecraft.entity.ai.goal.ActiveTargetGoal;
import net.minecraft.entity.mob.PathAwareEntity; import net.minecraft.entity.mob.PathAwareEntity;
public class AttackEnemyTeamGoal extends ActiveTargetGoal<LivingEntity> { public class AttackEnemyHunGoal extends ActiveTargetGoal<LivingEntity> {
public AttackEnemyTeamGoal(PathAwareEntity mob, String myTeam) { public AttackEnemyHunGoal(PathAwareEntity mob, String myTeam) {
super(mob, LivingEntity.class, true, target -> { super(mob, LivingEntity.class, true, target -> {
if (target instanceof TeamMember other) { if (target instanceof HunPartie other) {
return !other.getTeam().equals(myTeam); return !other.getTeam().equals(myTeam);
} }
return false; return false;

View File

@@ -0,0 +1,18 @@
// AttackEnemyTeamGoal.java
package dev.tggamesyt.szar;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.ai.goal.ActiveTargetGoal;
import net.minecraft.entity.mob.PathAwareEntity;
public class AttackEnemyWarGoal extends ActiveTargetGoal<LivingEntity> {
public AttackEnemyWarGoal(PathAwareEntity mob, String myTeam) {
super(mob, LivingEntity.class, true, target -> {
if (target instanceof WarParticipant other) {
return !other.getTeam().equals(myTeam);
}
return false;
});
}
}

View File

@@ -21,7 +21,7 @@ import net.minecraft.world.ServerWorldAccess;
import net.minecraft.world.World; import net.minecraft.world.World;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
public class CommunistEntity extends PathAwareEntity implements Arrestable, TeamMember { public class CommunistEntity extends PathAwareEntity implements Arrestable, WarParticipant {
public static boolean arrestable = false; public static boolean arrestable = false;
@Nullable @Nullable
@@ -38,7 +38,7 @@ public class CommunistEntity extends PathAwareEntity implements Arrestable, Team
this.goalSelector.add(1, new AK47AttackGoal(this, 16.0F, 2)); this.goalSelector.add(1, new AK47AttackGoal(this, 16.0F, 2));
this.targetSelector.add(1, new AggroOnHitRevengeGoal(this)); this.targetSelector.add(1, new AggroOnHitRevengeGoal(this));
this.targetSelector.add(2, new AttackEnemyTeamGoal(this, "communist")); this.targetSelector.add(2, new AttackEnemyWarGoal(this, "communist"));
} }

View File

@@ -20,12 +20,11 @@ import net.minecraft.world.ServerWorldAccess;
import net.minecraft.world.World; import net.minecraft.world.World;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
import java.util.ArrayList;
import java.util.List; import java.util.List;
import static dev.tggamesyt.szar.Szar.NaziEntityType; import static dev.tggamesyt.szar.Szar.NaziEntityType;
public class HitterEntity extends PathAwareEntity implements Arrestable, TeamMember { public class HitterEntity extends PathAwareEntity implements Arrestable, WarParticipant {
public static boolean arrestable = true; public static boolean arrestable = true;
@@ -40,7 +39,7 @@ public class HitterEntity extends PathAwareEntity implements Arrestable, TeamMem
this.goalSelector.add(3, new LookAroundGoal(this)); this.goalSelector.add(3, new LookAroundGoal(this));
this.targetSelector.add(1, new AggroOnHitRevengeGoal(this)); this.targetSelector.add(1, new AggroOnHitRevengeGoal(this));
this.targetSelector.add(2, new AttackEnemyTeamGoal(this, "nazi")); this.targetSelector.add(2, new AttackEnemyWarGoal(this, "nazi"));
} }

View File

@@ -0,0 +1,5 @@
package dev.tggamesyt.szar;
public interface HunPartie {
String getTeam();
}

View File

@@ -0,0 +1,56 @@
package dev.tggamesyt.szar;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.ai.goal.MeleeAttackGoal;
import net.minecraft.entity.ai.goal.WanderAroundFarGoal;
import net.minecraft.entity.attribute.DefaultAttributeContainer;
import net.minecraft.entity.attribute.EntityAttributes;
import net.minecraft.entity.damage.DamageSource;
import net.minecraft.entity.mob.MobEntity;
import net.minecraft.entity.mob.PathAwareEntity;
import net.minecraft.world.World;
public class MagyarEntity extends PathAwareEntity implements Arrestable, HunPartie {
public static boolean arrestable = false;
public MagyarEntity(EntityType<? extends PathAwareEntity> type, World world) {
super(type, world);
}
@Override
protected void initGoals() {
this.goalSelector.add(2, new FollowLeaderWanderGoal(this, 1.0D, 6.0F));
this.goalSelector.add(3, new WanderAroundFarGoal(this, 0.8D));
this.goalSelector.add(1, new MeleeAttackGoal(this, 1.0, true));
this.targetSelector.add(1, new AggroOnHitRevengeGoal(this));
this.targetSelector.add(2, new AttackEnemyHunGoal(this, "tisza"));
}
public static DefaultAttributeContainer.Builder createAttributes() {
return MobEntity.createMobAttributes()
.add(EntityAttributes.GENERIC_MAX_HEALTH, 20.0)
.add(EntityAttributes.GENERIC_MOVEMENT_SPEED, 0.25)
.add(EntityAttributes.GENERIC_ATTACK_DAMAGE, 2);
}
@Override
protected void dropLoot(DamageSource source, boolean causedByPlayer) {
var rand = this.getRandom();
if (rand.nextFloat() < 0.01F) {
this.dropItem(Szar.HUN_DISC);
}
}
@Override
public boolean isArrestable() {
return arrestable;
}
@Override
public String getTeam() {
return "tisza";
}
}

View File

@@ -0,0 +1,41 @@
package dev.tggamesyt.szar;
import net.minecraft.entity.SpawnGroup;
import net.minecraft.registry.Registerable;
import net.minecraft.sound.BiomeMoodSound;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.biome.BiomeEffects;
import net.minecraft.world.biome.GenerationSettings;
import net.minecraft.world.biome.SpawnSettings;
public class ModBiomes {
public static void bootstrap(Registerable<Biome> context) {
context.register(Szar.CHORUS_FOREST, createChorusForest());
}
private static Biome createChorusForest() {
return new Biome.Builder()
.precipitation(false)
.temperature(0.5f)
.downfall(0.0f)
.effects(new BiomeEffects.Builder()
.skyColor(0)
.fogColor(10518688)
.waterColor(4159204)
.waterFogColor(329011)
.moodSound(BiomeMoodSound.CAVE)
.build())
.spawnSettings(new SpawnSettings.Builder()
.creatureSpawnProbability(0.1f)
.spawn(SpawnGroup.MONSTER,
new SpawnSettings.SpawnEntry(net.minecraft.entity.EntityType.ENDERMAN, 10, 1, 4))
.build())
.generationSettings(new GenerationSettings.Builder().build())
.build();
}
}

View File

@@ -0,0 +1,21 @@
package dev.tggamesyt.szar;
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput;
import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider;
import net.minecraft.registry.RegistryKeys;import net.minecraft.registry.RegistryWrapper;
import net.minecraft.registry.tag.BlockTags;
import java.util.concurrent.CompletableFuture;
public class ModBlockTagProvider extends FabricTagProvider.BlockTagProvider {
public ModBlockTagProvider(FabricDataOutput output,
CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture) {
super(output, registriesFuture);
}
@Override
protected void configure(RegistryWrapper.WrapperLookup lookup) {
}
}

View File

@@ -2,24 +2,44 @@ package dev.tggamesyt.szar;
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput;
import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider; import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.Items;
import net.minecraft.registry.RegistryKeys;
import net.minecraft.registry.RegistryWrapper; import net.minecraft.registry.RegistryWrapper;
import net.minecraft.registry.tag.BlockTags;
import net.minecraft.registry.tag.ItemTags; import net.minecraft.registry.tag.ItemTags;
import net.minecraft.registry.tag.TagKey;
import net.minecraft.util.Identifier;
import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletableFuture;
public class ModItemTagProvider extends FabricTagProvider.ItemTagProvider { public class ModItemTagProvider extends FabricTagProvider.ItemTagProvider {
public ModItemTagProvider(FabricDataOutput output, public ModItemTagProvider(FabricDataOutput output,
CompletableFuture<RegistryWrapper.WrapperLookup> completableFuture) { CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture,
super(output, completableFuture); FabricTagProvider<Block> blockTagProvider) {
super(output, registriesFuture, (BlockTagProvider) blockTagProvider);
} }
public static final TagKey<Item> BEACON_BASE_BLOCKS =
TagKey.of(RegistryKeys.ITEM, new Identifier("minecraft", "beacon_base_blocks"));
@Override @Override
protected void configure(RegistryWrapper.WrapperLookup lookup) { protected void configure(RegistryWrapper.WrapperLookup lookup) {
getOrCreateTagBuilder(ItemTags.MUSIC_DISCS).add(Szar.POPTART); getOrCreateTagBuilder(ItemTags.MUSIC_DISCS)
getOrCreateTagBuilder(ItemTags.MUSIC_DISCS).add(Szar.BAITER_DISC); .add(Szar.POPTART)
getOrCreateTagBuilder(ItemTags.MUSIC_DISCS).add(Szar.EFN_DISK); .add(Szar.BAITER_DISC)
getOrCreateTagBuilder(ItemTags.MUSIC_DISCS).add(Szar.HELLO_DISC); .add(Szar.EFN_DISK)
getOrCreateTagBuilder(ItemTags.MUSIC_DISCS).add(Szar.ERIKA_DISC); .add(Szar.HELLO_DISC)
getOrCreateTagBuilder(ItemTags.MUSIC_DISCS).add(Szar.USSR_DISC); .add(Szar.ERIKA_DISC)
.add(Szar.USSR_DISC)
.add(Szar.HUN_DISC);
getOrCreateTagBuilder(BEACON_BASE_BLOCKS)
.add(Items.IRON_BLOCK)
.add(Items.GOLD_BLOCK)
.add(Items.DIAMOND_BLOCK)
.add(Items.EMERALD_BLOCK)
.add(Items.NETHERITE_BLOCK)
.add(Items.LAPIS_BLOCK)
.add(Szar.NIGGERITE_BLOCK)
.add(Szar.CIGANYBLOCK);
} }
} }

View File

@@ -21,7 +21,7 @@ import net.minecraft.world.ServerWorldAccess;
import net.minecraft.world.World; import net.minecraft.world.World;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
public class NaziEntity extends PathAwareEntity implements Arrestable, TeamMember { public class NaziEntity extends PathAwareEntity implements Arrestable, WarParticipant {
private boolean hithandPlaying = false; private boolean hithandPlaying = false;
private int hithandTimer = 0; // ticks remaining private int hithandTimer = 0; // ticks remaining
@@ -91,7 +91,7 @@ public class NaziEntity extends PathAwareEntity implements Arrestable, TeamMembe
this.goalSelector.add(1, new AK47AttackGoal(this, 16.0F, 2)); this.goalSelector.add(1, new AK47AttackGoal(this, 16.0F, 2));
this.targetSelector.add(1, new AggroOnHitRevengeGoal(this)); this.targetSelector.add(1, new AggroOnHitRevengeGoal(this));
this.targetSelector.add(2, new AttackEnemyTeamGoal(this, "nazi")); this.targetSelector.add(2, new AttackEnemyWarGoal(this, "nazi"));
} }

View File

@@ -0,0 +1,65 @@
package dev.tggamesyt.szar;
import com.mojang.serialization.Codec;
import net.minecraft.structure.StructurePlacementData;
import net.minecraft.util.BlockRotation;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.ChunkPos;
import net.minecraft.world.Heightmap;
import net.minecraft.world.gen.structure.Structure;
import net.minecraft.world.gen.structure.StructureType;
import java.util.Optional;
public class ObsidianCubeStructure extends Structure {
public static final Codec<ObsidianCubeStructure> CODEC =
Structure.createCodec(ObsidianCubeStructure::new);
public ObsidianCubeStructure(Config config) {
super(config);
}
@Override
protected Optional<StructurePosition> getStructurePosition(Context context) {
return Structure.getStructurePosition(
context,
Heightmap.Type.WORLD_SURFACE_WG,
collector -> {
ChunkPos chunkPos = context.chunkPos();
int x = chunkPos.getCenterX();
int z = chunkPos.getCenterZ();
int y = context.chunkGenerator().getHeightInGround(
x, z,
Heightmap.Type.WORLD_SURFACE_WG,
context.world(),
context.noiseConfig()
);
BlockPos pos = new BlockPos(x, y, z);
StructurePlacementData placement =
new StructurePlacementData()
.setRotation(
BlockRotation.random(context.random())
);
collector.addPiece(
new ObsidianCubeStructurePiece(
context,
pos,
BlockPos.ORIGIN,
placement
)
);
}
);
}
@Override
public StructureType<?> getType() {
return Szar.OBSIDIAN_CUBE_TYPE;
}
}

View File

@@ -0,0 +1,49 @@
package dev.tggamesyt.szar;
import net.minecraft.nbt.NbtCompound;
import net.minecraft.structure.SimpleStructurePiece;
import net.minecraft.structure.StructureContext;
import net.minecraft.structure.StructurePlacementData;
import net.minecraft.util.Identifier;
import net.minecraft.util.math.BlockBox;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.random.Random;
import net.minecraft.world.ServerWorldAccess;
import net.minecraft.world.gen.structure.Structure;
public class ObsidianCubeStructurePiece extends SimpleStructurePiece {
private static final Identifier TEMPLATE_ID =
new Identifier(Szar.MOD_ID, "obsidian_cube");
/* ===== NORMAL CONSTRUCTOR ===== */
public ObsidianCubeStructurePiece(
Structure.Context context,
BlockPos pos,
BlockPos origin,
StructurePlacementData placement
) {
super(
Szar.OBSIDIAN_CUBE_PIECE,
0,
context.structureTemplateManager(),
TEMPLATE_ID,
TEMPLATE_ID.toString(),
placement,
pos
);
}
/* ===== NBT CONSTRUCTOR ===== */
public ObsidianCubeStructurePiece(StructureContext context, NbtCompound nbt) {
super(
Szar.OBSIDIAN_CUBE_PIECE,
nbt,
context.structureTemplateManager(),
identifier -> new StructurePlacementData()
);
}
@Override
protected void handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) {}
}

View File

@@ -0,0 +1,67 @@
package dev.tggamesyt.szar;
import net.minecraft.entity.EntityData;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.SpawnReason;
import net.minecraft.entity.ai.goal.MeleeAttackGoal;
import net.minecraft.entity.ai.goal.WanderAroundFarGoal;
import net.minecraft.entity.attribute.DefaultAttributeContainer;
import net.minecraft.entity.attribute.EntityAttributes;
import net.minecraft.entity.damage.DamageSource;
import net.minecraft.entity.mob.MobEntity;
import net.minecraft.entity.mob.PathAwareEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import net.minecraft.nbt.NbtCompound;
import net.minecraft.nbt.NbtList;
import net.minecraft.nbt.NbtString;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.world.LocalDifficulty;
import net.minecraft.world.ServerWorldAccess;
import net.minecraft.world.World;
import org.jetbrains.annotations.Nullable;
public class OrbanEntity extends PathAwareEntity implements Arrestable, HunPartie {
public static boolean arrestable = false;
public OrbanEntity(EntityType<? extends PathAwareEntity> type, World world) {
super(type, world);
}
@Override
protected void initGoals() {
this.goalSelector.add(2, new FollowLeaderWanderGoal(this, 1.0D, 6.0F));
this.goalSelector.add(3, new WanderAroundFarGoal(this, 0.8D));
this.goalSelector.add(1, new MeleeAttackGoal(this, 1.0, true));
this.targetSelector.add(1, new AggroOnHitRevengeGoal(this));
this.targetSelector.add(2, new AttackEnemyHunGoal(this, "fidesz"));
}
public static DefaultAttributeContainer.Builder createAttributes() {
return MobEntity.createMobAttributes()
.add(EntityAttributes.GENERIC_MAX_HEALTH, 20.0)
.add(EntityAttributes.GENERIC_MOVEMENT_SPEED, 0.25)
.add(EntityAttributes.GENERIC_ATTACK_DAMAGE, 2);
}
@Override
protected void dropLoot(DamageSource source, boolean causedByPlayer) {
var rand = this.getRandom();
if (rand.nextFloat() < 0.01F) {
this.dropItem(Szar.HUN_DISC);
}
}
@Override
public boolean isArrestable() {
return arrestable;
}
@Override
public String getTeam() {
return "fidesz";
}
}

View File

@@ -23,10 +23,10 @@ public class ServerCosmetics {
public static final Identifier MOJANG_CAPES_SYNC = new Identifier(Szar.MOD_ID, "mojang_capes_sync"); public static final Identifier MOJANG_CAPES_SYNC = new Identifier(Szar.MOD_ID, "mojang_capes_sync");
private static final String CAPES_URL = private static final String CAPES_URL =
"https://raw.githubusercontent.com/tggamesyt/szar/main/capes.json"; "https://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/capes.json";
private static final String USERS_URL = private static final String USERS_URL =
"https://raw.githubusercontent.com/tggamesyt/szar/main/usercosmetics.json"; "https://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/usercosmetics.json";
public static final Map<String, String> CAPES = new HashMap<>(); public static final Map<String, String> CAPES = new HashMap<>();
public static final Map<UUID, UserCosmetics> USERS = new HashMap<>(); public static final Map<UUID, UserCosmetics> USERS = new HashMap<>();
@@ -112,7 +112,7 @@ public class ServerCosmetics {
USERS.put(uuid, user); USERS.put(uuid, user);
} }
Szar.LOGGER.info("Loaded server capes & user cosmetics from GitHub"); Szar.LOGGER.info("Loaded server capes & user cosmetics from Gitea");
} catch (Exception e) { } catch (Exception e) {
Szar.LOGGER.error("Failed loading cosmetics", e); Szar.LOGGER.error("Failed loading cosmetics", e);

View File

@@ -26,7 +26,7 @@ import java.util.List;
import static dev.tggamesyt.szar.Szar.CommunistEntityType; import static dev.tggamesyt.szar.Szar.CommunistEntityType;
public class StalinEntity extends PathAwareEntity implements Arrestable, TeamMember { public class StalinEntity extends PathAwareEntity implements Arrestable, WarParticipant {
public static boolean arrestable = true; public static boolean arrestable = true;
@@ -41,7 +41,7 @@ public class StalinEntity extends PathAwareEntity implements Arrestable, TeamMem
this.goalSelector.add(3, new LookAroundGoal(this)); this.goalSelector.add(3, new LookAroundGoal(this));
this.targetSelector.add(1, new AggroOnHitRevengeGoal(this)); this.targetSelector.add(1, new AggroOnHitRevengeGoal(this));
this.targetSelector.add(2, new AttackEnemyTeamGoal(this, "communist")); this.targetSelector.add(2, new AttackEnemyWarGoal(this, "communist"));
} }

View File

@@ -43,6 +43,7 @@ import net.minecraft.entity.data.TrackedDataHandlerRegistry;
import net.minecraft.entity.decoration.painting.PaintingVariant; import net.minecraft.entity.decoration.painting.PaintingVariant;
import net.minecraft.entity.effect.StatusEffect; import net.minecraft.entity.effect.StatusEffect;
import net.minecraft.entity.effect.StatusEffectInstance; import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.entity.passive.VillagerEntity; import net.minecraft.entity.passive.VillagerEntity;
import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.*; import net.minecraft.item.*;
@@ -286,6 +287,24 @@ public class Szar implements ModInitializer {
.dimensions(EntityDimensions.fixed(0.6F, 1.8F)) // player-sized .dimensions(EntityDimensions.fixed(0.6F, 1.8F)) // player-sized
.build() .build()
); );
public static final EntityType<OrbanEntity> OrbanEntityType =
Registry.register(
Registries.ENTITY_TYPE,
new Identifier(MOD_ID, "orban"),
FabricEntityTypeBuilder
.create(SpawnGroup.CREATURE, OrbanEntity::new)
.dimensions(EntityDimensions.fixed(0.6F, 1.8F))
.build()
);
public static final EntityType<MagyarEntity> MagyarEntityType =
Registry.register(
Registries.ENTITY_TYPE,
new Identifier(MOD_ID, "magyar"),
FabricEntityTypeBuilder
.create(SpawnGroup.CREATURE, MagyarEntity::new)
.dimensions(EntityDimensions.fixed(0.6F, 1.8F))
.build()
);
public static final EntityType<StalinEntity> StalinEntityType = public static final EntityType<StalinEntity> StalinEntityType =
Registry.register( Registry.register(
Registries.ENTITY_TYPE, Registries.ENTITY_TYPE,
@@ -396,6 +415,8 @@ public class Szar implements ModInitializer {
entries.add(Szar.ENDER_ORE_ITEM); entries.add(Szar.ENDER_ORE_ITEM);
entries.add(Szar.RAW_ENDER); entries.add(Szar.RAW_ENDER);
entries.add(Szar.ENDER_INGOT); entries.add(Szar.ENDER_INGOT);
entries.add(Szar.SUPER_DIAMOND);
entries.add(Szar.SUPER_APPLE);
// blueprint stuff // blueprint stuff
entries.add(BlueprintBlocks.BLUEPRINT); entries.add(BlueprintBlocks.BLUEPRINT);
entries.add(BlueprintBlocks.BLUEPRINT_DOOR_ITEM); entries.add(BlueprintBlocks.BLUEPRINT_DOOR_ITEM);
@@ -443,6 +464,10 @@ public class Szar implements ModInitializer {
entries.add(Szar.COMMUNIST_SPAWNEGG); entries.add(Szar.COMMUNIST_SPAWNEGG);
entries.add(Szar.ERIKA_DISC); entries.add(Szar.ERIKA_DISC);
entries.add(Szar.USSR_DISC); entries.add(Szar.USSR_DISC);
// politics
entries.add(Szar.ORBAN_SPAWNEGG);
entries.add(Szar.MAGYAR_SPAWNEGG);
entries.add(Szar.HUN_DISC);
// racism // racism
if (showRacist) { if (showRacist) {
entries.add(Szar.CIGANYBLOCK); entries.add(Szar.CIGANYBLOCK);
@@ -837,6 +862,14 @@ public class Szar implements ModInitializer {
HitterEntityType, HitterEntityType,
HitterEntity.createAttributes() HitterEntity.createAttributes()
); );
FabricDefaultAttributeRegistry.register(
OrbanEntityType,
OrbanEntity.createAttributes()
);
FabricDefaultAttributeRegistry.register(
MagyarEntityType,
MagyarEntity.createAttributes()
);
FabricDefaultAttributeRegistry.register( FabricDefaultAttributeRegistry.register(
CommunistEntityType, CommunistEntityType,
CommunistEntity.createAttributes() CommunistEntity.createAttributes()
@@ -905,7 +938,12 @@ public class Szar implements ModInitializer {
1, // min group size 1, // min group size
2 // max group size 2 // max group size
); );
BiomeModifications.addSpawn(
BiomeSelectors.includeByKey(BiomeKeys.PLAINS, BiomeKeys.FLOWER_FOREST, BiomeKeys.FOREST),
SpawnGroup.MONSTER,
OrbanEntityType,
1, 1, 1
);
BiomeModifications.addSpawn( BiomeModifications.addSpawn(
BiomeSelectors.includeByKey(BiomeKeys.WINDSWEPT_HILLS, BiomeKeys.WINDSWEPT_GRAVELLY_HILLS, BiomeKeys.STONY_PEAKS), BiomeSelectors.includeByKey(BiomeKeys.WINDSWEPT_HILLS, BiomeKeys.WINDSWEPT_GRAVELLY_HILLS, BiomeKeys.STONY_PEAKS),
SpawnGroup.MONSTER, SpawnGroup.MONSTER,
@@ -1551,6 +1589,25 @@ public class Szar implements ModInitializer {
new Identifier(MOD_ID, "ender_ingot"), new Identifier(MOD_ID, "ender_ingot"),
new Item(new FabricItemSettings()) new Item(new FabricItemSettings())
); );
public static final Item SUPER_DIAMOND = Registry.register(
Registries.ITEM,
new Identifier(MOD_ID, "super_diamond"),
new Item(new FabricItemSettings())
);
public static final Item SUPER_APPLE = Registry.register(
Registries.ITEM,
new Identifier(MOD_ID, "super_apple"),
new Item(new FabricItemSettings().food(
new FoodComponent.Builder()
.hunger(20)
.alwaysEdible()
.saturationModifier(20F)
.statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION,10*20, 255 ), 1F)
.statusEffect(new StatusEffectInstance(StatusEffects.HEALTH_BOOST,120*20, 4 ), 1F)
.statusEffect(new StatusEffectInstance(StatusEffects.RESISTANCE,120*20, 1), 1F)
.build()
).rarity(Rarity.EPIC))
);
// Blocks // Blocks
public static final TrackerBlock TRACKER_BLOCK = Registry.register( public static final TrackerBlock TRACKER_BLOCK = Registry.register(
Registries.BLOCK, new Identifier(MOD_ID, "tracker"), Registries.BLOCK, new Identifier(MOD_ID, "tracker"),
@@ -1785,7 +1842,19 @@ public class Szar implements ModInitializer {
new Identifier(MOD_ID, "island_piece"), new Identifier(MOD_ID, "island_piece"),
IslandStructurePiece::new IslandStructurePiece::new
); );
public static final StructurePieceType OBSIDIAN_CUBE_PIECE =
Registry.register(
Registries.STRUCTURE_PIECE,
new Identifier(MOD_ID, "obsidian_cube_piece"),
ObsidianCubeStructurePiece::new
);
public static final StructureType<ObsidianCubeStructure> OBSIDIAN_CUBE_TYPE =
Registry.register(
Registries.STRUCTURE_TYPE,
new Identifier(MOD_ID, "obsidian_cube"),
() -> ObsidianCubeStructure.CODEC
);
public static final StructureType<IslandStructure> ISLAND_TYPE = public static final StructureType<IslandStructure> ISLAND_TYPE =
Registry.register( Registry.register(
Registries.STRUCTURE_TYPE, Registries.STRUCTURE_TYPE,
@@ -2249,6 +2318,13 @@ public class Szar implements ModInitializer {
new Identifier(MOD_ID, "baiter"), new Identifier(MOD_ID, "baiter"),
new MusicDiscItem(12, BAITER, new Item.Settings().maxCount(1).rarity(Rarity.RARE), 172) new MusicDiscItem(12, BAITER, new Item.Settings().maxCount(1).rarity(Rarity.RARE), 172)
); );
public static final SoundEvent HUN_ANTHEM =
SoundEvent.of(new Identifier(MOD_ID, "hun_anthem"));
public static final Item HUN_DISC = Registry.register(
Registries.ITEM,
new Identifier(MOD_ID, "hun_disc"),
new MusicDiscItem(8, HUN_ANTHEM, new Item.Settings().maxCount(1).rarity(Rarity.RARE), 120)
);
public static final SoundEvent ERIKA = public static final SoundEvent ERIKA =
SoundEvent.of(new Identifier(MOD_ID, "erika")); SoundEvent.of(new Identifier(MOD_ID, "erika"));
public static final Item ERIKA_DISC = Registry.register( public static final Item ERIKA_DISC = Registry.register(
@@ -2307,6 +2383,26 @@ public class Szar implements ModInitializer {
new Item.Settings() new Item.Settings()
) )
); );
public static final Item ORBAN_SPAWNEGG = Registry.register(
Registries.ITEM,
new Identifier(MOD_ID, "orban_spawn_egg"),
new SpawnEggItem(
OrbanEntityType,
0xFD8100,
0xFFFFFF,
new Item.Settings()
)
);
public static final Item MAGYAR_SPAWNEGG = Registry.register(
Registries.ITEM,
new Identifier(MOD_ID, "magyar_spawn_egg"),
new SpawnEggItem(
MagyarEntityType,
0x24B573,
0xED4551,
new Item.Settings()
)
);
public static final Item HITTER_SPAWNEGG = Registry.register( public static final Item HITTER_SPAWNEGG = Registry.register(
Registries.ITEM, Registries.ITEM,
new Identifier(MOD_ID, "hitler_spawn_egg"), new Identifier(MOD_ID, "hitler_spawn_egg"),

Some files were not shown because too many files have changed in this diff Show More