Questions tagged [minecraft-modding]

For questions about modding Minecraft.

Filter by
Sorted by
Tagged with
2
votes
1answer
127 views

Potion effect never wears out

I am writing a mod for Minecraft (in Java, duh) and want to apply a random potion effect like this: ...
-1
votes
1answer
71 views

What is root.json file in Minecraft?

I found root.json file in minecraft source code and I want to know what is root.json file in minecraft. I found minecraft source code with VS Code Decompiler extension.(For find minecraft source code, ...
0
votes
0answers
60 views

Unknown error when trying to register a Minecraft ArmorItem

The error in question is [Inferred type 'I' for type parameter 'I' is not within its bound; should extend 'net.minecraft.item.Item'] on the following snippet of code ...
0
votes
0answers
40 views

(Minecraft 1.12.2) Items vanishing from Player inventory when closing Custom GUI

I currently have the following setup: Player opens a GUI via the /gui command The inventory opens with some generated ItemStacks (Banner) Player clicks on the banners and they get added to their ...
0
votes
0answers
59 views

Converting vertices to block coordinates

Sorry if this is the wrong place to ask this, please do tell me where a question like this is better asked. Im importing a model from another game into the video game minecraft, which uses a ...
0
votes
1answer
54 views

Minecraft: `foot_size` doesn't work

I'm making an add-on that lets the player step over 1-block high blocks and the foot_size property is exactly what I'm looking for. The documentation says the following: "Sets the number of ...
12
votes
2answers
6k views

How do Minecraft know where village's buildings are if the village is not generated yet?

I'm trying to understand how chunk generation works in a deep level and all the information I found does not explain how the villages are generated properly without visual glitches during generation. ...
0
votes
0answers
15 views

How do I rotate a Fan Sprite with a very low resolution? (I dont know how to draw a rotated fan) [duplicate]

So, I have a fan image: Upscaled: And I want to rotate it for a texture Im working with, specifically a computer fan cooling a server box in a game model. Im having trouble getting a good look with ...
0
votes
0answers
88 views

I need a custom launcher for my Minecraft server

I am creating my own Minecraft server for my friends and I (and then publish it). It uses Thermos for MC 1.7.10, with mods and plugins. My friends don't know how to install Minecraft Java Edition, ...
0
votes
0answers
146 views

Mcpe missing dependencies [duplicate]

How do I fix this problem. I have tried everything, but it always says the same thing. Im not a computer wizz so please help me, also if a pack is missing dependencies does it affect mob behavior. ...
0
votes
1answer
672 views

How can I use IntelliJ to make Minecraft mods?

I'm starting out creating Minecraft mods with my son. I've seen one YouTube tutorial which sets up project with Eclipse. Since I don't like Eclipse much, I ask: how would I setup IntelliJ or Android ...
0
votes
0answers
34 views

Which spigot player event should I use?

I'm working on a plugin project and I am not sure which event to listen for? I have tried these events with some success: PlayerInteractAtEntityEvent PlayerInteractEvent paste-bin Main: https://...
2
votes
0answers
334 views

Forge 1.14.4 Minecraft modding: Override vanilla loot tables

I cannot figure out how to override vanilla loot tables, I've been at this for hours, and I can't find anything online. Just very outdated tutorials. I added custom crops and seeds to my mod, now I ...
0
votes
1answer
44 views

Are minecraft LANS and servers Filtering Enabled? [closed]

Non-filtering enabled means any given client can make changes and the server will replicate them. This is faster but opens doors for hackers and exploiters. Filtering enabled means the client provides ...
0
votes
1answer
1k views

How can I change the hardness and blast resistance of Minecraft blocks?

I want to make the strength of the iron block and obsidian switch places, along with other changes to block strength and blast resistance. I am not allowed to swap the textures or anything like that. ...
0
votes
1answer
359 views

How can I get the player coordinates in Minecraft

I am currently working on a client for Minecraft Java edition and I'm having an issue finding out how I can get my Minecraft character's current coordinates, client side coordinates. I would just ...
0
votes
0answers
62 views

No MODS button in Windows Minecraft when selecting Forge profile

I have installed a Minecraft launcher in Windows that supports Minecraft 1.14. I have installed Forge 1.14.4-forge-28.0.13. I have created the mods folder and placed a mod jar in it which is ...
0
votes
1answer
55 views

How do I fix a “missing mcp.cfg” error?

I am trying to use mod coder pack (MCP) to create mods of my own. I have downloaded MCP 9.4 version from www.modcoderpack.com. The error that I have encountered is that when I try to run a file called ...
1
vote
3answers
888 views

How can I make a custom mob that looks like the Enderman?

I have previously made two other mods that added in mobs. In order for the mob to look like a wolf, I needed the wolf.java file (Found online). Without setting a defined java file, the mob will use ...
1
vote
3answers
265 views

How minecraft manages interactable blocks (Chest)?

I am wondering, how does minecraft handle blocks like chest? I guess normal blocks are ids in simple array, but how does it store and references blocks with special behaviour?
0
votes
1answer
2k views

Unsupported API version on Spigot 1.14 snapshot

I'm (trying to) develop a plugin for Spigot Minecraft 1.14.2. I have tried putting both api-version: 1.14.2 and ...
0
votes
1answer
111 views

How can I use Cocoa beans in Minecraft Forge custom crafting recipes?

I'm creating a Minecraft mod with Forge, and I need to create a custom crafting recipe that uses cocoa beans. However, when I try to create the recipe, it does not work (as in, I cannot craft items ...
1
vote
1answer
148 views

How can I get old Minecraft style terrain biome selection?

I'm using this post as a reference for what I'm doing. The real thing of interest is this: As you can see, this is a Whittaker diagram, with temperature and rain considerations. So would this be ...
0
votes
0answers
43 views

Minecraft Optifine - where is the zoom class?

I'm working on a mod where I want to have a zoom feature like Optifine. To start out, I want to try messing around with the zoom in the actual Optifine mod. There are a lot of .class files, and I don'...
1
vote
0answers
29 views

Where do I write code in my minecraft modding environment?

So this is probably a stupid question but I'm just beginning so I hope someone can help. I set up my whole modding environment in eclipse but the problem is that I don't know where to start writing ...
1
vote
1answer
207 views

How can I make an entity invulnerable to fall damage?

I've been using minecraft forge 1.12 to make a mod that gives the user super-jumping abilities. However, I've been having trouble making the player invincible to fall damage. I've tried to use a ...
0
votes
1answer
382 views

Minecraft modding 1.12 draw image

I want to draw an image that I created but the image is too big. Now I want the Gui to scale the image to a reasonable size, but when I change the width and height it doesn't make the image scale down/...
0
votes
1answer
236 views

How do I use the Minecraft Coder Pack on Linux

I downloaded the Minecraft coder pack to mod the game and decompile it, but how do I use it on Linux. Some sources seem to give specific directions, but they are not clear and they involve executing ...
0
votes
1answer
291 views

Minecraft/OpenGL - Create Multiple viewports

I'm working on a project for the game and i have been trying to draw a second smaller "window" that would act like a second camera, independent from the player. I have looked into glViewport however ...
0
votes
2answers
406 views

Minecraft Bedrock behaviors: drop items for player/owner?

I'm making a simple behavior pack for Minecraft's Bedrock Edition for my own experimenting - the aim is to get tamed wolves to play fetch. The behavior pack is valid and loading, as it sort of works, ...
-1
votes
1answer
115 views

Interesting graphic artifact

I was exploring old Minecraft source code when I encountered this: I just wanted to know what causes such distortion and how to fix it with OpenGL?
0
votes
1answer
1k views

Does Minecraft Really Rely on CPU More Than GPU For FPS? [closed]

I understand that Minecraft runs on Java which is very demanding on the CPU (garbage collection and JVM processes), but I still don't understand how FPS is the CPU's responsibility. Shouldn't the CPU ...
4
votes
2answers
460 views

Name of this technique used in games such as Minecraft or the sims

In Minecraft, there are some blocks which are a little bit different than just cubes. For example stairs or fences: these elements are "aware" of their surrounding blocks and render differently based ...
1
vote
0answers
45 views

Problem with Thread (bunggecord and spigot)

I would like to see how many players are connected in a server by the way bukkit and Bungee messaging channel like this : ...
1
vote
1answer
51 views

How to distinguish multiple same element already in place on a minecraft map

I am currently working on a minecraft plugin using spigot. It's a sort of a race between players where checkpoints validation is needed. I have a minecraft map edited on MCEdit and I have severals ...
4
votes
2answers
856 views

How do i store blocks information in my Voxel game?

I am trying to make a voxel game. Voxel games made by blocks and each block has it's own information such as durability, step sounds, strength, ... How do i store these information inside of blocks? ...
2
votes
2answers
206 views

Iterating in “box” formation

I'm writing a minecraft clone in C++ and need some assisting with the chunk generation. Because I only want to load chunks that are near the player, I have to load and unload chunks based on the ...
0
votes
1answer
133 views

No files in .net.minecraft

So, I've been trying to make a minecraft 1.11.2 client for minecraft. Thing is, the mcp/src/minecraft folder is empty, without any net files. The only error I had while decompiling was missing lwjgl 2....
-1
votes
1answer
603 views

How can I create new Minecraft items in a Spigot plugin?

Is it possible to make a new custom item in a plugin so that in-hand 3D models and textures don't interfere with vanilla Minecraft items? How?
5
votes
0answers
130 views

Scoreboard setdisplay list shows correctly per char. Can i make my sidebar show correctly per char as well?

So I've been writing a script over the last little while in Python that interacts with the Minecraft console. I'm basically trying to make a scoreboard based currency system that is world independent ...
1
vote
1answer
166 views

Minecraft: What is the reasonable face/vertex limit for custom models?

When adding custom models to function as tile entity representations, what is a reasonable ceiling - based on performance - to maintain for individual models? Assume that the player will have the ...
1
vote
0answers
532 views

Minecraft modding - Dealing extra damage from a sword

I am making a Minecraft mod, and in my tin sword, when it deals damage to an entity, it randomly deals more damage. ...
1
vote
1answer
87 views

How can I add my custom mob to my minecraft game?

So, I'm obviously not a very experienced mob maker, so ill just get to the point. after I made a custom mob, I had no idea where to put it, how to make sound, how to make an egg for it etc. would ...
0
votes
1answer
43 views

Moving entities above a tile entity

Sorry if my code looks amateur I just started modding, although I have experience in Java. I have a tile entity checking every frame if there are entities above it. It works, but then stops after 1 ...
0
votes
2answers
1k views

Source code of Minecraft servers?

Is there any way to get the source code of Minecraft servers? I tried decompiling but I get very obfuscated arguments, classes, and methods. If the answer is no, how did services like Bukkit and ...
2
votes
1answer
198 views

How to make more jagged terrain [closed]

I need some help with some terrain I'm working on. I'm developing a plugin for Minecraft, but these concepts will apply to any game with terrain. I am using Simplex noise to generate cavern-like ...
1
vote
1answer
371 views

How to optimize a cubes made world game? [duplicate]

I'm making a cube-world-game like Minecraft. And to render it I've splitted it in 16x16x16 blocks regions (also known as chunks in mc) and then, on rendering, I take all the chunks in the rendering ...
3
votes
3answers
989 views

Cube world rendering optimizations

I'm making a Minecraft like game and I would like to apply some optimizations. Firstly I didn't and I rendered the world using a vbo in which I stored a cube model and I drow all blocks of the worlds ...
3
votes
2answers
1k views

Programming with Python in a recent version of Minecraft

I've been teaching Python programming to a friend's son using the book Adventures in Minecraft. This book comes with a starter kit that contains a pre-configured Bukkit (v.1.6.4) server, and targets ...
1
vote
0answers
47 views

How much more do I have to learn? [closed]

So I started learning java sometime ago and now I am understanding packages. My main goal is to do minecraft modding. Can someone with modding experience please tell me how hard(or easy) minecraft ...

1
2 3 4 5