uj
14
build/resources/client/szar.client.mixins.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "dev.tggamesyt.szar.mixin.client",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"client": [
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
},
|
||||
"overwrites": {
|
||||
"requireAnnotations": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"variants": {
|
||||
"half=lower": { "model": "szar:block/cannabis_bottom" },
|
||||
"half=upper": { "model": "szar:block/cannabis" }
|
||||
}
|
||||
}
|
||||
7
build/resources/main/assets/szar/blockstates/cigany.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "szar:block/cigany"
|
||||
}
|
||||
}
|
||||
}
|
||||
7
build/resources/main/assets/szar/blockstates/fasz.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "szar:block/fasz"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
build/resources/main/assets/szar/icon.png
Normal file
|
After Width: | Height: | Size: 237 KiB |
12
build/resources/main/assets/szar/lang/en_us.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"block.szar.cigany": "Cigány Block",
|
||||
"block.szar.fasz": "Fasz",
|
||||
"item.szar.nwordpass": "N-Word Pass",
|
||||
"entity.szar.nigger": "Nigger",
|
||||
"item.szar.nigger_spawn_egg":"Nigger Spawn Egg",
|
||||
"itemgroup.szar_group": "Szar",
|
||||
"block.szar.cannabis": "Cannabis",
|
||||
"item.szar.weed": "Weed",
|
||||
"effect.szar.drog": "Drog",
|
||||
"item.szar.weed_joint": "Weed Joint"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "szar:block/cannabis"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cross",
|
||||
"textures": {
|
||||
"cross": "szar:block/cannabis_bottom"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "szar:block/cigany"
|
||||
}
|
||||
}
|
||||
57
build/resources/main/assets/szar/models/block/fasz.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"0": "szar:block/fasz",
|
||||
"particle": "szar:block/white"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [6, 0, 2],
|
||||
"to": [10, 4, 6],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6, 0, 2]},
|
||||
"faces": {
|
||||
"north": {"uv": [8, 0, 10, 2], "texture": "#0"},
|
||||
"east": {"uv": [8, 2, 10, 4], "texture": "#0"},
|
||||
"south": {"uv": [8, 4, 10, 6], "texture": "#0"},
|
||||
"west": {"uv": [8, 6, 10, 8], "texture": "#0"},
|
||||
"up": {"uv": [10, 10, 8, 8], "texture": "#0"},
|
||||
"down": {"uv": [12, 0, 10, 2], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [6, 0, 10],
|
||||
"to": [10, 4, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6, 0, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [10, 2, 12, 4], "texture": "#0"},
|
||||
"east": {"uv": [10, 4, 12, 6], "texture": "#0"},
|
||||
"south": {"uv": [10, 6, 12, 8], "texture": "#0"},
|
||||
"west": {"uv": [8, 10, 10, 12], "texture": "#0"},
|
||||
"up": {"uv": [12, 10, 10, 8], "texture": "#0"},
|
||||
"down": {"uv": [12, 10, 10, 12], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [6, 4, 6],
|
||||
"to": [10, 32, 10],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6, 4, 6]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 2, 14], "texture": "#0"},
|
||||
"east": {"uv": [2, 0, 4, 14], "texture": "#0"},
|
||||
"south": {"uv": [4, 0, 6, 14], "texture": "#0"},
|
||||
"west": {"uv": [6, 0, 8, 14], "texture": "#0"},
|
||||
"up": {"uv": [14, 2, 12, 0], "texture": "#0"},
|
||||
"down": {"uv": [14, 2, 12, 4], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [79.94, -84.91, 76.47],
|
||||
"translation": [-6.75, 6.75, 1.5],
|
||||
"scale": [1, 1.43164, 1]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "szar:block/cannabis"
|
||||
}
|
||||
}
|
||||
3
build/resources/main/assets/szar/models/item/cigany.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "szar:block/cigany"
|
||||
}
|
||||
3
build/resources/main/assets/szar/models/item/fasz.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "szar:block/fasz"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:item/template_spawn_egg"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "szar:item/nwordpass"
|
||||
}
|
||||
}
|
||||
6
build/resources/main/assets/szar/models/item/weed.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "szar:item/weed"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:item/joint3d",
|
||||
"particle": "szar:item/joint3d"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [7, 0, 7],
|
||||
"to": [9, 12, 9],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7, 0, 7]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 2, 12], "texture": "#0"},
|
||||
"east": {"uv": [2, 0, 4, 12], "texture": "#0"},
|
||||
"south": {"uv": [4, 0, 6, 12], "texture": "#0"},
|
||||
"west": {"uv": [6, 0, 8, 12], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 8, 0], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 8, 4], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [90, 0, 0],
|
||||
"translation": [-6, -1.5, 0]
|
||||
}
|
||||
}
|
||||
}
|
||||
16
build/resources/main/assets/szar/models/item/weed_joint.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "szar:item/weed_joint"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"predicate": { "held": 1 },
|
||||
"model": "szar:item/weed_join_3d"
|
||||
},
|
||||
{
|
||||
"predicate": { "using": 1 },
|
||||
"model": "szar:item/weed_joint_held"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "szar:item/joint3d",
|
||||
"particle": "szar:item/joint3d"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [7, 0, 7],
|
||||
"to": [9, 12, 9],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7, 0, 7]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 2, 12], "texture": "#0"},
|
||||
"east": {"uv": [2, 0, 4, 12], "texture": "#0"},
|
||||
"south": {"uv": [4, 0, 6, 12], "texture": "#0"},
|
||||
"west": {"uv": [6, 0, 8, 12], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 8, 0], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 8, 4], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"predicate": {
|
||||
"using": 1
|
||||
},
|
||||
"model": "szar:item/weed_joint_held"
|
||||
}
|
||||
],
|
||||
"display": {}
|
||||
}
|
||||
BIN
build/resources/main/assets/szar/textures/block/cannabis.png
Normal file
|
After Width: | Height: | Size: 453 B |
|
After Width: | Height: | Size: 508 B |
BIN
build/resources/main/assets/szar/textures/block/cigany.png
Normal file
|
After Width: | Height: | Size: 237 KiB |
BIN
build/resources/main/assets/szar/textures/block/fasz.png
Normal file
|
After Width: | Height: | Size: 192 B |
BIN
build/resources/main/assets/szar/textures/block/white.png
Normal file
|
After Width: | Height: | Size: 157 B |
BIN
build/resources/main/assets/szar/textures/entity/nigg.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
build/resources/main/assets/szar/textures/item/joint3d.png
Normal file
|
After Width: | Height: | Size: 177 B |
BIN
build/resources/main/assets/szar/textures/item/nwordpass.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
build/resources/main/assets/szar/textures/item/weed.png
Normal file
|
After Width: | Height: | Size: 295 B |
BIN
build/resources/main/assets/szar/textures/item/weed_joint.png
Normal file
|
After Width: | Height: | Size: 344 B |
BIN
build/resources/main/assets/szar/textures/item/weed_joint1.png
Normal file
|
After Width: | Height: | Size: 326 B |
BIN
build/resources/main/assets/szar/textures/mob_effect/drog.png
Normal file
|
After Width: | Height: | Size: 344 B |
15
build/resources/main/data/szar/advancements/nwordpass.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "szar:nwordpass"
|
||||
},
|
||||
"title": "Nig-",
|
||||
"description": "Get an N-word pass",
|
||||
"show_toast": true
|
||||
},
|
||||
"criteria": {
|
||||
"used_item": {
|
||||
"trigger": "minecraft:impossible"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "szar:cannabis"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"items": ["minecraft:shears"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"enchantments": [
|
||||
{
|
||||
"enchantment": "minecraft:silk_touch",
|
||||
"levels": { "min": 1 }
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.5
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
20
build/resources/main/data/szar/recipes/fasz.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" M ",
|
||||
" B ",
|
||||
"B B"
|
||||
],
|
||||
"key": {
|
||||
"M": {
|
||||
"item": "minecraft:milk_bucket"
|
||||
},
|
||||
"B": {
|
||||
"item": "minecraft:beef"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "szar:fasz",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
9
build/resources/main/data/szar/recipes/weed.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "szar:cannabis"
|
||||
},
|
||||
"result": "szar:weed",
|
||||
"experience": 0.67,
|
||||
"cookingtime": 100
|
||||
}
|
||||
20
build/resources/main/data/szar/recipes/weed_joint.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"WP ",
|
||||
"PWP",
|
||||
" PW"
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "szar:weed"
|
||||
},
|
||||
"P": {
|
||||
"item": "minecraft:paper"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "szar:weed_joint",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
36
build/resources/main/fabric.mod.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "szar",
|
||||
"version": "1.0.3",
|
||||
"name": "szar",
|
||||
"description": "Valami szar mod",
|
||||
"authors": ["TGdoesCode"],
|
||||
"contact": {},
|
||||
"license": "All-Rights-Reserved",
|
||||
"icon": "assets/szar/icon.png",
|
||||
"environment": "*",
|
||||
"accessWidener" : "szar.accesswidener",
|
||||
"entrypoints": {
|
||||
"fabric-datagen": [
|
||||
"dev.tggamesyt.szar.client.SzarDataGenerator"
|
||||
],
|
||||
"client": [
|
||||
"dev.tggamesyt.szar.client.SzarClient"
|
||||
],
|
||||
"main": [
|
||||
"dev.tggamesyt.szar.Szar"
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
"szar.mixins.json",
|
||||
{
|
||||
"config": "szar.client.mixins.json",
|
||||
"environment": "client"
|
||||
}
|
||||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.18.3",
|
||||
"fabric": "*",
|
||||
"minecraft": "1.20.1"
|
||||
}
|
||||
}
|
||||
3
build/resources/main/szar.accesswidener
Normal file
@@ -0,0 +1,3 @@
|
||||
accessWidener v2 named
|
||||
|
||||
accessible field net/minecraft/client/gui/hud/InGameHud spyglassScale F
|
||||
14
build/resources/main/szar.mixins.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "dev.tggamesyt.szar.mixin",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"mixins": [
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
},
|
||||
"overwrites": {
|
||||
"requireAnnotations": true
|
||||
}
|
||||
}
|
||||