Skip to content

Commit

Permalink
✨ add a_bowl_of_rice
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenXu233 committed Oct 29, 2024
1 parent 118a96a commit 6223894
Show file tree
Hide file tree
Showing 39 changed files with 264 additions and 45 deletions.
5 changes: 5 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/modules/ThePoetryOfWinter_JE.main.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/modules/ThePoetryOfWinter_JE.test.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/Data_Generation.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/Minecraft_Server.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.21.1+build.3
loader_version=0.16.7

# Mod Properties
mod_version=1.0.0
mod_version=0.1.0alpha
maven_group=org.decdev.thepoetryofwinter
archives_base_name=thepoetryofwinter

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@
* along with this work. If not, see <https://www.gnu.org/licenses/>.
*/

package org.decdev.thepoetryofwinter;
package org.decdev.tpow;

import net.fabricmc.api.ModInitializer;

import org.decdev.thepoetryofwinter.block.ModBlocks;
import org.decdev.thepoetryofwinter.item.ModItems;
import org.decdev.tpow.block.ModBlocks;
import org.decdev.tpow.item.ModItemGroup;
import org.decdev.tpow.item.ModItems;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class ThePoetryOfWinter implements ModInitializer {
public static final String MOD_ID = "thepoetryofwinter";
public static final String MOD_ID = "tpow";

// This logger is used to write text to the console and the log file.
// It is considered best practice to use your mod id as the logger's name.
Expand All @@ -40,6 +41,7 @@ public void onInitialize() {

ModItems.registerModItems();
ModBlocks.registerModBlocks();
ModItemGroup.registerModItemGroup();

LOGGER.info("Hello Fabric world!");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this work. If not, see <https://www.gnu.org/licenses/>.
*/

package org.decdev.thepoetryofwinter;
package org.decdev.tpow;

import net.fabricmc.api.ClientModInitializer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this work. If not, see <https://www.gnu.org/licenses/>.
*/

package org.decdev.thepoetryofwinter;
package org.decdev.tpow;

import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint;
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.decdev.thepoetryofwinter.block;
package org.decdev.tpow.block;

import net.minecraft.block.AbstractBlock;
import net.minecraft.block.Block;
Expand All @@ -7,7 +7,7 @@
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.util.Identifier;
import org.decdev.thepoetryofwinter.ThePoetryOfWinter;
import org.decdev.tpow.ThePoetryOfWinter;

public class ModBlocks {

Expand Down
35 changes: 35 additions & 0 deletions src/main/java/org/decdev/tpow/datagen/ModBlockTagProvider.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* Copyright (c) 2024 DEC-Dev.
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this work. If not, see <https://www.gnu.org/licenses/>.
*/

package org.decdev.tpow.datagen;

import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput;
import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider;
import net.minecraft.registry.RegistryWrapper;

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 wrapperLookup) {
}
}
21 changes: 21 additions & 0 deletions src/main/java/org/decdev/tpow/datagen/ModItemTagProvider.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright (c) 2024 DEC-Dev.
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this work. If not, see <https://www.gnu.org/licenses/>.
*/

package org.decdev.tpow.datagen;

public class ModItemTagProvider {
}
23 changes: 23 additions & 0 deletions src/main/java/org/decdev/tpow/datagen/ModLootTablesProvider.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2024 DEC-Dev.
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this work. If not, see <https://www.gnu.org/licenses/>.
*/

package org.decdev.tpow.datagen;

import net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootTableProvider;

public class ModLootTablesProvider {
}
Loading

0 comments on commit 6223894

Please sign in to comment.