Skip to content

Commit 2819c18

Browse files
committed
goodbye datagen and hi campfire tutorial parts
1 parent 8e84482 commit 2819c18

8 files changed

Lines changed: 109 additions & 56 deletions

File tree

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"type": "minecraft:chest",
3+
"pools": [
4+
{
5+
"bonus_rolls": 0,
6+
"entries": [
7+
{
8+
"type": "minecraft:item",
9+
"quality": 3,
10+
"functions": [
11+
{
12+
"add": false,
13+
"count": {
14+
"type": "minecraft:uniform",
15+
"max": 4,
16+
"min": 1
17+
},
18+
"function": "minecraft:set_count"
19+
}
20+
],
21+
"name": "minecraft:beef",
22+
"weight": 3
23+
},
24+
{
25+
"type": "minecraft:item",
26+
"functions": [
27+
{
28+
"add": false,
29+
"count": {
30+
"type": "minecraft:uniform",
31+
"max": 4,
32+
"min": 1
33+
},
34+
"function": "minecraft:set_count"
35+
}
36+
],
37+
"name": "minecraft:mutton",
38+
"weight": 6
39+
},
40+
{
41+
"type": "minecraft:item",
42+
"functions": [
43+
{
44+
"add": true,
45+
"count": {
46+
"type": "minecraft:uniform",
47+
"max": 3,
48+
"min": 1
49+
},
50+
"function": "minecraft:set_count"
51+
}
52+
],
53+
"name": "minecraft:rabbit",
54+
"weight": 3
55+
}
56+
],
57+
"rolls": {
58+
"type": "minecraft:uniform",
59+
"max": 5,
60+
"min": 1
61+
}
62+
}
63+
],
64+
"random_sequence": "tutorialstructures:chests/campfire_tutorial_loot"
65+
}
Binary file not shown.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"type": "minecraft:jigsaw",
3+
"biomes": "#minecraft:has_structure/pillager_outpost",
4+
"step": "surface_structures",
5+
"spawn_overrides": {},
6+
"terrain_adaptation": "beard_thin",
7+
"start_pool": "tutorialstructures:campfire_tutorial",
8+
"size": 1,
9+
"start_height": {
10+
"absolute": -1
11+
},
12+
"project_start_to_heightmap": "WORLD_SURFACE_WG",
13+
"max_distance_from_center": 80,
14+
"use_expansion_hack": false
15+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"structures": [
3+
{
4+
"structure": "tutorialstructures:campfire_tutorial",
5+
"weight": 1
6+
}
7+
],
8+
"placement": {
9+
"type": "minecraft:random_spread",
10+
"spacing": 20,
11+
"separation": 10,
12+
"salt": 13562766304
13+
}
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"fallback": "minecraft:empty",
3+
"elements": [
4+
{
5+
"weight": 1,
6+
"element": {
7+
"element_type": "minecraft:single_pool_element",
8+
"location": "tutorialstructures:campfire_tutorial",
9+
"projection": "rigid",
10+
"processors": "minecraft:empty"
11+
}
12+
}
13+
]
14+
}

src/main/java/com/awanderingmuslim/tutorialstructures/TutorialStructures.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,15 @@ private void commonSetup(final FMLCommonSetupEvent event) {
4545
// You can use SubscribeEvent and let the Event Bus discover methods to call
4646
@SubscribeEvent
4747
public void onServerStarting(ServerStartingEvent event) {
48-
// Do something when the server starts
49-
LOGGER.info("HELLO from server starting");
48+
LOGGER.info("TutorialStructures Loading!");
5049
}
5150

5251
// You can use EventBusSubscriber to automatically register all static methods in the class annotated with @SubscribeEvent
5352
@Mod.EventBusSubscriber(modid = MODID, bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT)
5453
public static class ClientModEvents {
5554
@SubscribeEvent
5655
public static void onClientSetup(FMLClientSetupEvent event) {
57-
// Some client setup code
5856
LOGGER.info("HELLO FROM CLIENT SETUP");
59-
LOGGER.info("MINECRAFT NAME >> {}", Minecraft.getInstance().getUser().getName());
6057
}
6158
}
6259
}

src/main/java/com/awanderingmuslim/tutorialstructures/datagen/TutorialStructuresDatagen.java

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/main/java/com/awanderingmuslim/tutorialstructures/datagen/TutorialStructuresWorldDatagenProvider.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)