Compare commits
No commits in common. "golden-paxel" and "main" have entirely different histories.
golden-pax
...
main
15
build.gradle
15
build.gradle
|
|
@ -121,19 +121,6 @@ repositories {
|
||||||
// flatDir {
|
// flatDir {
|
||||||
// dir 'libs'
|
// dir 'libs'
|
||||||
// }
|
// }
|
||||||
// Other repositories can go above or below Modrinth's. We don't need priority :)
|
|
||||||
exclusiveContent {
|
|
||||||
forRepository {
|
|
||||||
maven {
|
|
||||||
name = "Modrinth"
|
|
||||||
url = "https://api.modrinth.com/maven"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
forRepositories(fg.repository) // Only add this if you're using ForgeGradle, otherwise remove this line
|
|
||||||
filter {
|
|
||||||
includeGroup "maven.modrinth"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
@ -144,8 +131,6 @@ dependencies {
|
||||||
// then special handling is done to allow a setup of a vanilla dependency without the use of an external repository.
|
// then special handling is done to allow a setup of a vanilla dependency without the use of an external repository.
|
||||||
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
||||||
|
|
||||||
implementation fg.deobf('maven.modrinth:paxels-for-dummies:I4zGB3WZ')
|
|
||||||
|
|
||||||
// Example mod dependency with JEI - using fg.deobf() ensures the dependency is remapped to your development mappings
|
// Example mod dependency with JEI - using fg.deobf() ensures the dependency is remapped to your development mappings
|
||||||
// The JEI API is declared for compile time use, while the full JEI artifact is used at runtime
|
// The JEI API is declared for compile time use, while the full JEI artifact is used at runtime
|
||||||
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}-common-api:${jei_version}")
|
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}-common-api:${jei_version}")
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ import org.slf4j.Logger;
|
||||||
|
|
||||||
//import net.minecraft.world.item.PickaxeItem;
|
//import net.minecraft.world.item.PickaxeItem;
|
||||||
import net.minecraft.world.item.*;
|
import net.minecraft.world.item.*;
|
||||||
import net.gamingeinstein.paxelsfordummies.item.PaxelItem;
|
|
||||||
//import net.minecraft.world.item.Tier;
|
//import net.minecraft.world.item.Tier;
|
||||||
//import net.minecraft.world.item.Tiers;
|
//import net.minecraft.world.item.Tiers;
|
||||||
|
|
||||||
|
|
@ -61,8 +60,6 @@ public class MC_Rebalance
|
||||||
public static final DeferredRegister<Block> VANILLA_BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, "minecraft");
|
public static final DeferredRegister<Block> VANILLA_BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, "minecraft");
|
||||||
public static final DeferredRegister<Item> VANILLA_ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, "minecraft");
|
public static final DeferredRegister<Item> VANILLA_ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, "minecraft");
|
||||||
|
|
||||||
public static final DeferredRegister<Item> PAXELS = DeferredRegister.create(ForgeRegistries.ITEMS, "paxelsfordummies");
|
|
||||||
|
|
||||||
public static final RegistryObject<Block> OBSIDIAN_BLOCK = VANILLA_BLOCKS.register("obsidian", () -> new Block(BlockBehaviour.Properties.copy(Blocks.OBSIDIAN).strength(30)));
|
public static final RegistryObject<Block> OBSIDIAN_BLOCK = VANILLA_BLOCKS.register("obsidian", () -> new Block(BlockBehaviour.Properties.copy(Blocks.OBSIDIAN).strength(30)));
|
||||||
|
|
||||||
public static final RegistryObject<Item> golden_pick = VANILLA_ITEMS.register("golden_pickaxe",() -> new PickaxeItem(AltTiers.Gold, 1, -2.8f, new Item.Properties()) );
|
public static final RegistryObject<Item> golden_pick = VANILLA_ITEMS.register("golden_pickaxe",() -> new PickaxeItem(AltTiers.Gold, 1, -2.8f, new Item.Properties()) );
|
||||||
|
|
@ -76,8 +73,6 @@ public class MC_Rebalance
|
||||||
public static final RegistryObject<Item> golden_leggings = VANILLA_ITEMS.register("golden_leggings",() -> new ArmorItem(AltArmourTiers.Gold,ArmorItem.Type.LEGGINGS,new Item.Properties()));
|
public static final RegistryObject<Item> golden_leggings = VANILLA_ITEMS.register("golden_leggings",() -> new ArmorItem(AltArmourTiers.Gold,ArmorItem.Type.LEGGINGS,new Item.Properties()));
|
||||||
public static final RegistryObject<Item> golden_boots = VANILLA_ITEMS.register("golden_boots",() -> new ArmorItem(AltArmourTiers.Gold,ArmorItem.Type.BOOTS,new Item.Properties()));
|
public static final RegistryObject<Item> golden_boots = VANILLA_ITEMS.register("golden_boots",() -> new ArmorItem(AltArmourTiers.Gold,ArmorItem.Type.BOOTS,new Item.Properties()));
|
||||||
|
|
||||||
public static final RegistryObject<Item> GOLDEN_PAXEL = PAXELS.register("golden_paxel",() -> new PaxelItem(5.0f, -3.0f, AltTiers.Gold, new Item.Properties()));
|
|
||||||
|
|
||||||
public static final RegistryObject<Item> diamond_pick = VANILLA_ITEMS.register("diamond_pickaxe",() -> new PickaxeItem(AltTiers.Diamond, 1, -2.8f, new Item.Properties()) );
|
public static final RegistryObject<Item> diamond_pick = VANILLA_ITEMS.register("diamond_pickaxe",() -> new PickaxeItem(AltTiers.Diamond, 1, -2.8f, new Item.Properties()) );
|
||||||
public static final RegistryObject<Item> diamond_sword = VANILLA_ITEMS.register("diamond_sword",() -> new SwordItem(AltTiers.Diamond, 3, -2.4f, new Item.Properties()));
|
public static final RegistryObject<Item> diamond_sword = VANILLA_ITEMS.register("diamond_sword",() -> new SwordItem(AltTiers.Diamond, 3, -2.4f, new Item.Properties()));
|
||||||
public static final RegistryObject<Item> diamond_axe = VANILLA_ITEMS.register("diamond_axe",() -> new AxeItem(AltTiers.Diamond, 7, -3.0f, new Item.Properties()) );
|
public static final RegistryObject<Item> diamond_axe = VANILLA_ITEMS.register("diamond_axe",() -> new AxeItem(AltTiers.Diamond, 7, -3.0f, new Item.Properties()) );
|
||||||
|
|
|
||||||
|
|
@ -66,13 +66,6 @@ description='''${mod_description}'''
|
||||||
ordering="NONE"
|
ordering="NONE"
|
||||||
side="BOTH"
|
side="BOTH"
|
||||||
|
|
||||||
[[dependencies.${mod_id}]]
|
|
||||||
modId="net.gamingeinstein.paxelsfordummies"
|
|
||||||
mandatory=false
|
|
||||||
versionRange="0.1.0"
|
|
||||||
ordering="AFTER"
|
|
||||||
side="BOTH"
|
|
||||||
|
|
||||||
# Features are specific properties of the game environment, that you may want to declare you require. This example declares
|
# Features are specific properties of the game environment, that you may want to declare you require. This example declares
|
||||||
# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't
|
# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't
|
||||||
# stop your mod loading on the server for example.
|
# stop your mod loading on the server for example.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue