Project Document: Google Doc Link
A Minecraft Mod developed in Java for the Java Final Project.
LavenderBiome is a custom mod built for Minecraft 1.21.10 using the Fabric Loader. This mod was created as part of a final project for our Java course, demonstrating object-oriented programming, design patterns, teamwork, and Java principles in a game development context.
Key Features:
- New Biome: The Lavender Biome, featuring custom generation and purple/pink sheep variants.
- Custom Items: Lavendrite Ingot, Lavender Latte (consumable giving Haste), and the Crosspick (a tool that mines a 5 block area in a + sign formation).
- New Blocks: Lavenderwood tree set (logs, planks, leaves) and Lavendrite Ore.
- Localization: Localization into English, French, and Spanish.
To install this project, please ensure you have:
- IntelliJ IDEA installed.
- Java Development Kit (JDK) 21 installed.
- Git installed on your computer.
Please follow these exact steps to download and run the project.
- Open your command prompt (Windows) or Terminal (Mac/Linux).
- Type the following command to go to your Desktop and press Enter:
cd Desktop - Type this command to download the project and press Enter:
git clone https://github.com/JavaProjects25/LavenderBiome-MinecraftMod.git
- You should now see a folder named
LavenderBiome-MinecraftModon your Desktop.
- Launch IntelliJ IDEA.
- Click Open (top center)
- Navigate to your Desktop, select the
LavenderBiome-MinecraftModfolder, and click Select Folder (bottom right). - Check **Add IDE and 'LavenderBiome-Min...' folders to the Microsoft Defender exclusions list.
- Click Trust Project
- Click Allow if an elevator.exe prompt shows up.
- Wait a moment. IntelliJ will start scanning the files (you will see a progress bar at the bottom right). Let it finish completely.
- Look for the Gradle tab on the very right-hand side of the IntelliJ window (it has an elephant icon) and click it.
- Open the folder list: LavenderBiome -> Tasks -> fabric.
- Find the task named
genSourcesand double-click it. - Wait for it to finish. This downloads the Minecraft source code so the mod works correctly. This may take a while.
- In that same Gradle list (Tasks -> fabric), find the task named
runClient. - Double-click it.
- The Minecraft game window will pop up.
- Click Singleplayer.
- Click Game Mode: Survival twice until it toggles to say Game Mode: Creative.
- Click Create New World (bottom left).
- Wait for the world to load.
- Once in the game, press E to open your inventory.
- Click the arrow
>on the top right of the menu to go to the second page and find the Lavender Biome tab to see our items! - Press ESC to close the inventory menu.
- Press T to open the chat.
- Paste (CTRL + V) the following command:
/locate biome lavenderbiome:lavenderbiome. - Press ENTER to print the coordinates to the nearest Lavender Biome.
- Press T to open the chat again.
- Mouse over the printed coordinates in green and Left Click on them to paste the command in the chatbox.
- Press ENTER to teleport to those coordinates. WARNING: You will likely spawn underground. This is a limitation of how the
/locatecommand works in Minecraft. Left Click to destroy blocks. Double tap SPACEBAR to fly up.
Movement:
- WASD: Move forward, left, backwards, right.
- Move mouse: Look around.
- Double tap SPACEBAR [on ground]: Activate fly mode.
- Hold SPACEBAR [in air]: Fly up.
- Hold SHIFT [in air]: Fly down.
- Left Click: Break blocks.
- Right Click: Use item. This behaviour may change when holding a tool.
Menus:
- Mouse Scroll: Scroll selected item in hotbar.
- E: Open inventory.
- Left Click [on an item in inventory]: Picks up the item to your cursor.
- Left Click [on a slot in inventory]: Places the item from your cursor to the inventory slot.
- ESC: Close any menu / Open pause menu
- T: Open chat bar.
- ENTER [with chat bar open]: Send chat.
- Santiago Santos @SantySantos
- Marcel Taveau @MarcelTaveau
- The project uses Gradle 9.1.0.
- Dependencies include
fabric-apiandTerraBlender. - Feel free to fork and add your own changes!