Jump to content

[1.3 - 1.7] Wuppy's Modding Tutorials [Jul 5] In English, Chinese, German etc.


Recommended Posts

In this modding series I will cover anything from not even having JDK and knowing no code at all to being able to create new blocks, entities etc. in minutes.

 

Before asking questions

For a while now I have been getting the same questions over and over again. I do like helping you guys, but explaining the same thing 50 times is a bit annoying. Another big problem is that people say things like "my item isn't working" which is very hard to fix, because I don't see any files nor do I know what is the problem. That is why from now on you will have to do this before asking for fixes:

 

1. Read through the TroubleShooter to see if it's a common problem.

2. If your problem is not on the TroubleShooter read through the error log if you have one. In the error log you should see some helpfull information. When I have problems in my mod I can fix them 50% of the time with the error log.

3. Take some time between having a problem and asking the question. If I have a problem in my mod and the error log doesn't help me I just quit and start doing something else for a while. There is a big chance you will think of a way to fix it.

4. If you really can't figure it out on your own you should locate the problem. Simply do this by commenting out (using // for one line or /* */ for everything in between those things) to see what is causing the problem.

5. Now you will have to start writing something on this page. The first thing you do is paste in all the code I will need, which is the erroring code. For example if you have an item which doesn't work I need the item file, but also the mod file. Paste the code on here by using the blue <> tags. Also make sure the code is in spoilers by using

code

 

6. If you get an error log add the full thing in there. Make sure you do

error log

 

7. Next up explain what it is doing right now and what you want it to do.

8. Check to make sure your post looks something like this.

 

"

I have got a problem with my mod.

This is the code I have.

 

 

Mod file

Code

Any other files I will need...

 

 

This is the error log I got (if you actually got one)

 

 

error log

 

 

Right now it is doing: .....

I want it to do: ......

"

 

Donations

If you like these tutorials please consider donating by clicking the image below.

width=147 height=47https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif[/img]

 

 

Minecraft 1.7

 

Get more tutorials out by supporting me on Patreon: http://www.patreon.com/wuppy29

 

Video Tutorials

 

- Basic Set up

- Basic File

- Creating your own mod: Basic Setup

- Creating your own mod: Advanced Setup

- Updating 1.6 to 1.7 Part 1: Blocks and Items

- Updating 1.6 to 1.7 Part 2:  Generation, Recipes and Names

 

Livestream videos

 

- Setup and Basic File

- Blocks

- Items

- Block Customization

- Tools Part 1: Pickaxe and ToolMaterial

- Recipes

- Tools Part 2: Adding additional tools

- Armor Part 1

- Armor Part 2

- Code organization + Finishing it up

 

Text Tutorials

 

- Updating 1.6 to 1.7 Part 1: Modfile and Recipes

- Updating 1.6 to 1.7 Part 2: Names

- Updating 1.6 to 1.7 Part 3: Blocks

- Updating 1.6 to 1.7 Part 4: Items

- Updating 1.6 to 1.7 Part 5: World Generation

 

Basics

 

- Set up Part 1: JDK & Eclipse

- Set up Part 2: Forge Setup

 

- Basic File Part 1: Package and Import

- Basic File Part 2: @Mod

- Basic File Part 3: Classes and Keywords

- Basic File Part 4: @EventHandler and more

 

- Creating your own mod

 

- Crafting recipes

 

Other

 

- Updating Forge

- Releasing your own Mod

- IRC #minecraftforge tutorial

 

Eclipse tricks

 

- Line numbers

- Auto Complete

- Code Formatting

- Importing

- Navigation

- Renaming variables

 

Other languages

 

German Tutorials (Thanks to HyCraftHD)

- Set up

- Basic File

- Crafting Recipes

- Shapeless Recipes and Smelting

- Items

- Blocks

- Creative Tabs

- OnItemRightClick

- Achievements

- Releasing your mod

- Welt Generation

- Eigene Brennstoffe

- Farbgestaltung

- Drops & Harvestlevel

 

Spanish Tutorials (Thanks to Periyo)

- Actualizar a la version 1.7 desde la 1.6 Parte 1 : Archivo principal del mod (Modfile)

 

Portuguese Tutorials (Thanks to Luke)

- CONFIGURAÇÃO PARTE 1: JDK & Eclipse

 

Traditional Chinese Tutorials (Thanks to GKB)

- 設置篇 Part 1: JDK 和 Eclipse

- 設定 Part 2a: Forge基本設定

- 設置篇 Part 2b: Forge進階設

- 基本文件設置 Part 1: Package 和 Import

- 基本文件設置 Part 2: @mod

- 基本文件設置 Part 3: Class 和 關鍵字

 

Minecraft 1.6

 

 

Video Tutorials

- Updating to 1.6

- Releasing a mod

 

Basics

- Set-up

- Basic file

- Recipes

 

Blocks

- Basic Block

- Custom Block Texture

- Block metadata

- Sided textures

 

Items

- Basic Item

- Custom Item Texture

- Item metadata

 

Generation

- Overworld Ore Generation

- Nether, End and Metadata Ore Generation

 

Custom Dimension

- Part 1: Registry and WorldProvider

 

Text Tutorials

- Updating to 1.6

- Releasing a mod

 

Updating to 1.6.4 ForgeGradle & 1.7 preperations

- Part 1

- Part 2

- Part 3

 

Basics

- Set-up

- Basic file

- Recipes

 

Blocks

- Basic Block Part 1

- Basic Block Part 2

- Custom Block Texture

- Metadata Blocks

- Sided Textures

 

Items

- Basic Item Part 1

- Basic Item Part 2

- Custom Item Texture

- Metadata Items

 

Generation

- Overworld Ore Generation

- Nether, End and Metadata Ore Generation

 

Entities

- Part 1: Registry

- Part 2: EntityTutorial

 

Custom Dimension

- Part 1: Registry and WorldProvider

- Part 2: ChunkProvider

- Part 3: Portal Block

- Part 4: Teleporter

 

Spanish Tutorials (Thanks to PerikiyoXD)

- Updating to 1.6.2

 

 

 

Minecraft 1.5

 

 

Video Tutorials

 

- Updating 1.4.7 to 1.5.1

- Updating Forge, Fixing texture code & Java improvement

- Releasing a mod

 

Basics

- Set-up

- Basic File

- Recipes

 

Blocks

- Basic Block

- Custom Block and Item textures

- Block Metadata

- Sided Textures

 

Items

- Basic Item

- Custom Block and Item textures

 

Text Tutorials

 

- Updating 1.4.7 to 1.5.1

- Updating to Forge 655

- Releasing a mod

 

- Updating to 1.6

 

Basics

- Set-up

- Basic File

- Recipes

 

Blocks

- Basic Block Part 1

- Basic Block Part 2

- Custom Block Textures

- Improved Texture code & general Block file

- Metadata Blocks

- Sided Textures

 

Items

- Basic Item Part 1

- Basic Item Part 2

- Custom Item Textures

- Improved Texture code & general Item file

- Metadata Items

 

World Generation

- Overworld Ore Generation

- Nether, End and Metadata ore generation

 

Italian Tutorials (Thanks to LandKingdom)

- Updating to 1.5.1

- Basic File

 

 

 

Minecraft 1.4

 

 

Video Tutorials

Basics

- Set-up

- Basic file

- Proxy's

 

Blocks

- Basic Block

 

Entities

- Basic Entity: Mod file (Part 1)

- Basic Entity: Adding an egg (Part 2)

- Basic Entity: Entity File (Part 3)

- Basic Entity: Drops and Sounds (Part 4)

- Basic Entity: Render File (Part 5)

- Basic Entity: Creating a Model (Part 6)

- Basic Entity: Fixing Model and Finishing Rendering (Part 7)

 

Dimension

- Portal Block (Part 1)

 

Other

- Releasing a mod

- Updating to 1.4.6

 

Text Tutorials

Basics

- Set-up

- Basic file

- Proxy's

 

Blocks

- Basic Block part 1

- Basic Block part 2

- Custom Block Textures

 

Items

- Basic Item part 1

- Basic Item part 2

 

- Portal Placer Item Part 1

- Portal Placer Item Part 2

 

- Block Placer Item

 

Entities

- Basic Mob Part 1: EntityRegistry

- Basic Mob Part 2: Entity file basics

- Basic Mob Part 3: AI

- Basic Mob Part 4: Sound, Texture, Armor and Updating

- Basic Mob Part 5: Drops

- Basic Mob Part 6: Entity Eggs

- Basic Mob Part 7: Render File

- Basic Mob Part 8: Creating a Model

- Basic Mob Part 9: Model Rendering

 

Biomes

- Custom biome

- Biome Customization: Mod file

 

Simple short improvements

- Adding a custom mob to Dungeons

 

Dimension

- Part 1: Portal Block Basics

- Part 2: BlockPortal

- Part 3: EntityRegistry

- Part 4: Teleportation

- Part 5: Teleporter

- Part 6: WorldProvider

- Part 7: ChunkProvider

 

Dimension customization

- Custom save file

- Custom movement factor

- No sunlight

- Custom biome

 

Other

- Updating to 1.4.6

- Releasing a mod

- Eclipse line numbers

 

Chinese Tutorials

- 第一章:準備工作

- 第二章:基本檔案

- 第三章:基本方塊

- 第四章:基本物品

- 第五章:合成及熔煉

 

Swedish Tutorials

- Basic file

- Proxy's

 

German Tutorials

- Basic file

- Proxy's

- Basic Block part 1

- Basic Block part 2

- Custom Block Textures

- Basic Item Part 1

 

Polish Tutorials

- Set-up

- Basic file

- Basic Block part 1

- Basic Block part 2

 

 

 

Minecraft 1.3.2

 

 

Video Tutorials

- Set-up

- Your first file

- Crafting and Smelting Recipes

 

Text Tutorials

Forge

- Setting up part 1: JDK and Eclipse

- Setting up part 2: MCP and Forge

- Setting up part 3: Packages

- Your first file

- Every possible crafting recipe

- Smelting recipes

- Eclipse line numbers

- Basic blocks

- Basic items

- Releasing a mod

- Custom texture for a block

- Adding dungeon loot

- Changing the amount of items in a dungeon chest

- Custom item drop for a block

- Adding a food item

- Adding fuel

- Ore generation

- Block metadata

- Nether ore generation

- Metadata ore generation

- Custom sword

- A special pickaxe

- A shovel

- A paxel (shovel and pickaxe in 1)

- Custom structure generation

- Adding the structure to the world

- Adding the structure to the nether

 

Crop tutorial

- Part 1: Basic block

- Part 2: Crop file

- Part 3: Rendering and Drops

 

Easy structure generation

- Part 1: Mcedit and converter set-up

- Part 2: Using Mcedit

- Part 3: Creating a .schematic

- Part 4: Converting into java code

- Part 5: Finishing it up

 

Entities

- How to use Techne

 

Dimension tutorials

- Dimension set-up

- Dimension api teleportation block

- Dimension basic WorldProvider

- Dimension basic ChunkProvider

- Dimension basic Teleporter

- Dimension finishing it

 

Dimension customization

- Changing sun/moon size

- Changing sun/moon texture

- Changing clouds height and removing clouds

- Showing stars during the day and removing stars all the time.

- Removing void fog

- Black skies

- No rain and clear skies during the rain

 

- Dimension Adding the structure to your world

 

 

 

If you want me to create a tutorial on something that I haven't done yet, have suggestions for my tutorials or if you can't figure something out just leave a message here.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • They were already updated, and just to double check I even did a cleanup and fresh update from that same page. I'm quite sure drivers are not the problem here. 
    • i tried downloading the drivers but it says no AMD graphics hardware has been detected    
    • Update your AMD/ATI drivers - get the drivers from their website - do not update via system  
    • As the title says i keep on crashing on forge 1.20.1 even without any mods downloaded, i have the latest drivers (nvidia) and vanilla minecraft works perfectly fine for me logs: https://pastebin.com/5UR01yG9
    • Hello everyone, I'm making this post to seek help for my modded block, It's a special block called FrozenBlock supposed to take the place of an old block, then after a set amount of ticks, it's supposed to revert its Block State, Entity, data... to the old block like this :  The problem I have is that the system breaks when handling multi blocks (I tried some fix but none of them worked) :  The bug I have identified is that the function "setOldBlockFields" in the item's "setFrozenBlock" function gets called once for the 1st block of multiblock getting frozen (as it should), but gets called a second time BEFORE creating the first FrozenBlock with the data of the 1st block, hence giving the same data to the two FrozenBlock :   Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=head] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@73681674 BlockEntityData : id:"minecraft:bed",x:3,y:-60,z:-6} Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=3, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=2, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} here is the code inside my custom "freeze" item :    @Override     public @NotNull InteractionResult useOn(@NotNull UseOnContext pContext) {         if (!pContext.getLevel().isClientSide() && pContext.getHand() == InteractionHand.MAIN_HAND) {             BlockPos blockPos = pContext.getClickedPos();             BlockPos secondBlockPos = getMultiblockPos(blockPos, pContext.getLevel().getBlockState(blockPos));             if (secondBlockPos != null) {                 createFrozenBlock(pContext, secondBlockPos);             }             createFrozenBlock(pContext, blockPos);             return InteractionResult.SUCCESS;         }         return super.useOn(pContext);     }     public static void createFrozenBlock(UseOnContext pContext, BlockPos blockPos) {         BlockState oldState = pContext.getLevel().getBlockState(blockPos);         BlockEntity oldBlockEntity = oldState.hasBlockEntity() ? pContext.getLevel().getBlockEntity(blockPos) : null;         CompoundTag oldBlockEntityData = oldState.hasBlockEntity() ? oldBlockEntity.serializeNBT() : null;         if (oldBlockEntity != null) {             pContext.getLevel().removeBlockEntity(blockPos);         }         BlockState FrozenBlock = setFrozenBlock(oldState, oldBlockEntity, oldBlockEntityData);         pContext.getLevel().setBlockAndUpdate(blockPos, FrozenBlock);     }     public static BlockState setFrozenBlock(BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable CompoundTag blockEntityData) {         BlockState FrozenBlock = BlockRegister.FROZEN_BLOCK.get().defaultBlockState();         ((FrozenBlock) FrozenBlock.getBlock()).setOldBlockFields(blockState, blockEntity, blockEntityData);         return FrozenBlock;     }  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.