2.1.2
@@ -0,0 +1,21 @@
|
||||
|
||||
package net.mcreator.arisrandomadditions.block;
|
||||
|
||||
import net.minecraft.world.level.block.state.properties.NoteBlockInstrument;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||
import net.minecraft.world.level.block.SoundType;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.BlockGetter;
|
||||
import net.minecraft.core.BlockPos;
|
||||
|
||||
public class OrichalcumDeepslateOreBlock extends Block {
|
||||
public OrichalcumDeepslateOreBlock() {
|
||||
super(BlockBehaviour.Properties.of().instrument(NoteBlockInstrument.BASEDRUM).sound(SoundType.STONE).strength(17f, 20.157f).requiresCorrectToolForDrops());
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getLightBlock(BlockState state, BlockGetter worldIn, BlockPos pos) {
|
||||
return 15;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
package net.mcreator.arisrandomadditions.command;
|
||||
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
import net.minecraftforge.event.RegisterCommandsEvent;
|
||||
import net.minecraftforge.common.util.FakePlayerFactory;
|
||||
|
||||
import net.minecraft.world.level.Level;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.server.level.ServerLevel;
|
||||
import net.minecraft.core.Direction;
|
||||
import net.minecraft.commands.Commands;
|
||||
|
||||
import net.mcreator.arisrandomadditions.procedures.GetPermanentStatsCommandProcedureProcedure;
|
||||
|
||||
@Mod.EventBusSubscriber
|
||||
public class GetPermanentStatsCommand {
|
||||
@SubscribeEvent
|
||||
public static void registerCommand(RegisterCommandsEvent event) {
|
||||
event.getDispatcher().register(Commands.literal("ari-get-permanent-stats")
|
||||
|
||||
.executes(arguments -> {
|
||||
Level world = arguments.getSource().getUnsidedLevel();
|
||||
double x = arguments.getSource().getPosition().x();
|
||||
double y = arguments.getSource().getPosition().y();
|
||||
double z = arguments.getSource().getPosition().z();
|
||||
Entity entity = arguments.getSource().getEntity();
|
||||
if (entity == null && world instanceof ServerLevel _servLevel)
|
||||
entity = FakePlayerFactory.getMinecraft(_servLevel);
|
||||
Direction direction = Direction.DOWN;
|
||||
if (entity != null)
|
||||
direction = entity.getDirection();
|
||||
|
||||
GetPermanentStatsCommandProcedureProcedure.execute(entity);
|
||||
return 0;
|
||||
}));
|
||||
}
|
||||
}
|
||||
@@ -103,11 +103,6 @@ public class AriEntity extends Monster {
|
||||
return -0.35D;
|
||||
}
|
||||
|
||||
protected void dropCustomDeathLoot(DamageSource source, int looting, boolean recentlyHitIn) {
|
||||
super.dropCustomDeathLoot(source, looting, recentlyHitIn);
|
||||
this.spawnAtLocation(new ItemStack(ArisRandomAdditionsModItems.ORICHALCUM.get()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public SoundEvent getAmbientSound() {
|
||||
return ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("block.amethyst_block.chime"));
|
||||
|
||||
@@ -18,6 +18,7 @@ import net.mcreator.arisrandomadditions.block.RaveBlockBlock;
|
||||
import net.mcreator.arisrandomadditions.block.QuadraCondensedNetherrackBlock;
|
||||
import net.mcreator.arisrandomadditions.block.PentaCondensedNetherrackBlock;
|
||||
import net.mcreator.arisrandomadditions.block.OrichalcumOreBlock;
|
||||
import net.mcreator.arisrandomadditions.block.OrichalcumDeepslateOreBlock;
|
||||
import net.mcreator.arisrandomadditions.block.OrichalcumBlockBlock;
|
||||
import net.mcreator.arisrandomadditions.block.OreMinerBlock;
|
||||
import net.mcreator.arisrandomadditions.block.NetherrackJuiceBlock;
|
||||
@@ -62,6 +63,7 @@ public class ArisRandomAdditionsModBlocks {
|
||||
public static final RegistryObject<Block> ORICHALCUM_BLOCK = REGISTRY.register("orichalcum_block", () -> new OrichalcumBlockBlock());
|
||||
public static final RegistryObject<Block> RAVE_BLOCK = REGISTRY.register("rave_block", () -> new RaveBlockBlock());
|
||||
public static final RegistryObject<Block> ENDITE_BLOCK = REGISTRY.register("endite_block", () -> new EnditeBlockBlock());
|
||||
public static final RegistryObject<Block> ORICHALCUM_DEEPSLATE_ORE = REGISTRY.register("orichalcum_deepslate_ore", () -> new OrichalcumDeepslateOreBlock());
|
||||
// Start of user code block custom blocks
|
||||
// End of user code block custom blocks
|
||||
}
|
||||
|
||||
@@ -16,6 +16,8 @@ import net.minecraft.world.item.BlockItem;
|
||||
import net.mcreator.arisrandomadditions.item.WitherQuestionMarkItem;
|
||||
import net.mcreator.arisrandomadditions.item.WandOfResizingItem;
|
||||
import net.mcreator.arisrandomadditions.item.WandOfDrainingItem;
|
||||
import net.mcreator.arisrandomadditions.item.VoidStarItem;
|
||||
import net.mcreator.arisrandomadditions.item.VoidAppleItem;
|
||||
import net.mcreator.arisrandomadditions.item.TurdItem;
|
||||
import net.mcreator.arisrandomadditions.item.StarWandItem;
|
||||
import net.mcreator.arisrandomadditions.item.StarItem;
|
||||
@@ -31,6 +33,7 @@ import net.mcreator.arisrandomadditions.item.OrichalcumItem;
|
||||
import net.mcreator.arisrandomadditions.item.OrichalcumHoeItem;
|
||||
import net.mcreator.arisrandomadditions.item.OrichalcumAxeItem;
|
||||
import net.mcreator.arisrandomadditions.item.OrichalcumArmorItem;
|
||||
import net.mcreator.arisrandomadditions.item.OrichalcumAppleItem;
|
||||
import net.mcreator.arisrandomadditions.item.NightVisionGogglesItem;
|
||||
import net.mcreator.arisrandomadditions.item.NetherrackitePickaxeItem;
|
||||
import net.mcreator.arisrandomadditions.item.NetherrackiteItem;
|
||||
@@ -60,6 +63,7 @@ import net.mcreator.arisrandomadditions.item.BedrockSwordItem;
|
||||
import net.mcreator.arisrandomadditions.item.BedrockShardItem;
|
||||
import net.mcreator.arisrandomadditions.item.BedrockPickaxeItem;
|
||||
import net.mcreator.arisrandomadditions.item.BedrockEaterItem;
|
||||
import net.mcreator.arisrandomadditions.item.BedrockAppleItem;
|
||||
import net.mcreator.arisrandomadditions.item.BeanItem;
|
||||
import net.mcreator.arisrandomadditions.ArisRandomAdditionsMod;
|
||||
|
||||
@@ -145,6 +149,11 @@ public class ArisRandomAdditionsModItems {
|
||||
public static final RegistryObject<Item> POWER_STAR = REGISTRY.register("power_star", () -> new PowerStarItem());
|
||||
public static final RegistryObject<Item> ENDITE_SCYTHE = REGISTRY.register("endite_scythe", () -> new EnditeScytheItem());
|
||||
public static final RegistryObject<Item> ORICHALCUM_KATANA = REGISTRY.register("orichalcum_katana", () -> new OrichalcumKatanaItem());
|
||||
public static final RegistryObject<Item> ORICHALCUM_DEEPSLATE_ORE = block(ArisRandomAdditionsModBlocks.ORICHALCUM_DEEPSLATE_ORE);
|
||||
public static final RegistryObject<Item> VOID_STAR = REGISTRY.register("void_star", () -> new VoidStarItem());
|
||||
public static final RegistryObject<Item> VOID_APPLE = REGISTRY.register("void_apple", () -> new VoidAppleItem());
|
||||
public static final RegistryObject<Item> ORICHALCUM_APPLE = REGISTRY.register("orichalcum_apple", () -> new OrichalcumAppleItem());
|
||||
public static final RegistryObject<Item> BEDROCK_APPLE = REGISTRY.register("bedrock_apple", () -> new BedrockAppleItem());
|
||||
|
||||
// Start of user code block custom items
|
||||
// End of user code block custom items
|
||||
|
||||
@@ -37,6 +37,7 @@ public class ArisRandomAdditionsModTabs {
|
||||
tabData.accept(ArisRandomAdditionsModBlocks.ORICHALCUM_BLOCK.get().asItem());
|
||||
tabData.accept(ArisRandomAdditionsModBlocks.RAVE_BLOCK.get().asItem());
|
||||
tabData.accept(ArisRandomAdditionsModBlocks.ENDITE_BLOCK.get().asItem());
|
||||
tabData.accept(ArisRandomAdditionsModBlocks.ORICHALCUM_DEEPSLATE_ORE.get().asItem());
|
||||
} else if (tabData.getTabKey() == CreativeModeTabs.TOOLS_AND_UTILITIES) {
|
||||
tabData.accept(ArisRandomAdditionsModItems.BLOCK_EATER.get());
|
||||
tabData.accept(ArisRandomAdditionsModItems.NETHERRACKITE_PICKAXE.get());
|
||||
@@ -74,11 +75,15 @@ public class ArisRandomAdditionsModTabs {
|
||||
tabData.accept(ArisRandomAdditionsModItems.ENDITE_UPGRADE_SMITHING_TEMPLATE.get());
|
||||
tabData.accept(ArisRandomAdditionsModItems.CHORUS_EYE.get());
|
||||
tabData.accept(ArisRandomAdditionsModItems.POWER_STAR.get());
|
||||
tabData.accept(ArisRandomAdditionsModItems.VOID_STAR.get());
|
||||
} else if (tabData.getTabKey() == CreativeModeTabs.FOOD_AND_DRINKS) {
|
||||
tabData.accept(ArisRandomAdditionsModItems.MAGIC_FLESH.get());
|
||||
tabData.accept(ArisRandomAdditionsModItems.GOLDEN_BERRIES.get());
|
||||
tabData.accept(ArisRandomAdditionsModItems.BEAN.get());
|
||||
tabData.accept(ArisRandomAdditionsModItems.CHEESE.get());
|
||||
tabData.accept(ArisRandomAdditionsModItems.VOID_APPLE.get());
|
||||
tabData.accept(ArisRandomAdditionsModItems.ORICHALCUM_APPLE.get());
|
||||
tabData.accept(ArisRandomAdditionsModItems.BEDROCK_APPLE.get());
|
||||
} else if (tabData.getTabKey() == CreativeModeTabs.FUNCTIONAL_BLOCKS) {
|
||||
tabData.accept(ArisRandomAdditionsModBlocks.ORE_MINER.get().asItem());
|
||||
tabData.accept(ArisRandomAdditionsModBlocks.BEDROCKIFIER.get().asItem());
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
package net.mcreator.arisrandomadditions.item;
|
||||
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
|
||||
import net.minecraft.world.level.Level;
|
||||
import net.minecraft.world.item.TooltipFlag;
|
||||
import net.minecraft.world.item.Rarity;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.food.FoodProperties;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.network.chat.Component;
|
||||
|
||||
import net.mcreator.arisrandomadditions.procedures.BedrockApplePlayerFinishesUsingItemProcedure;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class BedrockAppleItem extends Item {
|
||||
public BedrockAppleItem() {
|
||||
super(new Item.Properties().stacksTo(64).fireResistant().rarity(Rarity.EPIC).food((new FoodProperties.Builder()).nutrition(20).saturationMod(4f).alwaysEat().build()));
|
||||
}
|
||||
|
||||
@Override
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
public boolean isFoil(ItemStack itemstack) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void appendHoverText(ItemStack itemstack, Level level, List<Component> list, TooltipFlag flag) {
|
||||
super.appendHoverText(itemstack, level, list, flag);
|
||||
list.add(Component.translatable("item.aris_random_additions.bedrock_apple.description_0"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack finishUsingItem(ItemStack itemstack, Level world, LivingEntity entity) {
|
||||
ItemStack retval = super.finishUsingItem(itemstack, world, entity);
|
||||
double x = entity.getX();
|
||||
double y = entity.getY();
|
||||
double z = entity.getZ();
|
||||
BedrockApplePlayerFinishesUsingItemProcedure.execute(world, entity);
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
|
||||
package net.mcreator.arisrandomadditions.item;
|
||||
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
|
||||
import net.minecraft.world.level.Level;
|
||||
import net.minecraft.world.item.crafting.Ingredient;
|
||||
import net.minecraft.world.item.TooltipFlag;
|
||||
@@ -11,8 +13,8 @@ import net.minecraft.world.item.ArmorItem;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.entity.EquipmentSlot;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.sounds.SoundEvents;
|
||||
import net.minecraft.sounds.SoundEvent;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.network.chat.Component;
|
||||
|
||||
import net.mcreator.arisrandomadditions.procedures.EnditeArmorBootsTickEventProcedure;
|
||||
@@ -42,7 +44,7 @@ public abstract class EnditeArmorItem extends ArmorItem {
|
||||
|
||||
@Override
|
||||
public SoundEvent getEquipSound() {
|
||||
return SoundEvents.EMPTY;
|
||||
return ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("item.armor.equip_netherite"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -12,7 +12,7 @@ import net.mcreator.arisrandomadditions.procedures.MagicFleshOnPlayerStoppedUsin
|
||||
|
||||
public class MagicFleshItem extends Item {
|
||||
public MagicFleshItem() {
|
||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.UNCOMMON).food((new FoodProperties.Builder()).nutrition(4).saturationMod(0.2f).alwaysEat().build()));
|
||||
super(new Item.Properties().stacksTo(64).rarity(Rarity.UNCOMMON).food((new FoodProperties.Builder()).nutrition(4).saturationMod(0.2f).alwaysEat().meat().build()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
package net.mcreator.arisrandomadditions.item;
|
||||
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
|
||||
import net.minecraft.world.level.Level;
|
||||
import net.minecraft.world.item.TooltipFlag;
|
||||
import net.minecraft.world.item.Rarity;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.food.FoodProperties;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.network.chat.Component;
|
||||
|
||||
import net.mcreator.arisrandomadditions.procedures.OrichalcumApplePlayerFinishesUsingItemProcedure;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class OrichalcumAppleItem extends Item {
|
||||
public OrichalcumAppleItem() {
|
||||
super(new Item.Properties().stacksTo(64).fireResistant().rarity(Rarity.EPIC).food((new FoodProperties.Builder()).nutrition(9).saturationMod(0.9f).alwaysEat().build()));
|
||||
}
|
||||
|
||||
@Override
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
public boolean isFoil(ItemStack itemstack) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void appendHoverText(ItemStack itemstack, Level level, List<Component> list, TooltipFlag flag) {
|
||||
super.appendHoverText(itemstack, level, list, flag);
|
||||
list.add(Component.translatable("item.aris_random_additions.orichalcum_apple.description_0"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack finishUsingItem(ItemStack itemstack, Level world, LivingEntity entity) {
|
||||
ItemStack retval = super.finishUsingItem(itemstack, world, entity);
|
||||
double x = entity.getX();
|
||||
double y = entity.getY();
|
||||
double z = entity.getZ();
|
||||
OrichalcumApplePlayerFinishesUsingItemProcedure.execute(world, entity);
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
@@ -82,7 +82,7 @@ public abstract class OrichalcumArmorItem extends ArmorItem {
|
||||
|
||||
@Override
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type) {
|
||||
return "aris_random_additions:textures/models/armor/orichalcum_armor_layer_1.png";
|
||||
return "aris_random_additions:textures/models/armor/orichalcum_layer_1.png";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ public abstract class OrichalcumArmorItem extends ArmorItem {
|
||||
|
||||
@Override
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type) {
|
||||
return "aris_random_additions:textures/models/armor/orichalcum_armor_layer_1.png";
|
||||
return "aris_random_additions:textures/models/armor/orichalcum_layer_1.png";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ public abstract class OrichalcumArmorItem extends ArmorItem {
|
||||
|
||||
@Override
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type) {
|
||||
return "aris_random_additions:textures/models/armor/orichalcum_armor_layer_2.png";
|
||||
return "aris_random_additions:textures/models/armor/orichalcum_layer_2.png";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ public abstract class OrichalcumArmorItem extends ArmorItem {
|
||||
|
||||
@Override
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type) {
|
||||
return "aris_random_additions:textures/models/armor/orichalcum_armor_layer_1.png";
|
||||
return "aris_random_additions:textures/models/armor/orichalcum_layer_1.png";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
package net.mcreator.arisrandomadditions.item;
|
||||
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
|
||||
import net.minecraft.world.level.Level;
|
||||
import net.minecraft.world.item.TooltipFlag;
|
||||
import net.minecraft.world.item.Rarity;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.food.FoodProperties;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.network.chat.Component;
|
||||
|
||||
import net.mcreator.arisrandomadditions.procedures.VoidApplePlayerFinishesUsingItemProcedure;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class VoidAppleItem extends Item {
|
||||
public VoidAppleItem() {
|
||||
super(new Item.Properties().stacksTo(64).fireResistant().rarity(Rarity.EPIC).food((new FoodProperties.Builder()).nutrition(16).saturationMod(1.6f).alwaysEat().build()));
|
||||
}
|
||||
|
||||
@Override
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
public boolean isFoil(ItemStack itemstack) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void appendHoverText(ItemStack itemstack, Level level, List<Component> list, TooltipFlag flag) {
|
||||
super.appendHoverText(itemstack, level, list, flag);
|
||||
list.add(Component.translatable("item.aris_random_additions.void_apple.description_0"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack finishUsingItem(ItemStack itemstack, Level world, LivingEntity entity) {
|
||||
ItemStack retval = super.finishUsingItem(itemstack, world, entity);
|
||||
double x = entity.getX();
|
||||
double y = entity.getY();
|
||||
double z = entity.getZ();
|
||||
VoidApplePlayerFinishesUsingItemProcedure.execute(world, entity);
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
|
||||
package net.mcreator.arisrandomadditions.item;
|
||||
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
|
||||
import net.minecraft.world.item.Rarity;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.Item;
|
||||
|
||||
public class VoidStarItem extends Item {
|
||||
public VoidStarItem() {
|
||||
super(new Item.Properties().stacksTo(64).fireResistant().rarity(Rarity.EPIC));
|
||||
}
|
||||
|
||||
@Override
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
public boolean isFoil(ItemStack itemstack) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package net.mcreator.arisrandomadditions.procedures;
|
||||
|
||||
import net.minecraft.world.scores.criteria.ObjectiveCriteria;
|
||||
import net.minecraft.world.scores.Scoreboard;
|
||||
import net.minecraft.world.scores.Objective;
|
||||
import net.minecraft.world.level.LevelAccessor;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.world.effect.MobEffects;
|
||||
import net.minecraft.world.effect.MobEffectInstance;
|
||||
import net.minecraft.network.chat.Component;
|
||||
|
||||
public class BedrockApplePlayerFinishesUsingItemProcedure {
|
||||
public static void execute(LevelAccessor world, Entity entity) {
|
||||
if (entity == null)
|
||||
return;
|
||||
if (!world.isClientSide()) {
|
||||
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
|
||||
_entity.addEffect(new MobEffectInstance(MobEffects.BLINDNESS, 2000, 0, false, false));
|
||||
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
|
||||
_entity.addEffect(new MobEffectInstance(MobEffects.DARKNESS, 2000, 0, false, false));
|
||||
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
|
||||
_entity.addEffect(new MobEffectInstance(MobEffects.WITHER, 100, 0, false, false));
|
||||
if (entity instanceof Player) {
|
||||
{
|
||||
Entity _ent = entity;
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective("PermanentCreativeFlight");
|
||||
if (_so == null)
|
||||
_so = _sc.addObjective("PermanentCreativeFlight", ObjectiveCriteria.DUMMY, Component.literal("PermanentCreativeFlight"), ObjectiveCriteria.RenderType.INTEGER);
|
||||
_sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).setScore(1);
|
||||
}
|
||||
if (entity instanceof Player _player) {
|
||||
_player.getAbilities().mayfly = (new Object() {
|
||||
public int getScore(String score, Entity _ent) {
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective(score);
|
||||
if (_so != null)
|
||||
return _sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).getScore();
|
||||
return 0;
|
||||
}
|
||||
}.getScore("PermanentCreativeFlight", entity) == 1);
|
||||
_player.onUpdateAbilities();
|
||||
}
|
||||
if (entity instanceof Player _player && !_player.level().isClientSide())
|
||||
_player.displayClientMessage(Component.literal("\u00A78Bedrock Apple \u00A7rgranted you Creative Flight!"), false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -20,7 +20,7 @@ public class BleedEffectOnEffectActiveTickProcedure {
|
||||
ArisRandomAdditionsMod.queueServerWork(10, () -> {
|
||||
entity.hurt(new DamageSource(world.registryAccess().registryOrThrow(Registries.DAMAGE_TYPE).getHolderOrThrow(ResourceKey.create(Registries.DAMAGE_TYPE, new ResourceLocation("aris_random_additions:bleed_damage_type")))), 1);
|
||||
if (world instanceof ServerLevel _level)
|
||||
_level.sendParticles((SimpleParticleType) (ArisRandomAdditionsModParticleTypes.BLEEDING_PARTICLES.get()), x, (y + 1), z, 3, 0.5, 0.5, 0.5, 0);
|
||||
_level.sendParticles((SimpleParticleType) (ArisRandomAdditionsModParticleTypes.BLEEDING_PARTICLES.get()), x, (y + 1), z, 3, 0.33, 0.33, 0.33, 0);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
package net.mcreator.arisrandomadditions.procedures;
|
||||
|
||||
import net.minecraft.world.scores.Scoreboard;
|
||||
import net.minecraft.world.scores.Objective;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.network.chat.Component;
|
||||
|
||||
public class GetPermanentStatsCommandProcedureProcedure {
|
||||
public static void execute(Entity entity) {
|
||||
if (entity == null)
|
||||
return;
|
||||
if (entity instanceof Player _player && !_player.level().isClientSide())
|
||||
_player.displayClientMessage(Component.literal(("Permanent Bonus Max Health: " + (new Object() {
|
||||
public int getScore(String score, Entity _ent) {
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective(score);
|
||||
if (_so != null)
|
||||
return _sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).getScore();
|
||||
return 0;
|
||||
}
|
||||
}.getScore("PermanentBonusMaxHealth", entity)) + "\n" + "Permanent Bonus Attack Damage: " + (new Object() {
|
||||
public int getScore(String score, Entity _ent) {
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective(score);
|
||||
if (_so != null)
|
||||
return _sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).getScore();
|
||||
return 0;
|
||||
}
|
||||
}.getScore("PermanentBonusAttackDamage", entity)) + "\n" + "Permanent Creative Flight: " + (new Object() {
|
||||
public int getScore(String score, Entity _ent) {
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective(score);
|
||||
if (_so != null)
|
||||
return _sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).getScore();
|
||||
return 0;
|
||||
}
|
||||
}.getScore("PermanentCreativeFlight", entity)))), false);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package net.mcreator.arisrandomadditions.procedures;
|
||||
|
||||
import net.minecraft.world.scores.criteria.ObjectiveCriteria;
|
||||
import net.minecraft.world.scores.Scoreboard;
|
||||
import net.minecraft.world.scores.Objective;
|
||||
import net.minecraft.world.level.LevelAccessor;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.entity.ai.attributes.Attributes;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.world.effect.MobEffects;
|
||||
import net.minecraft.world.effect.MobEffectInstance;
|
||||
import net.minecraft.network.chat.Component;
|
||||
|
||||
public class OrichalcumApplePlayerFinishesUsingItemProcedure {
|
||||
public static void execute(LevelAccessor world, Entity entity) {
|
||||
if (entity == null)
|
||||
return;
|
||||
if (!world.isClientSide()) {
|
||||
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
|
||||
_entity.addEffect(new MobEffectInstance(MobEffects.JUMP, 1200, 1, true, true));
|
||||
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
|
||||
_entity.addEffect(new MobEffectInstance(MobEffects.MOVEMENT_SPEED, 1200, 1, true, true));
|
||||
if (entity instanceof LivingEntity _livingEntity4 && _livingEntity4.getAttributes().hasAttribute(Attributes.ATTACK_DAMAGE))
|
||||
_livingEntity4.getAttribute(Attributes.ATTACK_DAMAGE)
|
||||
.setBaseValue(((entity instanceof LivingEntity _livingEntity3 && _livingEntity3.getAttributes().hasAttribute(Attributes.ATTACK_DAMAGE) ? _livingEntity3.getAttribute(Attributes.ATTACK_DAMAGE).getBaseValue() : 0) + 1));
|
||||
{
|
||||
Entity _ent = entity;
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective("PermanentBonusAttackDamage");
|
||||
if (_so == null)
|
||||
_so = _sc.addObjective("PermanentBonusAttackDamage", ObjectiveCriteria.DUMMY, Component.literal("PermanentBonusAttackDamage"), ObjectiveCriteria.RenderType.INTEGER);
|
||||
_sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).setScore((int) (new Object() {
|
||||
public int getScore(String score, Entity _ent) {
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective(score);
|
||||
if (_so != null)
|
||||
return _sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).getScore();
|
||||
return 0;
|
||||
}
|
||||
}.getScore("PermanentBonusAttackDamage", entity) + 1));
|
||||
}
|
||||
if (entity instanceof Player) {
|
||||
if (entity instanceof Player _player && !_player.level().isClientSide())
|
||||
_player.displayClientMessage(Component.literal("\u00A7dOrichalcum Apple \u00A7rgranted you bonus Attack Damage!"), false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
package net.mcreator.arisrandomadditions.procedures;
|
||||
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
import net.minecraftforge.eventbus.api.Event;
|
||||
import net.minecraftforge.event.entity.player.PlayerEvent;
|
||||
|
||||
import net.minecraft.world.scores.Scoreboard;
|
||||
import net.minecraft.world.scores.Objective;
|
||||
import net.minecraft.world.level.LevelAccessor;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.entity.ai.attributes.Attributes;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
|
||||
import net.mcreator.arisrandomadditions.ArisRandomAdditionsMod;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
@Mod.EventBusSubscriber
|
||||
public class PlayerRespawnUpdatePermanentAttributeModsProcedure {
|
||||
@SubscribeEvent
|
||||
public static void onPlayerRespawned(PlayerEvent.PlayerRespawnEvent event) {
|
||||
execute(event, event.getEntity().level(), event.getEntity());
|
||||
}
|
||||
|
||||
public static void execute(LevelAccessor world, Entity entity) {
|
||||
execute(null, world, entity);
|
||||
}
|
||||
|
||||
private static void execute(@Nullable Event event, LevelAccessor world, Entity entity) {
|
||||
if (entity == null)
|
||||
return;
|
||||
if (!world.isClientSide()) {
|
||||
ArisRandomAdditionsMod.queueServerWork(4, () -> {
|
||||
if (entity instanceof LivingEntity _livingEntity3 && _livingEntity3.getAttributes().hasAttribute(Attributes.ATTACK_DAMAGE))
|
||||
_livingEntity3.getAttribute(Attributes.ATTACK_DAMAGE).setBaseValue(
|
||||
((entity instanceof LivingEntity _livingEntity1 && _livingEntity1.getAttributes().hasAttribute(Attributes.ATTACK_DAMAGE) ? _livingEntity1.getAttribute(Attributes.ATTACK_DAMAGE).getBaseValue() : 0) + new Object() {
|
||||
public int getScore(String score, Entity _ent) {
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective(score);
|
||||
if (_so != null)
|
||||
return _sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).getScore();
|
||||
return 0;
|
||||
}
|
||||
}.getScore("PermanentBonusAttackDamage", entity)));
|
||||
if (entity instanceof LivingEntity _livingEntity6 && _livingEntity6.getAttributes().hasAttribute(Attributes.MAX_HEALTH))
|
||||
_livingEntity6.getAttribute(Attributes.MAX_HEALTH)
|
||||
.setBaseValue(((entity instanceof LivingEntity _livingEntity4 && _livingEntity4.getAttributes().hasAttribute(Attributes.MAX_HEALTH) ? _livingEntity4.getAttribute(Attributes.MAX_HEALTH).getBaseValue() : 0) + new Object() {
|
||||
public int getScore(String score, Entity _ent) {
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective(score);
|
||||
if (_so != null)
|
||||
return _sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).getScore();
|
||||
return 0;
|
||||
}
|
||||
}.getScore("PermanentBonusMaxHealth", entity)));
|
||||
if (entity instanceof Player _player) {
|
||||
_player.getAbilities().mayfly = (new Object() {
|
||||
public int getScore(String score, Entity _ent) {
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective(score);
|
||||
if (_so != null)
|
||||
return _sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).getScore();
|
||||
return 0;
|
||||
}
|
||||
}.getScore("PermanentCreativeFlight", entity) == 1);
|
||||
_player.onUpdateAbilities();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package net.mcreator.arisrandomadditions.procedures;
|
||||
|
||||
import net.minecraft.world.scores.criteria.ObjectiveCriteria;
|
||||
import net.minecraft.world.scores.Scoreboard;
|
||||
import net.minecraft.world.scores.Objective;
|
||||
import net.minecraft.world.level.LevelAccessor;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.entity.ai.attributes.Attributes;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.world.effect.MobEffects;
|
||||
import net.minecraft.world.effect.MobEffectInstance;
|
||||
import net.minecraft.network.chat.Component;
|
||||
|
||||
public class VoidApplePlayerFinishesUsingItemProcedure {
|
||||
public static void execute(LevelAccessor world, Entity entity) {
|
||||
if (entity == null)
|
||||
return;
|
||||
if (!world.isClientSide()) {
|
||||
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
|
||||
_entity.addEffect(new MobEffectInstance(MobEffects.ABSORPTION, 1600, 2, true, true));
|
||||
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
|
||||
_entity.addEffect(new MobEffectInstance(MobEffects.SATURATION, 1600, 2, true, true));
|
||||
if (entity instanceof LivingEntity _livingEntity4 && _livingEntity4.getAttributes().hasAttribute(Attributes.MAX_HEALTH))
|
||||
_livingEntity4.getAttribute(Attributes.MAX_HEALTH)
|
||||
.setBaseValue(((entity instanceof LivingEntity _livingEntity3 && _livingEntity3.getAttributes().hasAttribute(Attributes.MAX_HEALTH) ? _livingEntity3.getAttribute(Attributes.MAX_HEALTH).getBaseValue() : 0) + 2));
|
||||
{
|
||||
Entity _ent = entity;
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective("PermanentBonusMaxHealth");
|
||||
if (_so == null)
|
||||
_so = _sc.addObjective("PermanentBonusMaxHealth", ObjectiveCriteria.DUMMY, Component.literal("PermanentBonusMaxHealth"), ObjectiveCriteria.RenderType.INTEGER);
|
||||
_sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).setScore((int) (new Object() {
|
||||
public int getScore(String score, Entity _ent) {
|
||||
Scoreboard _sc = _ent.level().getScoreboard();
|
||||
Objective _so = _sc.getObjective(score);
|
||||
if (_so != null)
|
||||
return _sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).getScore();
|
||||
return 0;
|
||||
}
|
||||
}.getScore("PermanentBonusMaxHealth", entity) + 2));
|
||||
}
|
||||
if (entity instanceof Player) {
|
||||
if (entity instanceof Player _player && !_player.level().isClientSide())
|
||||
_player.displayClientMessage(Component.literal("\u00A75Void Apple \u00A7rgranted you bonus Max Health!"), false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@ license="MIT License"
|
||||
|
||||
[[mods]]
|
||||
modId="aris_random_additions"
|
||||
version="2.1.1"
|
||||
version="2.1.2"
|
||||
displayName="Ari's Random Additions"
|
||||
displayURL="https://mcreator.net"
|
||||
logoFile="logo.png"
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "aris_random_additions:block/orichalcum_deepslate_ore"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,7 @@
|
||||
"block.nims_random_bullshit.magma_brick_button": "Magma Brick Button",
|
||||
"painting.nims_random_bullshit.shit_painting.title": "Shit Painting",
|
||||
"entity.aris_random_additions.ghoul": "Ghoul",
|
||||
"item.aris_random_additions.void_star": "Void Star",
|
||||
"block.aris_random_additions.broken_glass": "Broken Glass",
|
||||
"item.aris_random_additions.ghoul_spawn_egg": "Ghoul Spawn Egg",
|
||||
"item.aris_random_additions.endite_armor_boots": "Endite Boots",
|
||||
@@ -31,8 +32,8 @@
|
||||
"block.aris_random_additions.hexa_condensed_netherrack": "Hexa-condensed Netherrack",
|
||||
"item.aris_random_additions.bedrock_sword": "Bedrock Sword",
|
||||
"item.aris_random_additions.orichalcum_hoe": "Orichalcum Hoe",
|
||||
"block.aris_random_additions.endite_block": "Block of Endite",
|
||||
"item.aris_random_additions.wand_of_draining": "Wand Of Draining",
|
||||
"block.aris_random_additions.endite_block": "Block of Endite",
|
||||
"enchantment.aris_random_additions.passive_income_enchantment": "Passive Income",
|
||||
"item.aris_random_additions.sand_dust": "Sand Dust",
|
||||
"block.aris_random_additions.orichalcum_block": "Block of Orichalcum",
|
||||
@@ -40,8 +41,8 @@
|
||||
"item.aris_random_additions.power_star": "Power Star",
|
||||
"enchantment.nims_random_bullshit.ruining_enchantment": "Ruining",
|
||||
"advancements.endite_advancement.descr": "Obtain Endite",
|
||||
"advancements.netherrack_juice_advancement.descr": "Obtain Netherrack Juice",
|
||||
"block.nims_random_bullshit.condensed_condensed_netherrack": "Condensed Condensed Netherrack",
|
||||
"advancements.netherrack_juice_advancement.descr": "Obtain Netherrack Juice",
|
||||
"block.nims_random_bullshit.quadra_condensed_netherrack": "Quadra-condensed Netherrack",
|
||||
"advancements.orichalcum_katana_advancement.descr": "Obtain an Orichalcum Katana",
|
||||
"gui.nims_random_bullshit.bedrockifier_gui.button_empty": "-\u003e",
|
||||
@@ -54,6 +55,7 @@
|
||||
"item.nims_random_bullshit.golden_berries": "Golden Berries",
|
||||
"item.nims_random_bullshit.netherrack_juice_bucket": "Netherrack Juice Bucket",
|
||||
"item.nims_random_bullshit.black_iron_ingot": "Black Iron Ingot",
|
||||
"item.aris_random_additions.void_apple": "Void Apple",
|
||||
"item.aris_random_additions.star_wand": "Star Wand",
|
||||
"item.nims_random_bullshit.pocket_lightning.description_0": "Spawns lightning wherever it lands.",
|
||||
"advancements.turd_advancement.title": "Crap!",
|
||||
@@ -66,6 +68,7 @@
|
||||
"block.nims_random_bullshit.condensed_netherrack": "Condensed Netherrack",
|
||||
"block.aris_random_additions.magma_brick_stairs": "Magma Brick Stairs",
|
||||
"block.nims_random_bullshit.magma_brick_slabs": "Magma Brick Slab",
|
||||
"block.aris_random_additions.orichalcum_deepslate_ore": "Orichalcum Deepslate Ore",
|
||||
"item.nims_random_bullshit.pocket_lightning": "Pocket Lightning",
|
||||
"block.aris_random_additions.redstone_brick_stairs": "Redstone Brick Stairs",
|
||||
"item.aris_random_additions.orichalcum_shovel": "Orichalcum Shovel",
|
||||
@@ -123,6 +126,7 @@
|
||||
"entity.nims_random_bullshit.ghoul": "Ghoul",
|
||||
"enchantment.aris_random_additions.life_mending_enchantment": "Life Mending",
|
||||
"block.aris_random_additions.redstone_brick_slabs": "Redstone Brick Slab",
|
||||
"item.aris_random_additions.orichalcum_apple": "Orichalcum Apple",
|
||||
"advancements.star_advancement.descr": "Obtain a Star",
|
||||
"item.nims_random_bullshit.bedrock_pickaxe": "Bedrock Pickaxe",
|
||||
"item.aris_random_additions.endite_armor_chestplate.description_0": "Set Bonus: Resistance, Regeneration, Strength",
|
||||
@@ -130,7 +134,7 @@
|
||||
"advancements.bedrock_shard_advancement.descr": "Obtain Bedrock Shard",
|
||||
"block.aris_random_additions.quadra_condensed_netherrack": "Quadra-condensed Netherrack",
|
||||
"item.aris_random_additions.orichalcum_katana": "Orichalcum Katana",
|
||||
"item.aris_random_additions.orichalcum_armor_boots": "Orichalcum Boots",
|
||||
"item.aris_random_additions.orichalcum_armor_boots": "Orichalcum Heels",
|
||||
"item.aris_random_additions.endite_upgrade_smithing_template": "Endite Upgrade Template",
|
||||
"item.aris_random_additions.bedrock_eater": "Bedrock Eater",
|
||||
"advancements.orichalcum_advancement.descr": "Obtain Orichalcum",
|
||||
@@ -139,6 +143,7 @@
|
||||
"item.aris_random_additions.orichalcum_armor_leggings": "Orichalcum Leggings",
|
||||
"item.aris_random_additions.iron_golem_question_mark": "Iron Golem...?",
|
||||
"item.nims_random_bullshit.orichalcum_armor_chestplate": "Orichalcum Chestplate",
|
||||
"item.aris_random_additions.bedrock_apple.description_0": "When consumed: Grants permanent creative flight.",
|
||||
"item.nims_random_bullshit.bean": "Bean",
|
||||
"effect.aris_random_additions.stinky_effect": "Stinky",
|
||||
"advancements.endite_hoe_advancement.descr": "Craft an Endite Hoe",
|
||||
@@ -172,6 +177,7 @@
|
||||
"item.nims_random_bullshit.orichalcum": "Orichalcum",
|
||||
"item.aris_random_additions.orichalcum_armor_leggings.description_0": "Set Bonus: Speed, Jump Boost",
|
||||
"advancements.magic_egg_advancement.descr": "Obtain a Magic Egg",
|
||||
"item.aris_random_additions.orichalcum_apple.description_0": "When consumed: Grants 1 permanent bonus attack damage.",
|
||||
"advancements.endite_advancement.title": "Purple Butter",
|
||||
"entity.aris_random_additions.ari": "Ari",
|
||||
"item.nims_random_bullshit.night_vision_goggles_helmet": "Night Vision Goggles",
|
||||
@@ -181,8 +187,10 @@
|
||||
"item.aris_random_additions.endite_hoe": "Endite Hoe",
|
||||
"block.aris_random_additions.rave_block": "Rave Block",
|
||||
"advancements.orichalcum_set_advancement.title": "Cover Me In Folly Red",
|
||||
"item.aris_random_additions.bedrock_apple": "Bedrock Apple",
|
||||
"gui.nims_random_bullshit.ore_miner_gui.button_mine": "Mine",
|
||||
"item.aris_random_additions.endite_scythe": "Endite Scythe",
|
||||
"item.aris_random_additions.void_apple.description_0": "When consumed: Grants 2 permanent bonus max health.",
|
||||
"advancements.star_advancement.title": "A Star Meant To Be",
|
||||
"effect.aris_random_additions.bleed_effect": "Bleeding",
|
||||
"painting.nims_random_bullshit.shit_painting.author": "nim",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "aris_random_additions:block/orichalcum_ore_block",
|
||||
"particle": "aris_random_additions:block/orichalcum_ore_block"
|
||||
"all": "aris_random_additions:block/orichalcum_block",
|
||||
"particle": "aris_random_additions:block/orichalcum_block"
|
||||
},
|
||||
"render_type": "solid"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "aris_random_additions:block/orichalcum_deeplsate_ore",
|
||||
"particle": "aris_random_additions:block/orichalcum_deeplsate_ore"
|
||||
},
|
||||
"render_type": "solid"
|
||||
}
|
||||
|
After Width: | Height: | Size: 332 B |
|
After Width: | Height: | Size: 658 B |
|
Before Width: | Height: | Size: 520 B After Width: | Height: | Size: 626 B |
|
Before Width: | Height: | Size: 427 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 205 B |
|
Before Width: | Height: | Size: 177 B |
|
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 167 B |
|
After Width: | Height: | Size: 190 B |
|
Before Width: | Height: | Size: 171 B |
|
After Width: | Height: | Size: 163 B |
|
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 165 B |
|
After Width: | Height: | Size: 397 B |
|
After Width: | Height: | Size: 218 B |
|
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 310 B |
|
Before Width: | Height: | Size: 178 B |
|
Before Width: | Height: | Size: 155 B |
|
After Width: | Height: | Size: 369 B |
|
Before Width: | Height: | Size: 428 B |
|
Before Width: | Height: | Size: 171 B |
|
After Width: | Height: | Size: 261 B |
|
After Width: | Height: | Size: 272 B |
|
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 296 B |
|
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 193 B |
|
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 338 B |
|
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 306 B |
|
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 222 B |
|
After Width: | Height: | Size: 219 B |
|
After Width: | Height: | Size: 202 B |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "forge:add_features",
|
||||
"biomes": "#minecraft:is_overworld",
|
||||
"features": "aris_random_additions:orichalcum_deepslate_feature",
|
||||
"step": "underground_ores"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "forge:add_features",
|
||||
"biomes": "#is_overworld",
|
||||
"features": "aris_random_additions:orichalcum_deepslate_ore",
|
||||
"step": "underground_ores"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"random_sequence": "aris_random_additions:blocks/orichalcum_deepslate_ore",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
],
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "aris_random_additions:orichalcum"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"type": "minecraft:entity",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "aris_random_additions:orichalcum",
|
||||
"weight": 16,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:air",
|
||||
"weight": 300,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"random_sequence": "aris_random_additions:entities/ari"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"category": "misc",
|
||||
"pattern": [
|
||||
"aaa",
|
||||
"aba",
|
||||
"aaa"
|
||||
],
|
||||
"key": {
|
||||
"a": {
|
||||
"item": "minecraft:bedrock"
|
||||
},
|
||||
"b": {
|
||||
"item": "minecraft:enchanted_golden_apple"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "aris_random_additions:bedrock_apple",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"template": {
|
||||
"item": "aris_random_additions:power_star"
|
||||
"item": "aris_random_additions:void_star"
|
||||
},
|
||||
"base": {
|
||||
"item": "minecraft:netherite_ingot"
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"category": "misc",
|
||||
"pattern": [
|
||||
"aba",
|
||||
"aca",
|
||||
"aaa"
|
||||
],
|
||||
"key": {
|
||||
"a": {
|
||||
"item": "aris_random_additions:orichalcum"
|
||||
},
|
||||
"b": {
|
||||
"item": "aris_random_additions:endite_upgrade_smithing_template"
|
||||
},
|
||||
"c": {
|
||||
"item": "aris_random_additions:chorus_eye"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "aris_random_additions:endite_upgrade_smithing_template",
|
||||
"count": 2
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"template": {
|
||||
"item": "minecraft:gold_block"
|
||||
},
|
||||
"base": {
|
||||
"item": "minecraft:golden_apple"
|
||||
},
|
||||
"addition": {
|
||||
"item": "minecraft:nether_star"
|
||||
},
|
||||
"result": {
|
||||
"item": "minecraft:enchanted_golden_apple"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"template": {
|
||||
"item": "aris_random_additions:orichalcum_block"
|
||||
},
|
||||
"base": {
|
||||
"item": "minecraft:enchanted_golden_apple"
|
||||
},
|
||||
"addition": {
|
||||
"item": "aris_random_additions:power_star"
|
||||
},
|
||||
"result": {
|
||||
"item": "aris_random_additions:orichalcum_apple"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"template": {
|
||||
"item": "aris_random_additions:endite_upgrade_smithing_template"
|
||||
},
|
||||
"base": {
|
||||
"item": "minecraft:enchanted_golden_apple"
|
||||
},
|
||||
"addition": {
|
||||
"item": "aris_random_additions:void_star"
|
||||
},
|
||||
"result": {
|
||||
"item": "aris_random_additions:void_apple"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"template": {
|
||||
"item": "aris_random_additions:endite_upgrade_smithing_template"
|
||||
},
|
||||
"base": {
|
||||
"item": "aris_random_additions:power_star"
|
||||
},
|
||||
"addition": {
|
||||
"item": "aris_random_additions:chorus_eye"
|
||||
},
|
||||
"result": {
|
||||
"item": "aris_random_additions:void_star"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type": "minecraft:scattered_ore",
|
||||
"config": {
|
||||
"size": 3,
|
||||
"discard_chance_on_air_exposure": 0,
|
||||
"targets": [
|
||||
{
|
||||
"target": {
|
||||
"predicate_type": "block_match",
|
||||
"block": "minecraft:deepslate"
|
||||
},
|
||||
"state": {
|
||||
"Name": "aris_random_additions:orichalcum_deepslate_ore"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"type": "minecraft:ore",
|
||||
"config": {
|
||||
"size": 2,
|
||||
"discard_chance_on_air_exposure": 0,
|
||||
"targets": [
|
||||
{
|
||||
"target": {
|
||||
"predicate_type": "tag_match",
|
||||
"tag": "forge:stone"
|
||||
},
|
||||
"state": {
|
||||
"Name": "aris_random_additions:orichalcum_deepslate_ore"
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": {
|
||||
"predicate_type": "blockstate_match",
|
||||
"block_state": {
|
||||
"Name": "minecraft:deepslate",
|
||||
"Properties": {
|
||||
"axis": "y"
|
||||
}
|
||||
}
|
||||
},
|
||||
"state": {
|
||||
"Name": "aris_random_additions:orichalcum_deepslate_ore"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"feature": "aris_random_additions:orichalcum_deepslate_feature",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"min_inclusive": {
|
||||
"absolute": -64
|
||||
},
|
||||
"max_inclusive": {
|
||||
"absolute": 8
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"feature": "aris_random_additions:orichalcum_deepslate_ore",
|
||||
"placement": [
|
||||
{
|
||||
"type": "minecraft:count",
|
||||
"count": 3
|
||||
},
|
||||
{
|
||||
"type": "minecraft:in_square"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:height_range",
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"min_inclusive": {
|
||||
"absolute": -64
|
||||
},
|
||||
"max_inclusive": {
|
||||
"absolute": 8
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minecraft:biome"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,10 +6,10 @@
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"min_inclusive": {
|
||||
"absolute": -6
|
||||
"absolute": 8
|
||||
},
|
||||
"max_inclusive": {
|
||||
"absolute": 6
|
||||
"absolute": 26
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
"height": {
|
||||
"type": "minecraft:uniform",
|
||||
"min_inclusive": {
|
||||
"absolute": -6
|
||||
"absolute": 8
|
||||
},
|
||||
"max_inclusive": {
|
||||
"absolute": 6
|
||||
"absolute": 26
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"aris_random_additions:orichalcum_deepslate_ore",
|
||||
"aris_random_additions:endite_block",
|
||||
"aris_random_additions:orichalcum_block",
|
||||
"aris_random_additions:orichalcum_ore",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"aris_random_additions:orichalcum_deepslate_ore",
|
||||
"aris_random_additions:endite_block",
|
||||
"aris_random_additions:orichalcum_block",
|
||||
"aris_random_additions:orichalcum_ore",
|
||||
|
||||