PromptBase
Close icon
General
Home
Marketplace
Hire
Create
Login
Sell
Explore
🤖 GPT

Minecraft Mods Generator

Minecraft Mods Generator gpt prompt mini thumbnail
3Heart icon
Favorites
147Eye icon
Views
TEXT-DAVINCI-003
TestedTick icon
TipsTick icon
This insane prompt will generate EVERY KIND OF MOD for the Minecraft video game. Have fun creating and playing your Mods with maximum simplicity and customization, give life to your creativity. ✅ working mods ✅ customizable scripts ✅ customization guide ✅ post purchase support
...more
$7.99
Get prompt
After purchasing, you will gain access to the prompt file which you can use with GPT or the app builder. You'll receive 20 free generation credits with this purchase. By purchasing this prompt, you agree to our terms of service.
Over 1 month ago

Prompt Details

Model
Completion - GPT-3.5 (text-davinci-003)
Token size
174 ($0.00350 / call)
Example input
generate a fly mod for Minecraft that allows me to fly by pressing the "F" key
Example output
import net.minecraft.client.Minecraft; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.text.TextComponentString; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.entity.living.LivingEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import org.lwjgl.input.Keyboard; @Mod(modid = "flymod", version = "1.0", clientSideOnly = true) public class FlyMod { private boolean isFlying = false; @Mod.EventHandler public void init(FMLInitializationEvent event) { MinecraftForge.EVENT_BUS.register(this); } @SubscribeEvent public void onLivingUpdate(LivingEvent.LivingUpdateEvent event) { if (event.getEntity() instanceof EntityPlayer) { EntityPlayer player = (EntityPlayer) event.getEntity(); if (player.equals(Minecraft.getMinecraft().player)) { if (Keyboard.isKeyDown(Keyboard.KEY_F) && !player.capabilities.isFlying) { startFlying(player); } else if (!Keyboard.isKeyDown(Keyboard.KEY_F) && player.capabilities.isFlying) { stopFlying(player); } } } } private void startFlying(EntityPlayer player) { isFlying = true; player.capabilities.allowFlying = true; player.capabilities.isFlying = true; player.sendPlayerAbilities(); player.sendMessage(new TextComponentString("Fly mode enabled.")); } private void stopFlying(EntityPlayer player) { isFlying = false; player.capabilities.allowFlying = false; player.capabilities.isFlying = false; player.sendPlayerAbilities(); player.sendMessage(new TextComponentString("Fly mode disabled.")); } }
Browse Marketplace