This commit is contained in:
nimsolated
2026-03-27 15:32:09 -07:00
parent c84aba4632
commit b8dbadcda0
229 changed files with 6491 additions and 194 deletions

View File

@@ -32,7 +32,6 @@ import net.minecraft.core.Direction;
import net.minecraft.core.BlockPos;
import net.mcreator.arisrandomadditions.world.inventory.BedrockifierGUIMenu;
import net.mcreator.arisrandomadditions.procedures.BedrockifierLogicProcedure;
import net.mcreator.arisrandomadditions.block.entity.BedrockifierBlockEntity;
import io.netty.buffer.Unpooled;
@@ -69,14 +68,6 @@ public class BedrockifierBlock extends Block implements EntityBlock {
return state.rotate(mirrorIn.getRotation(state.getValue(FACING)));
}
@Override
public void neighborChanged(BlockState blockstate, Level world, BlockPos pos, Block neighborBlock, BlockPos fromPos, boolean moving) {
super.neighborChanged(blockstate, world, pos, neighborBlock, fromPos, moving);
if (world.getBestNeighborSignal(pos) > 0) {
BedrockifierLogicProcedure.execute(world, pos.getX(), pos.getY(), pos.getZ());
}
}
@Override
public InteractionResult use(BlockState blockstate, Level world, BlockPos pos, Player entity, InteractionHand hand, BlockHitResult hit) {
super.use(blockstate, world, pos, entity, hand, hit);

View File

@@ -0,0 +1,23 @@
package net.mcreator.arisrandomadditions.block;
import org.checkerframework.checker.units.qual.s;
import net.minecraft.world.level.material.MapColor;
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 BrickierMagmaBricksBlock extends Block {
public BrickierMagmaBricksBlock() {
super(BlockBehaviour.Properties.of().mapColor(MapColor.COLOR_ORANGE).sound(SoundType.STONE).strength(0.5f).lightLevel(s -> 3).requiresCorrectToolForDrops());
}
@Override
public int getLightBlock(BlockState state, BlockGetter worldIn, BlockPos pos) {
return 15;
}
}

View File

@@ -0,0 +1,34 @@
package net.mcreator.arisrandomadditions.block;
import net.minecraft.world.level.material.PushReaction;
import net.minecraft.world.level.material.MapColor;
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.FlowerBlock;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.effect.MobEffects;
import net.minecraft.core.Direction;
import net.minecraft.core.BlockPos;
public class MintPlantBlock extends FlowerBlock {
public MintPlantBlock() {
super(() -> MobEffects.DIG_SPEED, 200, BlockBehaviour.Properties.of().mapColor(MapColor.PLANT).sound(SoundType.GRASS).instabreak().noCollission().offsetType(BlockBehaviour.OffsetType.XZ).pushReaction(PushReaction.DESTROY));
}
@Override
public int getEffectDuration() {
return 200;
}
@Override
public int getFlammability(BlockState state, BlockGetter world, BlockPos pos, Direction face) {
return 100;
}
@Override
public int getFireSpreadSpeed(BlockState state, BlockGetter world, BlockPos pos, Direction face) {
return 60;
}
}

View File

@@ -0,0 +1,70 @@
package net.mcreator.arisrandomadditions.block;
import net.minecraft.world.phys.BlockHitResult;
import net.minecraft.world.level.block.state.properties.DirectionProperty;
import net.minecraft.world.level.block.state.StateDefinition;
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.Rotation;
import net.minecraft.world.level.block.Mirror;
import net.minecraft.world.level.block.HorizontalDirectionalBlock;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.item.context.BlockPlaceContext;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.InteractionResult;
import net.minecraft.world.InteractionHand;
import net.minecraft.core.Direction;
import net.minecraft.core.BlockPos;
import net.mcreator.arisrandomadditions.procedures.SodaMachineOnBlockRightClickedProcedure;
public class SodaMachineBlock extends Block {
public static final DirectionProperty FACING = HorizontalDirectionalBlock.FACING;
public SodaMachineBlock() {
super(BlockBehaviour.Properties.of().sound(SoundType.METAL).strength(1f, 10f));
this.registerDefaultState(this.stateDefinition.any().setValue(FACING, Direction.NORTH));
}
@Override
public int getLightBlock(BlockState state, BlockGetter worldIn, BlockPos pos) {
return 15;
}
@Override
protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> builder) {
super.createBlockStateDefinition(builder);
builder.add(FACING);
}
@Override
public BlockState getStateForPlacement(BlockPlaceContext context) {
return super.getStateForPlacement(context).setValue(FACING, context.getHorizontalDirection().getOpposite());
}
public BlockState rotate(BlockState state, Rotation rot) {
return state.setValue(FACING, rot.rotate(state.getValue(FACING)));
}
public BlockState mirror(BlockState state, Mirror mirrorIn) {
return state.rotate(mirrorIn.getRotation(state.getValue(FACING)));
}
@Override
public InteractionResult use(BlockState blockstate, Level world, BlockPos pos, Player entity, InteractionHand hand, BlockHitResult hit) {
super.use(blockstate, world, pos, entity, hand, hit);
int x = pos.getX();
int y = pos.getY();
int z = pos.getZ();
double hitX = hit.getLocation().x;
double hitY = hit.getLocation().y;
double hitZ = hit.getLocation().z;
Direction direction = hit.getDirection();
SodaMachineOnBlockRightClickedProcedure.execute(world, x, y, z, entity);
return InteractionResult.SUCCESS;
}
}

View File

@@ -7,9 +7,12 @@ import net.minecraft.world.entity.player.Inventory;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.network.chat.Component;
import net.minecraft.client.gui.screens.inventory.AbstractContainerScreen;
import net.minecraft.client.gui.components.Button;
import net.minecraft.client.gui.GuiGraphics;
import net.mcreator.arisrandomadditions.world.inventory.BedrockifierGUIMenu;
import net.mcreator.arisrandomadditions.network.BedrockifierGUIButtonMessage;
import net.mcreator.arisrandomadditions.ArisRandomAdditionsMod;
import java.util.HashMap;
@@ -20,6 +23,7 @@ public class BedrockifierGUIScreen extends AbstractContainerScreen<BedrockifierG
private final Level world;
private final int x, y, z;
private final Player entity;
Button button_empty;
public BedrockifierGUIScreen(BedrockifierGUIMenu container, Inventory inventory, Component text) {
super(container, inventory, text);
@@ -50,8 +54,6 @@ public class BedrockifierGUIScreen extends AbstractContainerScreen<BedrockifierG
guiGraphics.blit(new ResourceLocation("aris_random_additions:textures/screens/plus_sign.png"), this.leftPos + 42, this.topPos + 34, 0, 0, 16, 16, 16, 16);
guiGraphics.blit(new ResourceLocation("aris_random_additions:textures/screens/right_arrow_sign.png"), this.leftPos + 96, this.topPos + 34, 0, 0, 32, 16, 32, 16);
RenderSystem.disableBlend();
}
@@ -72,5 +74,13 @@ public class BedrockifierGUIScreen extends AbstractContainerScreen<BedrockifierG
@Override
public void init() {
super.init();
button_empty = Button.builder(Component.translatable("gui.aris_random_additions.bedrockifier_gui.button_empty"), e -> {
if (true) {
ArisRandomAdditionsMod.PACKET_HANDLER.sendToServer(new BedrockifierGUIButtonMessage(0, x, y, z));
BedrockifierGUIButtonMessage.handleButtonAction(entity, 0, x, y, z);
}
}).bounds(this.leftPos + 96, this.topPos + 34, 35, 20).build();
guistate.put("button:button_empty", button_empty);
this.addRenderableWidget(button_empty);
}
}

View File

@@ -18,7 +18,7 @@ import net.mcreator.arisrandomadditions.procedures.GetPermanentStatsCommandProce
public class GetPermanentStatsCommand {
@SubscribeEvent
public static void registerCommand(RegisterCommandsEvent event) {
event.getDispatcher().register(Commands.literal("ari-get-permanent-stats")
event.getDispatcher().register(Commands.literal("arira-get-permanent-stats")
.executes(arguments -> {
Level world = arguments.getSource().getUnsidedLevel();

View File

@@ -10,6 +10,7 @@ import net.minecraftforge.registries.DeferredRegister;
import net.minecraft.world.level.block.Block;
import net.mcreator.arisrandomadditions.block.SodaMachineBlock;
import net.mcreator.arisrandomadditions.block.RedstoneBricksBlock;
import net.mcreator.arisrandomadditions.block.RedstoneBrickWallsBlock;
import net.mcreator.arisrandomadditions.block.RedstoneBrickStairsBlock;
@@ -22,6 +23,7 @@ import net.mcreator.arisrandomadditions.block.OrichalcumDeepslateOreBlock;
import net.mcreator.arisrandomadditions.block.OrichalcumBlockBlock;
import net.mcreator.arisrandomadditions.block.OreMinerBlock;
import net.mcreator.arisrandomadditions.block.NetherrackJuiceBlock;
import net.mcreator.arisrandomadditions.block.MintPlantBlock;
import net.mcreator.arisrandomadditions.block.MagmaBricksBlock;
import net.mcreator.arisrandomadditions.block.MagmaBrickWallsBlock;
import net.mcreator.arisrandomadditions.block.MagmaBrickStairsBlock;
@@ -34,6 +36,7 @@ import net.mcreator.arisrandomadditions.block.CondensedNetherrackBlock;
import net.mcreator.arisrandomadditions.block.CondensedCondensedNetherrackBlock;
import net.mcreator.arisrandomadditions.block.CondensedCondensedCondensedNetherrackBlock;
import net.mcreator.arisrandomadditions.block.BrokenGlassBlock;
import net.mcreator.arisrandomadditions.block.BrickierMagmaBricksBlock;
import net.mcreator.arisrandomadditions.block.BedrockifierBlock;
import net.mcreator.arisrandomadditions.ArisRandomAdditionsMod;
@@ -64,6 +67,9 @@ public class ArisRandomAdditionsModBlocks {
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());
public static final RegistryObject<Block> MINT_PLANT = REGISTRY.register("mint_plant", () -> new MintPlantBlock());
public static final RegistryObject<Block> BRICKIER_MAGMA_BRICKS = REGISTRY.register("brickier_magma_bricks", () -> new BrickierMagmaBricksBlock());
public static final RegistryObject<Block> SODA_MACHINE = REGISTRY.register("soda_machine", () -> new SodaMachineBlock());
// Start of user code block custom blocks
// End of user code block custom blocks
}

View File

@@ -14,13 +14,16 @@ import net.minecraft.world.item.Item;
import net.minecraft.world.item.BlockItem;
import net.mcreator.arisrandomadditions.item.WitherQuestionMarkItem;
import net.mcreator.arisrandomadditions.item.WaterCanItem;
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.SweetenedCarbonatedWaterCanItem;
import net.mcreator.arisrandomadditions.item.StarWandItem;
import net.mcreator.arisrandomadditions.item.StarItem;
import net.mcreator.arisrandomadditions.item.SocketItem;
import net.mcreator.arisrandomadditions.item.SnowGolemQuestionMarkItem;
import net.mcreator.arisrandomadditions.item.SandDustItem;
import net.mcreator.arisrandomadditions.item.PowerStarItem;
@@ -34,10 +37,15 @@ 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.OrangeSweetenedCarbonatedWaterCanItem;
import net.mcreator.arisrandomadditions.item.OrangeItem;
import net.mcreator.arisrandomadditions.item.NightVisionGogglesItem;
import net.mcreator.arisrandomadditions.item.NetherrackitePickaxeItem;
import net.mcreator.arisrandomadditions.item.NetherrackiteItem;
import net.mcreator.arisrandomadditions.item.NetherrackJuiceItem;
import net.mcreator.arisrandomadditions.item.MintSweetenedCarbonatedWaterCanItem;
import net.mcreator.arisrandomadditions.item.MintLeavesItem;
import net.mcreator.arisrandomadditions.item.MintItem;
import net.mcreator.arisrandomadditions.item.MagicFleshItem;
import net.mcreator.arisrandomadditions.item.MagicEggItem;
import net.mcreator.arisrandomadditions.item.MagicDustItem;
@@ -45,6 +53,7 @@ import net.mcreator.arisrandomadditions.item.LapisLazuliNuggetItem;
import net.mcreator.arisrandomadditions.item.IronGolemQuestionMarkItem;
import net.mcreator.arisrandomadditions.item.GravediggerItem;
import net.mcreator.arisrandomadditions.item.GoldenBerriesItem;
import net.mcreator.arisrandomadditions.item.GoldTokenItem;
import net.mcreator.arisrandomadditions.item.EnditeUpgradeSmithingTemplateItem;
import net.mcreator.arisrandomadditions.item.EnditeSwordItem;
import net.mcreator.arisrandomadditions.item.EnditeShovelItem;
@@ -54,8 +63,11 @@ import net.mcreator.arisrandomadditions.item.EnditeIngotItem;
import net.mcreator.arisrandomadditions.item.EnditeHoeItem;
import net.mcreator.arisrandomadditions.item.EnditeAxeItem;
import net.mcreator.arisrandomadditions.item.EnditeArmorItem;
import net.mcreator.arisrandomadditions.item.EmptyCanItem;
import net.mcreator.arisrandomadditions.item.ChorusEyeItem;
import net.mcreator.arisrandomadditions.item.CheeseItem;
import net.mcreator.arisrandomadditions.item.CarbonatedWaterCanItem;
import net.mcreator.arisrandomadditions.item.CanLidItem;
import net.mcreator.arisrandomadditions.item.BlockEaterItem;
import net.mcreator.arisrandomadditions.item.BlackIronIngotItem;
import net.mcreator.arisrandomadditions.item.BedrockUpgradeTemplateItem;
@@ -154,6 +166,21 @@ public class ArisRandomAdditionsModItems {
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());
public static final RegistryObject<Item> ORANGE = REGISTRY.register("orange", () -> new OrangeItem());
public static final RegistryObject<Item> MINT = REGISTRY.register("mint", () -> new MintItem());
public static final RegistryObject<Item> CAN_LID = REGISTRY.register("can_lid", () -> new CanLidItem());
public static final RegistryObject<Item> EMPTY_CAN = REGISTRY.register("empty_can", () -> new EmptyCanItem());
public static final RegistryObject<Item> WATER_CAN = REGISTRY.register("water_can", () -> new WaterCanItem());
public static final RegistryObject<Item> CARBONATED_WATER_CAN = REGISTRY.register("carbonated_water_can", () -> new CarbonatedWaterCanItem());
public static final RegistryObject<Item> SWEETENED_CARBONATED_WATER_CAN = REGISTRY.register("sweetened_carbonated_water_can", () -> new SweetenedCarbonatedWaterCanItem());
public static final RegistryObject<Item> MINT_SWEETENED_CARBONATED_WATER_CAN = REGISTRY.register("mint_sweetened_carbonated_water_can", () -> new MintSweetenedCarbonatedWaterCanItem());
public static final RegistryObject<Item> ORANGE_SWEETENED_CARBONATED_WATER_CAN = REGISTRY.register("orange_sweetened_carbonated_water_can", () -> new OrangeSweetenedCarbonatedWaterCanItem());
public static final RegistryObject<Item> MINT_PLANT = block(ArisRandomAdditionsModBlocks.MINT_PLANT);
public static final RegistryObject<Item> MINT_LEAVES = REGISTRY.register("mint_leaves", () -> new MintLeavesItem());
public static final RegistryObject<Item> BRICKIER_MAGMA_BRICKS = block(ArisRandomAdditionsModBlocks.BRICKIER_MAGMA_BRICKS);
public static final RegistryObject<Item> SOCKET = REGISTRY.register("socket", () -> new SocketItem());
public static final RegistryObject<Item> SODA_MACHINE = block(ArisRandomAdditionsModBlocks.SODA_MACHINE);
public static final RegistryObject<Item> GOLD_TOKEN = REGISTRY.register("gold_token", () -> new GoldTokenItem());
// Start of user code block custom items
// End of user code block custom items

View File

@@ -7,82 +7,18 @@ package net.mcreator.arisrandomadditions.init;
import net.minecraftforge.registries.RegistryObject;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.network.PacketDistributor;
import net.minecraftforge.network.NetworkEvent;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.common.extensions.IForgeMenuType;
import net.minecraft.world.inventory.MenuType;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.network.chat.Component;
import net.minecraft.network.FriendlyByteBuf;
import net.mcreator.arisrandomadditions.world.inventory.TurdGUIMenu;
import net.mcreator.arisrandomadditions.world.inventory.OreMinerGUIMenu;
import net.mcreator.arisrandomadditions.world.inventory.BedrockifierGUIMenu;
import net.mcreator.arisrandomadditions.ArisRandomAdditionsMod;
import javax.annotation.Nullable;
import java.util.function.Supplier;
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
public class ArisRandomAdditionsModMenus {
public static final DeferredRegister<MenuType<?>> REGISTRY = DeferredRegister.create(ForgeRegistries.MENU_TYPES, ArisRandomAdditionsMod.MODID);
public static final RegistryObject<MenuType<OreMinerGUIMenu>> ORE_MINER_GUI = REGISTRY.register("ore_miner_gui", () -> IForgeMenuType.create(OreMinerGUIMenu::new));
public static final RegistryObject<MenuType<BedrockifierGUIMenu>> BEDROCKIFIER_GUI = REGISTRY.register("bedrockifier_gui", () -> IForgeMenuType.create(BedrockifierGUIMenu::new));
public static final RegistryObject<MenuType<TurdGUIMenu>> TURD_GUI = REGISTRY.register("turd_gui", () -> IForgeMenuType.create(TurdGUIMenu::new));
public static void setText(String boxname, String value, @Nullable ServerPlayer player) {
if (player != null) {
ArisRandomAdditionsMod.PACKET_HANDLER.send(PacketDistributor.PLAYER.with(() -> player), new GuiSyncMessage(boxname, value));
} else {
ArisRandomAdditionsMod.PACKET_HANDLER.send(PacketDistributor.ALL.noArg(), new GuiSyncMessage(boxname, value));
}
}
public static class GuiSyncMessage {
private final String textboxid;
private final String data;
public GuiSyncMessage(FriendlyByteBuf buffer) {
this.textboxid = buffer.readComponent().getString();
this.data = buffer.readComponent().getString();
}
public GuiSyncMessage(String textboxid, String data) {
this.textboxid = textboxid;
this.data = data;
}
public static void buffer(GuiSyncMessage message, FriendlyByteBuf buffer) {
buffer.writeComponent(Component.literal(message.textboxid));
buffer.writeComponent(Component.literal(message.data));
}
public static void handleData(GuiSyncMessage message, Supplier<NetworkEvent.Context> contextSupplier) {
NetworkEvent.Context context = contextSupplier.get();
context.enqueueWork(() -> {
if (!context.getDirection().getReceptionSide().isServer()) {
ArisRandomAdditionsModScreens.handleTextBoxMessage(message);
}
});
context.setPacketHandled(true);
}
String editbox() {
return this.textboxid;
}
String value() {
return this.data;
}
}
@SubscribeEvent
public static void init(FMLCommonSetupEvent event) {
ArisRandomAdditionsMod.addNetworkMessage(GuiSyncMessage.class, GuiSyncMessage::buffer, GuiSyncMessage::new, GuiSyncMessage::handleData);
}
}

View File

@@ -9,18 +9,12 @@ import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraft.client.gui.screens.Screen;
import net.minecraft.client.gui.screens.MenuScreens;
import net.minecraft.client.gui.components.EditBox;
import net.minecraft.client.Minecraft;
import net.mcreator.arisrandomadditions.init.ArisRandomAdditionsModMenus.GuiSyncMessage;
import net.mcreator.arisrandomadditions.client.gui.TurdGUIScreen;
import net.mcreator.arisrandomadditions.client.gui.OreMinerGUIScreen;
import net.mcreator.arisrandomadditions.client.gui.BedrockifierGUIScreen;
import java.util.HashMap;
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT)
public class ArisRandomAdditionsModScreens {
@SubscribeEvent
@@ -31,21 +25,4 @@ public class ArisRandomAdditionsModScreens {
MenuScreens.register(ArisRandomAdditionsModMenus.TURD_GUI.get(), TurdGUIScreen::new);
});
}
static void handleTextBoxMessage(GuiSyncMessage message) {
String editbox = message.editbox();
String value = message.value();
Screen currentScreen = Minecraft.getInstance().screen;
if (currentScreen instanceof WidgetScreen sc) {
HashMap<String, Object> widgets = sc.getWidgets();
Object obj = widgets.get("text:" + editbox);
if (obj instanceof EditBox box) {
box.setValue(value);
}
}
}
public interface WidgetScreen {
HashMap<String, Object> getWidgets();
}
}

View File

@@ -38,6 +38,8 @@ public class ArisRandomAdditionsModTabs {
tabData.accept(ArisRandomAdditionsModBlocks.RAVE_BLOCK.get().asItem());
tabData.accept(ArisRandomAdditionsModBlocks.ENDITE_BLOCK.get().asItem());
tabData.accept(ArisRandomAdditionsModBlocks.ORICHALCUM_DEEPSLATE_ORE.get().asItem());
tabData.accept(ArisRandomAdditionsModBlocks.BRICKIER_MAGMA_BRICKS.get().asItem());
tabData.accept(ArisRandomAdditionsModBlocks.SODA_MACHINE.get().asItem());
} else if (tabData.getTabKey() == CreativeModeTabs.TOOLS_AND_UTILITIES) {
tabData.accept(ArisRandomAdditionsModItems.BLOCK_EATER.get());
tabData.accept(ArisRandomAdditionsModItems.NETHERRACKITE_PICKAXE.get());
@@ -76,6 +78,11 @@ public class ArisRandomAdditionsModTabs {
tabData.accept(ArisRandomAdditionsModItems.CHORUS_EYE.get());
tabData.accept(ArisRandomAdditionsModItems.POWER_STAR.get());
tabData.accept(ArisRandomAdditionsModItems.VOID_STAR.get());
tabData.accept(ArisRandomAdditionsModItems.CAN_LID.get());
tabData.accept(ArisRandomAdditionsModItems.EMPTY_CAN.get());
tabData.accept(ArisRandomAdditionsModItems.MINT_LEAVES.get());
tabData.accept(ArisRandomAdditionsModItems.SOCKET.get());
tabData.accept(ArisRandomAdditionsModItems.GOLD_TOKEN.get());
} else if (tabData.getTabKey() == CreativeModeTabs.FOOD_AND_DRINKS) {
tabData.accept(ArisRandomAdditionsModItems.MAGIC_FLESH.get());
tabData.accept(ArisRandomAdditionsModItems.GOLDEN_BERRIES.get());
@@ -84,6 +91,13 @@ public class ArisRandomAdditionsModTabs {
tabData.accept(ArisRandomAdditionsModItems.VOID_APPLE.get());
tabData.accept(ArisRandomAdditionsModItems.ORICHALCUM_APPLE.get());
tabData.accept(ArisRandomAdditionsModItems.BEDROCK_APPLE.get());
tabData.accept(ArisRandomAdditionsModItems.ORANGE.get());
tabData.accept(ArisRandomAdditionsModItems.MINT.get());
tabData.accept(ArisRandomAdditionsModItems.WATER_CAN.get());
tabData.accept(ArisRandomAdditionsModItems.CARBONATED_WATER_CAN.get());
tabData.accept(ArisRandomAdditionsModItems.SWEETENED_CARBONATED_WATER_CAN.get());
tabData.accept(ArisRandomAdditionsModItems.MINT_SWEETENED_CARBONATED_WATER_CAN.get());
tabData.accept(ArisRandomAdditionsModItems.ORANGE_SWEETENED_CARBONATED_WATER_CAN.get());
} else if (tabData.getTabKey() == CreativeModeTabs.FUNCTIONAL_BLOCKS) {
tabData.accept(ArisRandomAdditionsModBlocks.ORE_MINER.get().asItem());
tabData.accept(ArisRandomAdditionsModBlocks.BEDROCKIFIER.get().asItem());
@@ -114,6 +128,8 @@ public class ArisRandomAdditionsModTabs {
tabData.accept(ArisRandomAdditionsModItems.ENDITE_ARMOR_BOOTS.get());
tabData.accept(ArisRandomAdditionsModItems.ENDITE_SCYTHE.get());
tabData.accept(ArisRandomAdditionsModItems.ORICHALCUM_KATANA.get());
} else if (tabData.getTabKey() == CreativeModeTabs.NATURAL_BLOCKS) {
tabData.accept(ArisRandomAdditionsModBlocks.MINT_PLANT.get().asItem());
}
}
}

View File

@@ -0,0 +1,11 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.Item;
public class CanLidItem extends Item {
public CanLidItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
}
}

View File

@@ -0,0 +1,19 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.item.UseAnim;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.Item;
import net.minecraft.world.food.FoodProperties;
public class CarbonatedWaterCanItem extends Item {
public CarbonatedWaterCanItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON).food((new FoodProperties.Builder()).nutrition(0).saturationMod(0f).alwaysEat().build()));
}
@Override
public UseAnim getUseAnimation(ItemStack itemstack) {
return UseAnim.DRINK;
}
}

View File

@@ -0,0 +1,22 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.item.context.UseOnContext;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.Item;
import net.minecraft.world.InteractionResult;
import net.mcreator.arisrandomadditions.procedures.EmptyCanRightclickedOnBlockProcedure;
public class EmptyCanItem extends Item {
public EmptyCanItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
}
@Override
public InteractionResult useOn(UseOnContext context) {
super.useOn(context);
EmptyCanRightclickedOnBlockProcedure.execute(context.getLevel(), context.getClickedPos().getX(), context.getClickedPos().getY(), context.getClickedPos().getZ(), context.getPlayer());
return InteractionResult.SUCCESS;
}
}

View File

@@ -0,0 +1,11 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.Item;
public class GoldTokenItem extends Item {
public GoldTokenItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
}
}

View File

@@ -0,0 +1,12 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.Item;
import net.minecraft.world.food.FoodProperties;
public class MintItem extends Item {
public MintItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON).food((new FoodProperties.Builder()).nutrition(0).saturationMod(0.3f).alwaysEat().build()));
}
}

View File

@@ -0,0 +1,11 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.Item;
public class MintLeavesItem extends Item {
public MintLeavesItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
}
}

View File

@@ -0,0 +1,33 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.level.Level;
import net.minecraft.world.item.UseAnim;
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.mcreator.arisrandomadditions.procedures.MintSweetenedCarbonatedWaterCanPlayerFinishesUsingItemProcedure;
public class MintSweetenedCarbonatedWaterCanItem extends Item {
public MintSweetenedCarbonatedWaterCanItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.UNCOMMON).food((new FoodProperties.Builder()).nutrition(0).saturationMod(0f).alwaysEat().build()));
}
@Override
public UseAnim getUseAnimation(ItemStack itemstack) {
return UseAnim.DRINK;
}
@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();
MintSweetenedCarbonatedWaterCanPlayerFinishesUsingItemProcedure.execute(world, entity);
return retval;
}
}

View File

@@ -0,0 +1,12 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.Item;
import net.minecraft.world.food.FoodProperties;
public class OrangeItem extends Item {
public OrangeItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON).food((new FoodProperties.Builder()).nutrition(3).saturationMod(0.5f).build()));
}
}

View File

@@ -0,0 +1,33 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.level.Level;
import net.minecraft.world.item.UseAnim;
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.mcreator.arisrandomadditions.procedures.OrangeSweetenedCarbonatedWaterCanPlayerFinishesUsingItemProcedure;
public class OrangeSweetenedCarbonatedWaterCanItem extends Item {
public OrangeSweetenedCarbonatedWaterCanItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.UNCOMMON).food((new FoodProperties.Builder()).nutrition(1).saturationMod(3.3f).alwaysEat().build()));
}
@Override
public UseAnim getUseAnimation(ItemStack itemstack) {
return UseAnim.DRINK;
}
@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();
OrangeSweetenedCarbonatedWaterCanPlayerFinishesUsingItemProcedure.execute(world, entity);
return retval;
}
}

View File

@@ -0,0 +1,11 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.Item;
public class SocketItem extends Item {
public SocketItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON));
}
}

View File

@@ -0,0 +1,33 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.level.Level;
import net.minecraft.world.item.UseAnim;
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.mcreator.arisrandomadditions.procedures.SweetenedCarbonatedWaterCanPlayerFinishesUsingItemProcedure;
public class SweetenedCarbonatedWaterCanItem extends Item {
public SweetenedCarbonatedWaterCanItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON).food((new FoodProperties.Builder()).nutrition(0).saturationMod(0f).alwaysEat().build()));
}
@Override
public UseAnim getUseAnimation(ItemStack itemstack) {
return UseAnim.DRINK;
}
@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();
SweetenedCarbonatedWaterCanPlayerFinishesUsingItemProcedure.execute(world, entity);
return retval;
}
}

View File

@@ -0,0 +1,19 @@
package net.mcreator.arisrandomadditions.item;
import net.minecraft.world.item.UseAnim;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.Item;
import net.minecraft.world.food.FoodProperties;
public class WaterCanItem extends Item {
public WaterCanItem() {
super(new Item.Properties().stacksTo(64).rarity(Rarity.COMMON).food((new FoodProperties.Builder()).nutrition(0).saturationMod(0f).alwaysEat().build()));
}
@Override
public UseAnim getUseAnimation(ItemStack itemstack) {
return UseAnim.DRINK;
}
}

View File

@@ -0,0 +1,75 @@
package net.mcreator.arisrandomadditions.network;
import net.minecraftforge.network.NetworkEvent;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraft.world.level.Level;
import net.minecraft.world.entity.player.Player;
import net.minecraft.network.FriendlyByteBuf;
import net.minecraft.core.BlockPos;
import net.mcreator.arisrandomadditions.world.inventory.BedrockifierGUIMenu;
import net.mcreator.arisrandomadditions.procedures.BedrockifierLogicProcedure;
import net.mcreator.arisrandomadditions.ArisRandomAdditionsMod;
import java.util.function.Supplier;
import java.util.HashMap;
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
public class BedrockifierGUIButtonMessage {
private final int buttonID, x, y, z;
public BedrockifierGUIButtonMessage(FriendlyByteBuf buffer) {
this.buttonID = buffer.readInt();
this.x = buffer.readInt();
this.y = buffer.readInt();
this.z = buffer.readInt();
}
public BedrockifierGUIButtonMessage(int buttonID, int x, int y, int z) {
this.buttonID = buttonID;
this.x = x;
this.y = y;
this.z = z;
}
public static void buffer(BedrockifierGUIButtonMessage message, FriendlyByteBuf buffer) {
buffer.writeInt(message.buttonID);
buffer.writeInt(message.x);
buffer.writeInt(message.y);
buffer.writeInt(message.z);
}
public static void handler(BedrockifierGUIButtonMessage message, Supplier<NetworkEvent.Context> contextSupplier) {
NetworkEvent.Context context = contextSupplier.get();
context.enqueueWork(() -> {
Player entity = context.getSender();
int buttonID = message.buttonID;
int x = message.x;
int y = message.y;
int z = message.z;
handleButtonAction(entity, buttonID, x, y, z);
});
context.setPacketHandled(true);
}
public static void handleButtonAction(Player entity, int buttonID, int x, int y, int z) {
Level world = entity.level();
HashMap guistate = BedrockifierGUIMenu.guistate;
// security measure to prevent arbitrary chunk generation
if (!world.hasChunkAt(new BlockPos(x, y, z)))
return;
if (buttonID == 0) {
BedrockifierLogicProcedure.execute(world, x, y, z);
}
}
@SubscribeEvent
public static void registerMessage(FMLCommonSetupEvent event) {
ArisRandomAdditionsMod.addNetworkMessage(BedrockifierGUIButtonMessage.class, BedrockifierGUIButtonMessage::buffer, BedrockifierGUIButtonMessage::new, BedrockifierGUIButtonMessage::handler);
}
}

View File

@@ -41,9 +41,9 @@ public class BedrockEaterRightClickProcedure {
if (entity instanceof Player _player)
_player.getCooldowns().addCooldown(itemstack.getItem(), 300);
if (!(entity instanceof ServerPlayer _plr13 && _plr13.level() instanceof ServerLevel
&& _plr13.getAdvancements().getOrStartProgress(_plr13.server.getAdvancements().getAdvancement(new ResourceLocation("aris_random_additions:block_eater_advancement"))).isDone())) {
&& _plr13.getAdvancements().getOrStartProgress(_plr13.server.getAdvancements().getAdvancement(new ResourceLocation("aris_random_additions:bedrock_eater_advancement"))).isDone())) {
if (entity instanceof ServerPlayer _player) {
Advancement _adv = _player.server.getAdvancements().getAdvancement(new ResourceLocation("aris_random_additions:block_eater_advancement"));
Advancement _adv = _player.server.getAdvancements().getAdvancement(new ResourceLocation("aris_random_additions:bedrock_eater_advancement"));
AdvancementProgress _ap = _player.getAdvancements().getOrStartProgress(_adv);
if (!_ap.isDone()) {
for (String criteria : _ap.getRemainingCriteria())

View File

@@ -0,0 +1,49 @@
package net.mcreator.arisrandomadditions.procedures;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.LevelAccessor;
import net.minecraft.world.level.Level;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.entity.item.ItemEntity;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.InteractionHand;
import net.minecraft.sounds.SoundSource;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.core.BlockPos;
import net.mcreator.arisrandomadditions.init.ArisRandomAdditionsModItems;
public class EmptyCanRightclickedOnBlockProcedure {
public static void execute(LevelAccessor world, double x, double y, double z, Entity entity) {
if (entity == null)
return;
if (!world.isClientSide()) {
if ((world.getBlockState(BlockPos.containing(x, y, z))).getBlock() == Blocks.WATER_CAULDRON) {
if (entity instanceof LivingEntity _entity) {
ItemStack _setstack = new ItemStack(ArisRandomAdditionsModItems.EMPTY_CAN.get()).copy();
_setstack.setCount((int) ((entity instanceof LivingEntity _livEnt ? _livEnt.getMainHandItem() : ItemStack.EMPTY).getCount() - 1));
_entity.setItemInHand(InteractionHand.MAIN_HAND, _setstack);
if (_entity instanceof Player _player)
_player.getInventory().setChanged();
}
if (world instanceof ServerLevel _level) {
ItemEntity entityToSpawn = new ItemEntity(_level, (entity.getX()), (entity.getY()), (entity.getZ()), new ItemStack(ArisRandomAdditionsModItems.WATER_CAN.get()));
entityToSpawn.setPickUpDelay(0);
_level.addFreshEntity(entityToSpawn);
}
if (world instanceof Level _level) {
if (!_level.isClientSide()) {
_level.playSound(null, BlockPos.containing(x, y, z), ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("item.bottle.fill")), SoundSource.PLAYERS, (float) 0.85, 1);
} else {
_level.playLocalSound(x, y, z, ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("item.bottle.fill")), SoundSource.PLAYERS, (float) 0.85, 1, false);
}
}
}
}
}
}

View File

@@ -0,0 +1,32 @@
package net.mcreator.arisrandomadditions.procedures;
import net.minecraft.world.level.LevelAccessor;
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.mcreator.arisrandomadditions.ArisRandomAdditionsMod;
public class MintSweetenedCarbonatedWaterCanPlayerFinishesUsingItemProcedure {
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.MOVEMENT_SPEED, 600, 4, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.DIG_SPEED, 600, 2, false, false));
ArisRandomAdditionsMod.queueServerWork(entity instanceof LivingEntity _livEnt && _livEnt.hasEffect(MobEffects.MOVEMENT_SPEED) ? _livEnt.getEffect(MobEffects.MOVEMENT_SPEED).getDuration() : 0, () -> {
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.MOVEMENT_SLOWDOWN, 120, 0, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.DIG_SLOWDOWN, 120, 0, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.CONFUSION, 90, 0, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.WEAKNESS, 90, 0, false, false));
});
}
}
}

View File

@@ -0,0 +1,32 @@
package net.mcreator.arisrandomadditions.procedures;
import net.minecraft.world.level.LevelAccessor;
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.mcreator.arisrandomadditions.ArisRandomAdditionsMod;
public class OrangeSweetenedCarbonatedWaterCanPlayerFinishesUsingItemProcedure {
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.MOVEMENT_SPEED, 500, 3, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.DIG_SPEED, 500, 1, false, false));
ArisRandomAdditionsMod.queueServerWork(entity instanceof LivingEntity _livEnt && _livEnt.hasEffect(MobEffects.MOVEMENT_SPEED) ? _livEnt.getEffect(MobEffects.MOVEMENT_SPEED).getDuration() : 0, () -> {
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.MOVEMENT_SLOWDOWN, 160, 0, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.DIG_SLOWDOWN, 160, 0, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.CONFUSION, 110, 0, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.WEAKNESS, 110, 0, false, false));
});
}
}
}

View File

@@ -0,0 +1,100 @@
package net.mcreator.arisrandomadditions.procedures;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraft.world.level.LevelAccessor;
import net.minecraft.world.level.Level;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.entity.item.ItemEntity;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.InteractionHand;
import net.minecraft.sounds.SoundSource;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.network.chat.Component;
import net.minecraft.core.BlockPos;
import net.minecraft.advancements.AdvancementProgress;
import net.minecraft.advancements.Advancement;
import net.mcreator.arisrandomadditions.init.ArisRandomAdditionsModItems;
public class SodaMachineOnBlockRightClickedProcedure {
public static void execute(LevelAccessor world, double x, double y, double z, Entity entity) {
if (entity == null)
return;
double sodaRoll = 0;
if (!world.isClientSide()) {
if ((entity instanceof LivingEntity _livEnt ? _livEnt.getMainHandItem() : ItemStack.EMPTY).getItem() == ArisRandomAdditionsModItems.GOLD_TOKEN.get()) {
if (entity instanceof LivingEntity _entity) {
ItemStack _setstack = new ItemStack(ArisRandomAdditionsModItems.GOLD_TOKEN.get()).copy();
_setstack.setCount((int) ((entity instanceof LivingEntity _livEnt ? _livEnt.getMainHandItem() : ItemStack.EMPTY).getCount() - 1));
_entity.setItemInHand(InteractionHand.MAIN_HAND, _setstack);
if (_entity instanceof Player _player)
_player.getInventory().setChanged();
}
sodaRoll = Math.random();
if (sodaRoll < 0.33) {
if (world instanceof ServerLevel _level) {
ItemEntity entityToSpawn = new ItemEntity(_level, (entity.getX()), (entity.getY()), (entity.getZ()), new ItemStack(ArisRandomAdditionsModItems.SWEETENED_CARBONATED_WATER_CAN.get()));
entityToSpawn.setPickUpDelay(0);
_level.addFreshEntity(entityToSpawn);
}
} else if (sodaRoll < 0.67) {
if (world instanceof ServerLevel _level) {
ItemEntity entityToSpawn = new ItemEntity(_level, (entity.getX()), (entity.getY()), (entity.getZ()), new ItemStack(ArisRandomAdditionsModItems.MINT_SWEETENED_CARBONATED_WATER_CAN.get()));
entityToSpawn.setPickUpDelay(0);
_level.addFreshEntity(entityToSpawn);
}
} else {
if (world instanceof ServerLevel _level) {
ItemEntity entityToSpawn = new ItemEntity(_level, (entity.getX()), (entity.getY()), (entity.getZ()), new ItemStack(ArisRandomAdditionsModItems.ORANGE_SWEETENED_CARBONATED_WATER_CAN.get()));
entityToSpawn.setPickUpDelay(0);
_level.addFreshEntity(entityToSpawn);
}
}
if (world instanceof Level _level) {
if (!_level.isClientSide()) {
_level.playSound(null, BlockPos.containing(x, y, z), ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("block.note_block.pling")), SoundSource.BLOCKS, (float) 0.8, (float) 1.2);
} else {
_level.playLocalSound(x, y, z, ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("block.note_block.pling")), SoundSource.BLOCKS, (float) 0.8, (float) 1.2, false);
}
}
if (!(entity instanceof ServerPlayer _plr19 && _plr19.level() instanceof ServerLevel
&& _plr19.getAdvancements().getOrStartProgress(_plr19.server.getAdvancements().getAdvancement(new ResourceLocation("aris_random_additions:soda_machine_advancement"))).isDone())) {
if (entity instanceof ServerPlayer _player) {
Advancement _adv = _player.server.getAdvancements().getAdvancement(new ResourceLocation("aris_random_additions:soda_machine_advancement"));
AdvancementProgress _ap = _player.getAdvancements().getOrStartProgress(_adv);
if (!_ap.isDone()) {
for (String criteria : _ap.getRemainingCriteria())
_player.getAdvancements().award(_adv, criteria);
}
}
}
} else {
if (world instanceof Level _level) {
if (!_level.isClientSide()) {
_level.playSound(null, BlockPos.containing(x, y, z), ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("block.chest.locked")), SoundSource.BLOCKS, (float) 0.8, (float) 1.2);
} else {
_level.playLocalSound(x, y, z, ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("block.chest.locked")), SoundSource.BLOCKS, (float) 0.8, (float) 1.2, false);
}
}
if (entity instanceof Player _player && !_player.level().isClientSide())
_player.displayClientMessage(Component.literal("\u00A7cSoda ain't free, ya know. You should feed the machine some Gold Tokens."), true);
if (!(entity instanceof ServerPlayer _plr23 && _plr23.level() instanceof ServerLevel
&& _plr23.getAdvancements().getOrStartProgress(_plr23.server.getAdvancements().getAdvancement(new ResourceLocation("aris_random_additions:soda_machine_refused_advancement"))).isDone())) {
if (entity instanceof ServerPlayer _player) {
Advancement _adv = _player.server.getAdvancements().getAdvancement(new ResourceLocation("aris_random_additions:soda_machine_refused_advancement"));
AdvancementProgress _ap = _player.getAdvancements().getOrStartProgress(_adv);
if (!_ap.isDone()) {
for (String criteria : _ap.getRemainingCriteria())
_player.getAdvancements().award(_adv, criteria);
}
}
}
}
}
}
}

View File

@@ -0,0 +1,32 @@
package net.mcreator.arisrandomadditions.procedures;
import net.minecraft.world.level.LevelAccessor;
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.mcreator.arisrandomadditions.ArisRandomAdditionsMod;
public class SweetenedCarbonatedWaterCanPlayerFinishesUsingItemProcedure {
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.MOVEMENT_SPEED, 400, 2, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.DIG_SPEED, 400, 0, false, false));
ArisRandomAdditionsMod.queueServerWork(entity instanceof LivingEntity _livEnt && _livEnt.hasEffect(MobEffects.MOVEMENT_SPEED) ? _livEnt.getEffect(MobEffects.MOVEMENT_SPEED).getDuration() : 0, () -> {
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.MOVEMENT_SLOWDOWN, 200, 1, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.DIG_SLOWDOWN, 200, 1, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.CONFUSION, 200, 0, false, false));
if (entity instanceof LivingEntity _entity && !_entity.level().isClientSide())
_entity.addEffect(new MobEffectInstance(MobEffects.WEAKNESS, 200, 0, false, false));
});
}
}
}

View File

@@ -0,0 +1,46 @@
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.level.LevelAccessor;
import net.minecraft.world.entity.Entity;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.advancements.AdvancementProgress;
import net.minecraft.advancements.Advancement;
import javax.annotation.Nullable;
@Mod.EventBusSubscriber
public class WelcomeAdvancementGranterProcedure {
@SubscribeEvent
public static void onPlayerLoggedIn(PlayerEvent.PlayerLoggedInEvent 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()) {
if (!(entity instanceof ServerPlayer _plr1 && _plr1.level() instanceof ServerLevel
&& _plr1.getAdvancements().getOrStartProgress(_plr1.server.getAdvancements().getAdvancement(new ResourceLocation("aris_random_additions:welcome_advancement"))).isDone())) {
if (entity instanceof ServerPlayer _player) {
Advancement _adv = _player.server.getAdvancements().getAdvancement(new ResourceLocation("aris_random_additions:welcome_advancement"));
AdvancementProgress _ap = _player.getAdvancements().getOrStartProgress(_adv);
if (!_ap.isDone()) {
for (String criteria : _ap.getRemainingCriteria())
_player.getAdvancements().award(_adv, criteria);
}
}
}
}
}
}

View File

@@ -0,0 +1,40 @@
package net.mcreator.arisrandomadditions.recipes.brewing;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.common.brewing.IBrewingRecipe;
import net.minecraftforge.common.brewing.BrewingRecipeRegistry;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.ItemStack;
import net.mcreator.arisrandomadditions.init.ArisRandomAdditionsModItems;
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
public class CarbonatedWaterCanRecipeBrewingRecipe implements IBrewingRecipe {
@SubscribeEvent
public static void init(FMLCommonSetupEvent event) {
event.enqueueWork(() -> BrewingRecipeRegistry.addRecipe(new CarbonatedWaterCanRecipeBrewingRecipe()));
}
@Override
public boolean isInput(ItemStack input) {
return Ingredient.of(new ItemStack(ArisRandomAdditionsModItems.WATER_CAN.get())).test(input);
}
@Override
public boolean isIngredient(ItemStack ingredient) {
return Ingredient.of(new ItemStack(Items.GUNPOWDER)).test(ingredient);
}
@Override
public ItemStack getOutput(ItemStack input, ItemStack ingredient) {
if (isInput(input) && isIngredient(ingredient)) {
return new ItemStack(ArisRandomAdditionsModItems.CARBONATED_WATER_CAN.get());
}
return ItemStack.EMPTY;
}
}

View File

@@ -0,0 +1,39 @@
package net.mcreator.arisrandomadditions.recipes.brewing;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.common.brewing.IBrewingRecipe;
import net.minecraftforge.common.brewing.BrewingRecipeRegistry;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraft.world.item.ItemStack;
import net.mcreator.arisrandomadditions.init.ArisRandomAdditionsModItems;
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
public class MintSweetenedCarbonatedWaterCanRecipeBrewingRecipe implements IBrewingRecipe {
@SubscribeEvent
public static void init(FMLCommonSetupEvent event) {
event.enqueueWork(() -> BrewingRecipeRegistry.addRecipe(new MintSweetenedCarbonatedWaterCanRecipeBrewingRecipe()));
}
@Override
public boolean isInput(ItemStack input) {
return Ingredient.of(new ItemStack(ArisRandomAdditionsModItems.SWEETENED_CARBONATED_WATER_CAN.get())).test(input);
}
@Override
public boolean isIngredient(ItemStack ingredient) {
return Ingredient.of(new ItemStack(ArisRandomAdditionsModItems.MINT.get())).test(ingredient);
}
@Override
public ItemStack getOutput(ItemStack input, ItemStack ingredient) {
if (isInput(input) && isIngredient(ingredient)) {
return new ItemStack(ArisRandomAdditionsModItems.MINT_SWEETENED_CARBONATED_WATER_CAN.get());
}
return ItemStack.EMPTY;
}
}

View File

@@ -0,0 +1,39 @@
package net.mcreator.arisrandomadditions.recipes.brewing;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.common.brewing.IBrewingRecipe;
import net.minecraftforge.common.brewing.BrewingRecipeRegistry;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraft.world.item.ItemStack;
import net.mcreator.arisrandomadditions.init.ArisRandomAdditionsModItems;
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
public class OrangeSweetenedCarbonatedWaterCanRecipeBrewingRecipe implements IBrewingRecipe {
@SubscribeEvent
public static void init(FMLCommonSetupEvent event) {
event.enqueueWork(() -> BrewingRecipeRegistry.addRecipe(new OrangeSweetenedCarbonatedWaterCanRecipeBrewingRecipe()));
}
@Override
public boolean isInput(ItemStack input) {
return Ingredient.of(new ItemStack(ArisRandomAdditionsModItems.SWEETENED_CARBONATED_WATER_CAN.get())).test(input);
}
@Override
public boolean isIngredient(ItemStack ingredient) {
return Ingredient.of(new ItemStack(ArisRandomAdditionsModItems.ORANGE.get())).test(ingredient);
}
@Override
public ItemStack getOutput(ItemStack input, ItemStack ingredient) {
if (isInput(input) && isIngredient(ingredient)) {
return new ItemStack(ArisRandomAdditionsModItems.ORANGE_SWEETENED_CARBONATED_WATER_CAN.get());
}
return ItemStack.EMPTY;
}
}

View File

@@ -0,0 +1,40 @@
package net.mcreator.arisrandomadditions.recipes.brewing;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.common.brewing.IBrewingRecipe;
import net.minecraftforge.common.brewing.BrewingRecipeRegistry;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.ItemStack;
import net.mcreator.arisrandomadditions.init.ArisRandomAdditionsModItems;
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
public class SweetenedCarbonatedWaterCanRecipeBrewingRecipe implements IBrewingRecipe {
@SubscribeEvent
public static void init(FMLCommonSetupEvent event) {
event.enqueueWork(() -> BrewingRecipeRegistry.addRecipe(new SweetenedCarbonatedWaterCanRecipeBrewingRecipe()));
}
@Override
public boolean isInput(ItemStack input) {
return Ingredient.of(new ItemStack(ArisRandomAdditionsModItems.CARBONATED_WATER_CAN.get())).test(input);
}
@Override
public boolean isIngredient(ItemStack ingredient) {
return Ingredient.of(new ItemStack(Items.SUGAR)).test(ingredient);
}
@Override
public ItemStack getOutput(ItemStack input, ItemStack ingredient) {
if (isInput(input) && isIngredient(ingredient)) {
return new ItemStack(ArisRandomAdditionsModItems.SWEETENED_CARBONATED_WATER_CAN.get());
}
return ItemStack.EMPTY;
}
}

View File

@@ -80,9 +80,13 @@ public class BedrockifierGUIMenu extends AbstractContainerMenu implements Suppli
}
this.customSlots.put(0, this.addSlot(new SlotItemHandler(internal, 0, 16, 35) {
private final int slot = 0;
private int x = BedrockifierGUIMenu.this.x;
private int y = BedrockifierGUIMenu.this.y;
}));
this.customSlots.put(1, this.addSlot(new SlotItemHandler(internal, 1, 70, 35) {
private final int slot = 1;
private int x = BedrockifierGUIMenu.this.x;
private int y = BedrockifierGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {
@@ -91,6 +95,8 @@ public class BedrockifierGUIMenu extends AbstractContainerMenu implements Suppli
}));
this.customSlots.put(2, this.addSlot(new SlotItemHandler(internal, 2, 142, 35) {
private final int slot = 2;
private int x = BedrockifierGUIMenu.this.x;
private int y = BedrockifierGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {

View File

@@ -81,6 +81,8 @@ public class OreMinerGUIMenu extends AbstractContainerMenu implements Supplier<M
}
this.customSlots.put(0, this.addSlot(new SlotItemHandler(internal, 0, 31, 17) {
private final int slot = 0;
private int x = OreMinerGUIMenu.this.x;
private int y = OreMinerGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {
@@ -89,6 +91,8 @@ public class OreMinerGUIMenu extends AbstractContainerMenu implements Supplier<M
}));
this.customSlots.put(1, this.addSlot(new SlotItemHandler(internal, 1, 79, 17) {
private final int slot = 1;
private int x = OreMinerGUIMenu.this.x;
private int y = OreMinerGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {
@@ -97,6 +101,8 @@ public class OreMinerGUIMenu extends AbstractContainerMenu implements Supplier<M
}));
this.customSlots.put(2, this.addSlot(new SlotItemHandler(internal, 2, 97, 17) {
private final int slot = 2;
private int x = OreMinerGUIMenu.this.x;
private int y = OreMinerGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {
@@ -105,6 +111,8 @@ public class OreMinerGUIMenu extends AbstractContainerMenu implements Supplier<M
}));
this.customSlots.put(3, this.addSlot(new SlotItemHandler(internal, 3, 115, 17) {
private final int slot = 3;
private int x = OreMinerGUIMenu.this.x;
private int y = OreMinerGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {
@@ -113,6 +121,8 @@ public class OreMinerGUIMenu extends AbstractContainerMenu implements Supplier<M
}));
this.customSlots.put(4, this.addSlot(new SlotItemHandler(internal, 4, 133, 17) {
private final int slot = 4;
private int x = OreMinerGUIMenu.this.x;
private int y = OreMinerGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {
@@ -121,6 +131,8 @@ public class OreMinerGUIMenu extends AbstractContainerMenu implements Supplier<M
}));
this.customSlots.put(5, this.addSlot(new SlotItemHandler(internal, 5, 79, 35) {
private final int slot = 5;
private int x = OreMinerGUIMenu.this.x;
private int y = OreMinerGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {
@@ -129,6 +141,8 @@ public class OreMinerGUIMenu extends AbstractContainerMenu implements Supplier<M
}));
this.customSlots.put(6, this.addSlot(new SlotItemHandler(internal, 6, 97, 35) {
private final int slot = 6;
private int x = OreMinerGUIMenu.this.x;
private int y = OreMinerGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {
@@ -137,6 +151,8 @@ public class OreMinerGUIMenu extends AbstractContainerMenu implements Supplier<M
}));
this.customSlots.put(7, this.addSlot(new SlotItemHandler(internal, 7, 115, 35) {
private final int slot = 7;
private int x = OreMinerGUIMenu.this.x;
private int y = OreMinerGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {
@@ -145,6 +161,8 @@ public class OreMinerGUIMenu extends AbstractContainerMenu implements Supplier<M
}));
this.customSlots.put(8, this.addSlot(new SlotItemHandler(internal, 8, 133, 35) {
private final int slot = 8;
private int x = OreMinerGUIMenu.this.x;
private int y = OreMinerGUIMenu.this.y;
@Override
public boolean mayPlace(ItemStack stack) {

View File

@@ -4,7 +4,7 @@ license="MIT License"
[[mods]]
modId="aris_random_additions"
version="2.1.3"
version="2.2.0"
displayName="Ari's Random Additions"
displayURL="https://mcreator.net"
logoFile="logo.png"

View File

@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "aris_random_additions:block/brickier_magma_bricks"
}
}
}

View File

@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "aris_random_additions:block/mint_plant"
}
}
}

View File

@@ -0,0 +1,118 @@
{
"variants": {
"face=floor,facing=east,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"y": 90
},
"face=floor,facing=west,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"y": 270
},
"face=floor,facing=south,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"y": 180
},
"face=floor,facing=north,powered=false": {
"model": "aris_random_additions:block/orange_wood_button"
},
"face=wall,facing=east,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"uvlock": true,
"x": 90,
"y": 90
},
"face=wall,facing=west,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"uvlock": true,
"x": 90,
"y": 270
},
"face=wall,facing=south,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"uvlock": true,
"x": 90,
"y": 180
},
"face=wall,facing=north,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"uvlock": true,
"x": 90
},
"face=ceiling,facing=east,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"x": 180,
"y": 270
},
"face=ceiling,facing=west,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"x": 180,
"y": 90
},
"face=ceiling,facing=south,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"x": 180
},
"face=ceiling,facing=north,powered=false": {
"model": "aris_random_additions:block/orange_wood_button",
"x": 180,
"y": 180
},
"face=floor,facing=east,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"y": 90
},
"face=floor,facing=west,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"y": 270
},
"face=floor,facing=south,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"y": 180
},
"face=floor,facing=north,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed"
},
"face=wall,facing=east,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"uvlock": true,
"x": 90,
"y": 90
},
"face=wall,facing=west,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"uvlock": true,
"x": 90,
"y": 270
},
"face=wall,facing=south,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"uvlock": true,
"x": 90,
"y": 180
},
"face=wall,facing=north,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"uvlock": true,
"x": 90
},
"face=ceiling,facing=east,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"x": 180,
"y": 270
},
"face=ceiling,facing=west,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"x": 180,
"y": 90
},
"face=ceiling,facing=south,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"x": 180
},
"face=ceiling,facing=north,powered=true": {
"model": "aris_random_additions:block/orange_wood_button_pressed",
"x": 180,
"y": 180
}
}
}

View File

@@ -0,0 +1,48 @@
{
"multipart": [
{
"apply": {
"model": "aris_random_additions:block/orange_wood_fence_post"
}
},
{
"when": {
"north": "true"
},
"apply": {
"model": "aris_random_additions:block/orange_wood_fence",
"uvlock": true
}
},
{
"when": {
"south": "true"
},
"apply": {
"model": "aris_random_additions:block/orange_wood_fence",
"y": 180,
"uvlock": true
}
},
{
"when": {
"west": "true"
},
"apply": {
"model": "aris_random_additions:block/orange_wood_fence",
"y": 270,
"uvlock": true
}
},
{
"when": {
"east": "true"
},
"apply": {
"model": "aris_random_additions:block/orange_wood_fence",
"y": 90,
"uvlock": true
}
}
]
}

View File

@@ -0,0 +1,80 @@
{
"variants": {
"facing=south,in_wall=false,open=false": {
"model": "aris_random_additions:block/orange_wood_fence_gate",
"uvlock": true
},
"facing=west,in_wall=false,open=false": {
"model": "aris_random_additions:block/orange_wood_fence_gate",
"uvlock": true,
"y": 90
},
"facing=north,in_wall=false,open=false": {
"model": "aris_random_additions:block/orange_wood_fence_gate",
"uvlock": true,
"y": 180
},
"facing=east,in_wall=false,open=false": {
"model": "aris_random_additions:block/orange_wood_fence_gate",
"uvlock": true,
"y": 270
},
"facing=south,in_wall=false,open=true": {
"model": "aris_random_additions:block/orange_wood_fence_gate_open",
"uvlock": true
},
"facing=west,in_wall=false,open=true": {
"model": "aris_random_additions:block/orange_wood_fence_gate_open",
"uvlock": true,
"y": 90
},
"facing=north,in_wall=false,open=true": {
"model": "aris_random_additions:block/orange_wood_fence_gate_open",
"uvlock": true,
"y": 180
},
"facing=east,in_wall=false,open=true": {
"model": "aris_random_additions:block/orange_wood_fence_gate_open",
"uvlock": true,
"y": 270
},
"facing=south,in_wall=true,open=false": {
"model": "aris_random_additions:block/orange_wood_fence_gate_wall",
"uvlock": true
},
"facing=west,in_wall=true,open=false": {
"model": "aris_random_additions:block/orange_wood_fence_gate_wall",
"uvlock": true,
"y": 90
},
"facing=north,in_wall=true,open=false": {
"model": "aris_random_additions:block/orange_wood_fence_gate_wall",
"uvlock": true,
"y": 180
},
"facing=east,in_wall=true,open=false": {
"model": "aris_random_additions:block/orange_wood_fence_gate_wall",
"uvlock": true,
"y": 270
},
"facing=south,in_wall=true,open=true": {
"model": "aris_random_additions:block/orange_wood_fence_gate_wall_open",
"uvlock": true
},
"facing=west,in_wall=true,open=true": {
"model": "aris_random_additions:block/orange_wood_fence_gate_wall_open",
"uvlock": true,
"y": 90
},
"facing=north,in_wall=true,open=true": {
"model": "aris_random_additions:block/orange_wood_fence_gate_wall_open",
"uvlock": true,
"y": 180
},
"facing=east,in_wall=true,open=true": {
"model": "aris_random_additions:block/orange_wood_fence_gate_wall_open",
"uvlock": true,
"y": 270
}
}
}

View File

@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "aris_random_additions:block/orange_wood_leaves"
}
}
}

View File

@@ -0,0 +1,16 @@
{
"variants": {
"axis=x": {
"model": "aris_random_additions:block/orange_wood_log",
"x": 90,
"y": 90
},
"axis=y": {
"model": "aris_random_additions:block/orange_wood_log"
},
"axis=z": {
"model": "aris_random_additions:block/orange_wood_log",
"x": 90
}
}
}

View File

@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "aris_random_additions:block/orange_wood_planks"
}
}
}

View File

@@ -0,0 +1,10 @@
{
"variants": {
"powered=false": {
"model": "aris_random_additions:block/orange_wood_pressure_plate"
},
"powered=true": {
"model": "aris_random_additions:block/orange_wood_pressure_plate_down"
}
}
}

View File

@@ -0,0 +1,13 @@
{
"variants": {
"type=bottom": {
"model": "aris_random_additions:block/orange_wood_slab"
},
"type=top": {
"model": "aris_random_additions:block/orange_wood_slab_top"
},
"type=double": {
"model": "aris_random_additions:block/orange_wood_slab_full"
}
}
}

View File

@@ -0,0 +1,209 @@
{
"variants": {
"facing=east,half=bottom,shape=straight": {
"model": "aris_random_additions:block/orange_wood_stairs"
},
"facing=west,half=bottom,shape=straight": {
"model": "aris_random_additions:block/orange_wood_stairs",
"y": 180,
"uvlock": true
},
"facing=south,half=bottom,shape=straight": {
"model": "aris_random_additions:block/orange_wood_stairs",
"y": 90,
"uvlock": true
},
"facing=north,half=bottom,shape=straight": {
"model": "aris_random_additions:block/orange_wood_stairs",
"y": 270,
"uvlock": true
},
"facing=east,half=bottom,shape=inner_right": {
"model": "aris_random_additions:block/orange_wood_stairs_inner"
},
"facing=west,half=bottom,shape=inner_right": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"y": 180,
"uvlock": true
},
"facing=south,half=bottom,shape=inner_right": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"y": 90,
"uvlock": true
},
"facing=north,half=bottom,shape=inner_right": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"y": 270,
"uvlock": true
},
"facing=east,half=bottom,shape=inner_left": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"y": 270,
"uvlock": true
},
"facing=west,half=bottom,shape=inner_left": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"y": 90,
"uvlock": true
},
"facing=south,half=bottom,shape=inner_left": {
"model": "aris_random_additions:block/orange_wood_stairs_inner"
},
"facing=north,half=bottom,shape=inner_left": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"y": 180,
"uvlock": true
},
"facing=east,half=top,shape=straight": {
"model": "aris_random_additions:block/orange_wood_stairs",
"x": 180,
"uvlock": true
},
"facing=west,half=top,shape=straight": {
"model": "aris_random_additions:block/orange_wood_stairs",
"x": 180,
"y": 180,
"uvlock": true
},
"facing=south,half=top,shape=straight": {
"model": "aris_random_additions:block/orange_wood_stairs",
"x": 180,
"y": 90,
"uvlock": true
},
"facing=north,half=top,shape=straight": {
"model": "aris_random_additions:block/orange_wood_stairs",
"x": 180,
"y": 270,
"uvlock": true
},
"facing=east,half=top,shape=outer_right": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"x": 180,
"y": 90,
"uvlock": true
},
"facing=west,half=top,shape=outer_right": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"x": 180,
"y": 270,
"uvlock": true
},
"facing=south,half=top,shape=outer_right": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"x": 180,
"y": 180,
"uvlock": true
},
"facing=north,half=top,shape=outer_right": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"x": 180,
"uvlock": true
},
"facing=east,half=top,shape=outer_left": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"x": 180,
"uvlock": true
},
"facing=west,half=top,shape=outer_left": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"x": 180,
"y": 180,
"uvlock": true
},
"facing=south,half=top,shape=outer_left": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"x": 180,
"y": 90,
"uvlock": true
},
"facing=north,half=top,shape=outer_left": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"x": 180,
"y": 270,
"uvlock": true
},
"facing=east,half=top,shape=inner_right": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"x": 180,
"y": 90,
"uvlock": true
},
"facing=west,half=top,shape=inner_right": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"x": 180,
"y": 270,
"uvlock": true
},
"facing=south,half=top,shape=inner_right": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"x": 180,
"y": 180,
"uvlock": true
},
"facing=north,half=top,shape=inner_right": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"x": 180,
"uvlock": true
},
"facing=east,half=top,shape=inner_left": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"x": 180,
"uvlock": true
},
"facing=west,half=top,shape=inner_left": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"x": 180,
"y": 180,
"uvlock": true
},
"facing=south,half=top,shape=inner_left": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"x": 180,
"y": 90,
"uvlock": true
},
"facing=north,half=top,shape=inner_left": {
"model": "aris_random_additions:block/orange_wood_stairs_inner",
"x": 180,
"y": 270,
"uvlock": true
},
"facing=east,half=bottom,shape=outer_right": {
"model": "aris_random_additions:block/orange_wood_stairs_outer"
},
"facing=west,half=bottom,shape=outer_right": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"y": 180,
"uvlock": true
},
"facing=south,half=bottom,shape=outer_right": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"y": 90,
"uvlock": true
},
"facing=north,half=bottom,shape=outer_right": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"y": 270,
"uvlock": true
},
"facing=east,half=bottom,shape=outer_left": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"y": 270,
"uvlock": true
},
"facing=west,half=bottom,shape=outer_left": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"y": 90,
"uvlock": true
},
"facing=south,half=bottom,shape=outer_left": {
"model": "aris_random_additions:block/orange_wood_stairs_outer"
},
"facing=north,half=bottom,shape=outer_left": {
"model": "aris_random_additions:block/orange_wood_stairs_outer",
"y": 180,
"uvlock": true
}
}
}

View File

@@ -0,0 +1,16 @@
{
"variants": {
"axis=x": {
"model": "aris_random_additions:block/orange_wood_wood",
"x": 90,
"y": 90
},
"axis=y": {
"model": "aris_random_additions:block/orange_wood_wood"
},
"axis=z": {
"model": "aris_random_additions:block/orange_wood_wood",
"x": 90
}
}
}

View File

@@ -0,0 +1,19 @@
{
"variants": {
"facing=north": {
"model": "aris_random_additions:block/soda_machine"
},
"facing=east": {
"model": "aris_random_additions:block/soda_machine",
"y": 90
},
"facing=south": {
"model": "aris_random_additions:block/soda_machine",
"y": 180
},
"facing=west": {
"model": "aris_random_additions:block/soda_machine",
"y": 270
}
}
}

View File

@@ -7,6 +7,7 @@
"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.soda_machine": "Soda Machine",
"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",
@@ -18,10 +19,11 @@
"block.nims_random_bullshit.orichalcum_block": "Block of Orichalcum",
"block.nims_random_bullshit.rubber_slab": "Rubber Slab",
"item.nims_random_bullshit.bedrock_upgrade_template": "Bedrock Upgrade Template",
"block.aris_random_additions.magma_brick_pressure_plate": "Magma Brick Pressure Plate",
"block.aris_random_additions.magma_brick_pressure_plate": "Beans and Cheese Pressure Plate",
"advancements.orichalcum_set_advancement.descr": "Wear a full armor set of Orichalcum.",
"block.nims_random_bullshit.orichalcum_ore": "Orichalcum Ore",
"block.aris_random_additions.condensed_condensed_netherrack": "Condensed Condensed Netherrack",
"advancements.orange_sweetened_carbonated_water_can_advancement.descr": "Drink an Orange Soda",
"item.aris_random_additions.endite_pickaxe": "Endite Pickaxe",
"advancements.endite_scythe_advancement.title": "Endbringer\u0027s Sharpest Tool",
"painting.aris_random_additions.turd_painting.author": "Ari/nim",
@@ -37,18 +39,23 @@
"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",
"item.aris_random_additions.orange_sweetened_carbonated_water_can": "Canned Orange Soda",
"gui.nims_random_bullshit.mailbox_gui.outbox_y_coord": "0",
"item.aris_random_additions.power_star": "Power Star",
"advancements.bedrock_eater_advancement.title": "Somehow, Being Made Of Bedrock Makes It More Replinishing. Yeah. I don\u0027t know.",
"enchantment.nims_random_bullshit.ruining_enchantment": "Ruining",
"advancements.endite_advancement.descr": "Obtain Endite",
"block.nims_random_bullshit.condensed_condensed_netherrack": "Condensed Condensed Netherrack",
"advancements.netherrack_juice_advancement.descr": "Obtain Netherrack Juice",
"block.nims_random_bullshit.condensed_condensed_netherrack": "Condensed Condensed Netherrack",
"block.nims_random_bullshit.quadra_condensed_netherrack": "Quadra-condensed Netherrack",
"block.aris_random_additions.orange_wood_wood": "OrangeWood Wood",
"advancements.orichalcum_katana_advancement.descr": "Obtain an Orichalcum Katana",
"gui.nims_random_bullshit.bedrockifier_gui.button_empty": "-\u003e",
"block.nims_random_bullshit.hexa_condensed_netherrack": "Hexa-condensed Netherrack",
"enchantment.nims_random_bullshit.sundering_enchantment": "Sundering",
"block.aris_random_additions.magma_brick_slabs": "Magma Brick Slab",
"block.aris_random_additions.magma_brick_slabs": "Beans and Cheese Slab",
"item.aris_random_additions.gold_token": "Gold Token",
"advancements.orichalcum_apple_advancement.descr": "Eat an Orichalcum Apple",
"item.nims_random_bullshit.sand_dust": "Sand Dust",
"item.aris_random_additions.endite_sword": "Endite Sword",
"item.nims_random_bullshit.magic_flesh": "Magic Flesh",
@@ -57,29 +64,37 @@
"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",
"advancements.soda_machine_advancement.descr": "Feed a Gold Token to a Soda Machine",
"item.nims_random_bullshit.pocket_lightning.description_0": "Spawns lightning wherever it lands.",
"advancements.turd_advancement.title": "Crap!",
"item.aris_random_additions.orichalcum_armor_chestplate": "Orichalcum Chestplate",
"item.nims_random_bullshit.bedrock_eater": "Bedrock Eater",
"item.aris_random_additions.orichalcum_armor_helmet.description_0": "Set Bonus: Speed, Jump Boost",
"item.aris_random_additions.socket": "Socket",
"block.nims_random_bullshit.rubber_pressure_plate": "Rubber Pressure Plate",
"block.aris_random_additions.redstone_brick_walls": "Redstone Brick Wall",
"item.nims_random_bullshit.orichalcum_armor_leggings": "Orichalcum Leggings",
"block.nims_random_bullshit.condensed_netherrack": "Condensed Netherrack",
"block.aris_random_additions.magma_brick_stairs": "Magma Brick Stairs",
"block.aris_random_additions.magma_brick_stairs": "Beans and Cheese 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",
"item.aris_random_additions.water_can": "Canned Water",
"block.aris_random_additions.redstone_brick_stairs": "Redstone Brick Stairs",
"item.aris_random_additions.orichalcum_shovel": "Orichalcum Shovel",
"item.nims_random_bullshit.star_wand": "Star Wand",
"item.nims_random_bullshit.orichalcum_axe": "Orichalcum Axe",
"enchantment.nims_random_bullshit.passive_income_enchantment": "Passive Income",
"block.aris_random_additions.magma_brick_button": "Magma Brick Button",
"block.aris_random_additions.magma_brick_button": "Beans and Cheese Button",
"item.aris_random_additions.can_lid": "Can Lid",
"block.aris_random_additions.orange_wood_log": "OrangeWood Log",
"item.aris_random_additions.bean": "Bean",
"block.aris_random_additions.orange_wood_fence_gate": "OrangeWood Fence Gate",
"item.aris_random_additions.mint_leaves": "Mint Leaves",
"block.nims_random_bullshit.broken_glass": "Broken Glass",
"block.nims_random_bullshit.redstone_brick_walls": "Redstone Brick Wall",
"item.aris_random_additions.tux_spawn_egg": "Tux Spawn Egg",
"block.aris_random_additions.orange_wood_planks": "OrangeWood Planks",
"advancements.grave_digger_advancement.descr": "Obtain Gravedigger",
"effect.nims_random_bullshit.summoned_entity_effect": "Summoned Entity",
"item.aris_random_additions.netherrackite": "Netherrackite Ingot",
@@ -93,15 +108,17 @@
"gui.nims_random_bullshit.mailbox_gui.label_x": "X:",
"item.nims_random_bullshit.orichalcum_armor_helmet": "Orichalcum Helmet",
"death.attack.bleed_damage_type.item": "%1$s was bled to death by %2$s using %3$s",
"block.aris_random_additions.magma_bricks": "Magma Bricks",
"block.aris_random_additions.magma_bricks": "Beans and Cheese Block",
"item.aris_random_additions.endite_axe": "Endite Axe",
"block.aris_random_additions.brickier_magma_bricks": "Beans and Cheese Bricks",
"advancements.void_apple_advancement.descr": "Eat a Void Apple",
"item.nims_random_bullshit.snow_golem_question_mark": "Snow Golem...?",
"item.aris_random_additions.gravedigger.description_0": "Right-Click on soul sand or soul soil to use them, summoning a ghoul that attacks hostile mobs.",
"advancements.bedrock_advancement.descr": "Obtain Bedrock",
"item.aris_random_additions.gravedigger.description_1": "We must dig!",
"item.nims_random_bullshit.orichalcum_shovel": "Orichalcum Shovel",
"block.nims_random_bullshit.redstone_brick_stairs": "Redstone Brick Stairs",
"block.aris_random_additions.magma_brick_walls": "Magma Brick Wall",
"block.aris_random_additions.magma_brick_walls": "Beans and Cheese Wall",
"item.nims_random_bullshit.cheese": "Cheese",
"item.aris_random_additions.snow_golem_question_mark": "Snow Golem...?",
"item.nims_random_bullshit.netherrackite": "Netherrackite Ingot",
@@ -112,15 +129,21 @@
"item.aris_random_additions.netherrackite_pickaxe": "Netherrackite Pickaxe",
"item.aris_random_additions.netherrack_juice_bucket": "Netherrack Juice Bucket",
"item.nims_random_bullshit.netherrackite_pickaxe.description_0": "Non-condensed netherracks broken by this pickaxe drop themselves an additional time.",
"advancements.sweetened_carbonated_water_can_advancement.descr": "Drink a Canned Soda",
"effect.nims_random_bullshit.stinky_effect": "Stinky",
"death.attack.bleed_damage_type": "%1$s bled to death",
"advancements.mint_sweetened_carbonated_water_can_advancement.descr": "Drink a Mint Soda",
"advancements.tux_advancement.descr": "Obtain a Tux Spawn Egg",
"item.aris_random_additions.gravedigger": "Gravedigger",
"block.aris_random_additions.orange_wood_pressure_plate": "OrangeWood Pressure Plate",
"item.aris_random_additions.orichalcum": "Orichalcum",
"block.nims_random_bullshit.ore_miner": "Ore Miner",
"advancements.star_wand_advancement.descr": "Use a Star Wand",
"item.aris_random_additions.netherrackite_pickaxe.description_0": "Non-condensed netherracks broken by this pickaxe drop themselves an additional time.",
"advancements.end_portal_frame_advancement.descr": "Craft an End Portal Frame",
"advancements.endite_set_advancement.descr": "Wear a full armor set of Endite.",
"item.aris_random_additions.mint_sweetened_carbonated_water_can": "Canned Mint Soda",
"advancements.welcome_advancement.title": "Arira!",
"block.nims_random_bullshit.condensed_condensed_condensed_netherrack": "Condensed Condensed Condensed Netherrack",
"item.aris_random_additions.magic_egg": "Magic Egg",
"entity.nims_random_bullshit.ghoul": "Ghoul",
@@ -131,8 +154,11 @@
"item.nims_random_bullshit.bedrock_pickaxe": "Bedrock Pickaxe",
"item.aris_random_additions.endite_armor_chestplate.description_0": "Set Bonus: Resistance, Regeneration, Strength",
"block.nims_random_bullshit.magma_brick_stairs": "Magma Brick Stairs",
"gui.aris_random_additions.bedrockifier_gui.button_empty": "-\u003e",
"advancements.bedrock_apple_advancement.descr": "Eat a Bedrock Apple",
"advancements.bedrock_shard_advancement.descr": "Obtain Bedrock Shard",
"block.aris_random_additions.quadra_condensed_netherrack": "Quadra-condensed Netherrack",
"block.aris_random_additions.orange_wood_slab": "OrangeWood Slab",
"item.aris_random_additions.orichalcum_katana": "Orichalcum Katana",
"item.aris_random_additions.orichalcum_armor_boots": "Orichalcum Heels",
"item.aris_random_additions.endite_upgrade_smithing_template": "Endite Upgrade Template",
@@ -141,44 +167,57 @@
"advancements.spawner_advancement.title": "It\u0027s spawnin\u0027 time!",
"item.nims_random_bullshit.bedrock_shard": "Bedrock Shard",
"item.aris_random_additions.orichalcum_armor_leggings": "Orichalcum Leggings",
"item.aris_random_additions.orange": "Orange",
"item.aris_random_additions.iron_golem_question_mark": "Iron Golem...?",
"advancements.soda_machine_refused_advancement.title": "Attempted Soda Robbery",
"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",
"advancements.void_star_advancement.descr": "Craft a Void Star",
"item.aris_random_additions.orichalcum_armor_helmet": "Orichalcum Helmet",
"enchantment.aris_random_additions.ruining_enchantment": "Ruining",
"block.aris_random_additions.ore_miner": "Ore Miner",
"block.aris_random_additions.condensed_netherrack": "Condensed Netherrack",
"item.aris_random_additions.orichalcum_katana.description_0": "Right-Click: empower the blade, making your next attack cause bleeding DoT effect to the target for a duration.",
"item.aris_random_additions.empty_can": "Empty Can",
"block.nims_random_bullshit.redstone_bricks": "Redstone Bricks",
"item.nims_random_bullshit.iron_golem_question_mark": "Iron Golem...?",
"item.aris_random_additions.golden_berries": "Golden Berries",
"item.nims_random_bullshit.lapis_lazuli_nugget": "Lapis Lazuli Nugget",
"block.aris_random_additions.orange_wood_leaves": "OrangeWood Leaves",
"item.aris_random_additions.star": "Star",
"item.nims_random_bullshit.bedrock_sword": "Bedrock Sword",
"item.aris_random_additions.sweetened_carbonated_water_can": "Canned Soda",
"item.nims_random_bullshit.wither_question_mark": "Wither...?",
"advancements.block_eater_advancement.descr": "Eat a block with the Block Eater",
"advancements.tux_advancement.title": "Tux!?",
"item.nims_random_bullshit.gravedigger": "Gravedigger",
"item.aris_random_additions.pocket_lightning": "Pocket Lightning",
"advancements.sweetened_carbonated_water_can_advancement.title": "Now That\u0027s The Good Stuff!",
"item.aris_random_additions.night_vision_goggles_helmet": "Night Vision Goggles",
"advancements.orichalcum_katana_advancement.title": "As Fierce As The Color",
"item.aris_random_additions.cheese": "Cheese",
"item.aris_random_additions.orichalcum_sword": "Orichalcum Sword",
"advancements.end_portal_frame_advancement.title": "You Shouldn\u0027t Have This...",
"item.aris_random_additions.wand_of_resizing.description_0": "DISCLAIMER: Does not work with Origins that periodically reset your scale!",
"advancements.endite_scythe_advancement.descr": "Craft an Endite Scythe",
"item.aris_random_additions.block_eater": "Block Eater",
"entity.nims_random_bullshit.tux": "Tux",
"item.aris_random_additions.orichalcum_pickaxe": "Orichalcum Pickaxe",
"block.nims_random_bullshit.bedrockifier": "Bedrockifier",
"advancements.orichalcum_apple_advancement.title": "Feelin\u0027 Cutesy And Furious",
"effect.aris_random_additions.summoned_entity_effect": "Summoned Entity",
"item.nims_random_bullshit.orichalcum": "Orichalcum",
"item.aris_random_additions.orichalcum_armor_leggings.description_0": "Set Bonus: Speed, Jump Boost",
"block.aris_random_additions.orange_wood_fence": "OrangeWood Fence",
"advancements.magic_egg_advancement.descr": "Obtain a Magic Egg",
"advancements.orange_sweetened_carbonated_water_can_advancement.title": "A Fantastic Beverage!",
"item.aris_random_additions.orichalcum_apple.description_0": "When consumed: Grants 1 permanent bonus attack damage.",
"block.aris_random_additions.mint_plant": "Mint Plant",
"advancements.endite_advancement.title": "Purple Butter",
"advancements.bedrock_eater_advancement.descr": "Eat a block with the Bedrock Eater",
"entity.aris_random_additions.ari": "Ari",
"item.nims_random_bullshit.night_vision_goggles_helmet": "Night Vision Goggles",
"advancements.power_star_advancement.descr": "Craft a Power Star",
@@ -203,10 +242,16 @@
"item.aris_random_additions.black_iron_ingot": "Black Iron Ingot",
"item.aris_random_additions.endite_armor_helmet": "Endite Helmet",
"advancements.endite_hoe_advancement.title": "Extremely Serious Dedication",
"advancements.void_star_advancement.title": "A Star Not Meant To Be",
"block.nims_random_bullshit.magma_brick_walls": "Magma Brick Wall",
"block.nims_random_bullshit.rave_block": "Rave Block",
"advancements.bedrock_apple_advancement.title": "Need A Dentist Appointment After This",
"advancements.mint_sweetened_carbonated_water_can_advancement.title": "Now That\u0027s The Good Stuff! - Minty Edition",
"item.nims_random_bullshit.orichalcum_sword": "Orichalcum Sword",
"item.aris_random_additions.carbonated_water_can": "Canned Sparkling Water",
"item.aris_random_additions.wand_of_resizing": "Wand Of Resizing",
"advancements.welcome_advancement.descr": "Play on a world with Ari\u0027s Random Additions installed for the first time",
"advancements.soda_machine_refused_advancement.descr": "You tried to get a Canned Soda for free, and FAILED. AHAHAHA!",
"block.aris_random_additions.condensed_condensed_condensed_netherrack": "Condensed Condensed Condensed Netherrack",
"advancements.star_wand_advancement.title": "Healius Absorbus!",
"advancements.magic_egg_advancement.title": "Core of a Spawner",
@@ -220,6 +265,7 @@
"advancements.endite_set_advancement.title": "Cover Me In Endermite",
"advancements.bedrock_shard_advancement.title": "Unobtainium",
"item.aris_random_additions.endite_armor_boots.description_0": "Set Bonus: Resistance, Regeneration, Strength",
"advancements.soda_machine_advancement.title": "It Doesn\u0027t Even Need To Be Restocked! It Just Dispenses Soda Out Of Thin Air!",
"fluid.nims_random_bullshit.netherrack_juice": "Netherrack Juice",
"item.nims_random_bullshit.wand_of_resizing.description_0": "DISCLAIMER: Does not work with Origins that periodically reset your scale!",
"gui.nims_random_bullshit.mailbox_gui.outbox_z_coord": "0",
@@ -229,6 +275,7 @@
"item.aris_random_additions.pocket_lightning.description_0": "Spawns lightning wherever it lands.",
"item.nims_random_bullshit.netherrackite_pickaxe": "Netherrackite Pickaxe",
"item.aris_random_additions.endite_armor_helmet.description_0": "Set Bonus: Resistance, Regeneration, Strength",
"block.aris_random_additions.orange_wood_stairs": "OrangeWood Stairs",
"gui.aris_random_additions.bedrockifier_gui.label_bedrockifier": "Bedrockifier",
"block.aris_random_additions.penta_condensed_netherrack": "Penta-condensed Netherrack",
"item.nims_random_bullshit.orichalcum_hoe": "Orichalcum Hoe",
@@ -237,10 +284,13 @@
"block.nims_random_bullshit.netherrack_juice": "Netherrack Juice",
"fluid.aris_random_additions.netherrack_juice": "Netherrack Juice",
"block.nims_random_bullshit.rubber_button": "Rubber Button",
"item.aris_random_additions.mint": "mint",
"block.aris_random_additions.orange_wood_button": "OrangeWood Button",
"item.nims_random_bullshit.magic_egg": "Magic Egg",
"block.aris_random_additions.redstone_bricks": "Redstone Bricks",
"item.nims_random_bullshit.block_eater": "Block Eater",
"item.aris_random_additions.lapis_lazuli_nugget": "Lapis Lazuli Nugget",
"advancements.void_apple_advancement.title": "It Certainly Is DeVOID Of Taste",
"item.aris_random_additions.endite_armor_leggings": "Endite Leggings",
"advancements.bedrock_advancement.title": "Unobtainium Block",
"item.nims_random_bullshit.star": "Star",

View File

@@ -0,0 +1,13 @@
{
"parent": "block/cube",
"textures": {
"down": "aris_random_additions:block/magma_bricks",
"up": "aris_random_additions:block/magma_bricks",
"north": "aris_random_additions:block/magma_bricks",
"east": "aris_random_additions:block/magma_bricks",
"south": "aris_random_additions:block/magma_bricks",
"west": "aris_random_additions:block/magma_bricks",
"particle": "aris_random_additions:block/magma_bricks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/cross",
"textures": {
"cross": "aris_random_additions:block/mint_plant",
"particle": "aris_random_additions:block/mint_plant"
},
"render_type": "cutout"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/button",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"texture": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/button_inventory",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"texture": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/button_pressed",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"texture": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/fence_side",
"textures": {
"texture": "aris_random_additions:block/orangewood_planks",
"particle": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/template_fence_gate",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"texture": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/template_fence_gate_open",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"texture": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/template_fence_gate_wall",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"texture": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/template_fence_gate_wall_open",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"texture": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/fence_inventory",
"textures": {
"texture": "aris_random_additions:block/orangewood_planks",
"particle": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/fence_post",
"textures": {
"texture": "aris_random_additions:block/orangewood_planks",
"particle": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,7 @@
{
"parent": "block/cube_all",
"textures": {
"all": "aris_random_additions:block/orangewood_leaves",
"particle": "aris_random_additions:block/orangewood_leaves"
}
}

View File

@@ -0,0 +1,13 @@
{
"parent": "block/cube",
"textures": {
"down": "aris_random_additions:block/orangewood_log_top",
"up": "aris_random_additions:block/orangewood_log_top",
"north": "aris_random_additions:block/orangewood_log_side",
"east": "aris_random_additions:block/orangewood_log_side",
"south": "aris_random_additions:block/orangewood_log_side",
"west": "aris_random_additions:block/orangewood_log_side",
"particle": "aris_random_additions:block/orangewood_log_top"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/cube_all",
"textures": {
"all": "aris_random_additions:block/orangewood_planks",
"particle": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/pressure_plate_up",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"texture": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/pressure_plate_down",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"texture": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,10 @@
{
"parent": "block/slab",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"bottom": "aris_random_additions:block/orangewood_planks",
"top": "aris_random_additions:block/orangewood_planks",
"side": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,10 @@
{
"parent": "block/cube_bottom_top",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"bottom": "aris_random_additions:block/orangewood_planks",
"top": "aris_random_additions:block/orangewood_planks",
"side": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,10 @@
{
"parent": "block/slab_top",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"bottom": "aris_random_additions:block/orangewood_planks",
"top": "aris_random_additions:block/orangewood_planks",
"side": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,10 @@
{
"parent": "block/stairs",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"bottom": "aris_random_additions:block/orangewood_planks",
"top": "aris_random_additions:block/orangewood_planks",
"side": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,10 @@
{
"parent": "block/inner_stairs",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"bottom": "aris_random_additions:block/orangewood_planks",
"top": "aris_random_additions:block/orangewood_planks",
"side": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,10 @@
{
"parent": "block/outer_stairs",
"textures": {
"particle": "aris_random_additions:block/orangewood_planks",
"bottom": "aris_random_additions:block/orangewood_planks",
"top": "aris_random_additions:block/orangewood_planks",
"side": "aris_random_additions:block/orangewood_planks"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,8 @@
{
"parent": "block/cube_all",
"textures": {
"all": "aris_random_additions:block/orangewood_log_side",
"particle": "aris_random_additions:block/orangewood_log_side"
},
"render_type": "solid"
}

View File

@@ -0,0 +1,13 @@
{
"parent": "block/cube",
"textures": {
"down": "aris_random_additions:block/soda_machine_base",
"up": "aris_random_additions:block/soda_machine_base",
"north": "aris_random_additions:block/soda_machine_front",
"east": "aris_random_additions:block/soda_machine_base",
"south": "aris_random_additions:block/soda_machine_base",
"west": "aris_random_additions:block/soda_machine_base",
"particle": "aris_random_additions:block/soda_machine_base"
},
"render_type": "solid"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

View File

@@ -0,0 +1,30 @@
{
"display": {
"icon": {
"item": "aris_random_additions:bedrock_apple"
},
"title": {
"translate": "advancements.bedrock_apple_advancement.title"
},
"description": {
"translate": "advancements.bedrock_apple_advancement.descr"
},
"frame": "challenge",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"bedrock_apple_advancement_0": {
"trigger": "minecraft:consume_item",
"conditions": {
"item": {
"items": [
"aris_random_additions:bedrock_apple"
]
}
}
}
},
"parent": "aris_random_additions:bedrock_advancement"
}

View File

@@ -0,0 +1,23 @@
{
"display": {
"icon": {
"item": "aris_random_additions:bedrock_eater"
},
"title": {
"translate": "advancements.bedrock_eater_advancement.title"
},
"description": {
"translate": "advancements.bedrock_eater_advancement.descr"
},
"frame": "challenge",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"bedrock_eater_advancement_0": {
"trigger": "minecraft:impossible"
}
},
"parent": "aris_random_additions:block_eater_advancement"
}

View File

@@ -1,6 +1,5 @@
{
"display": {
"background": "minecraft:textures/block/stone.png",
"icon": {
"item": "aris_random_additions:bedrock_shard"
},
@@ -32,5 +31,6 @@
]
}
}
}
},
"parent": "aris_random_additions:welcome_advancement"
}

View File

@@ -1,6 +1,5 @@
{
"display": {
"background": "minecraft:textures/block/stone.png",
"icon": {
"item": "aris_random_additions:block_eater"
},
@@ -19,5 +18,6 @@
"block_eater_advancement_0": {
"trigger": "minecraft:impossible"
}
}
},
"parent": "aris_random_additions:welcome_advancement"
}

View File

@@ -1,6 +1,5 @@
{
"display": {
"background": "minecraft:textures/block/stone.png",
"icon": {
"item": "aris_random_additions:condensed_netherrack"
},
@@ -32,5 +31,6 @@
]
}
}
}
},
"parent": "aris_random_additions:welcome_advancement"
}

View File

@@ -0,0 +1,36 @@
{
"display": {
"icon": {
"item": "minecraft:end_portal_frame"
},
"title": {
"translate": "advancements.end_portal_frame_advancement.title"
},
"description": {
"translate": "advancements.end_portal_frame_advancement.descr"
},
"frame": "challenge",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"end_portal_frame_advancement_0": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"minecraft:end_portal_frame"
],
"count": {
"min": 1,
"max": 64
}
}
]
}
}
},
"parent": "aris_random_additions:void_star_advancement"
}

View File

@@ -1,6 +1,5 @@
{
"display": {
"background": "minecraft:textures/block/stone.png",
"icon": {
"item": "aris_random_additions:endite_ingot"
},
@@ -32,5 +31,6 @@
]
}
}
}
},
"parent": "aris_random_additions:welcome_advancement"
}

Some files were not shown because too many files have changed in this diff Show More