-
Posts
1830 -
Joined
-
Last visited
-
Days Won
12
Everything posted by DavidM
-
I was looking into particles in 1.14.4 when I found IParticleData. As far as I can tell from the usage in vanilla, it is a way to sync particles to client via packets. However, I am unsure if I completely understood it, and have the following questions regarding it: 1. If a particle is client-only, and is only created via client-side renderers (i.e. TESR), does that mean it does not need an implementation of IParticleData? 2. How does one register an implementation of IParticleData to its according particle?
-
It seems that this problem was caused by invoking ItemEntity's constructor, which uses the hardcoded value of the vanilla ItemEntity type. I've fixed this and updated the GitHub repo. However, I am experiencing another problem after changing the constructor. Whenever I try to spawn the entity, it will not spawn (at least on the client) and the console logs: [Client thread/WARN] [minecraft/ClientPlayNetHandler]: Received passengers for unknown entity How would I fix this?
-
I am trying to create a custom ItemEntity class (FancyItemEntity) to gain more control over dropped items in world. One feature I would like to add is a custom renderer for my custom ItemEntity. The entity is registered here. The renderer is here. However, when I spawn my custom entity as demonstrated here, the entity created on the server is my custom ItemEntity, but the entity on the client side is still the vanilla ItemEntity. Why is the entity created on the client still the vanilla ItemEntity? How would I fix this?
-
This seems to be caused by a corrupted zip file. The build was successful after I cleared the gradle caches of the version that is experiencing the problem.
-
I am trying to make something happen when the player enters any block of water. I have not find any hooks regarding this. Is there a hook I can use to detect this? What is the best approach to do this?
-
I have a Capability in my mod that tracks the player's progress through the mod. I would like to make certain recipes not craftable until the player made certain progress. I've heard that Minecraft now has its own recipe unlocking system. However, as far as I could tell it is based on advancements, and cannot be unlocked by checking against my Capability. In versions prior to 1.14.4, I created a custom IRecipe implementation to manage player-specific recipe. However, I am not sure whether that is the best approach in 1.14.4. What is the most preferred way to create player-specific recipes?
-
-Solved- No exe or usable files? How use?
DavidM replied to Drewwishon's topic in Support & Bug Reports
Make sure you have Java installed. If the jar still doesn't open with Java, use Jarfix. -
-Solved- No exe or usable files? How use?
DavidM replied to Drewwishon's topic in Support & Bug Reports
The installer download should only download a jar file. You need to run the jar file, not extract it. -
I am setting up a Forge workspace for 1.14.4. However, when I execute gradlew eclipse, the following error occurs: https://gist.github.com/davidmaamoaix/b359a24cd442eda5c86e5a5dfba6da9b When I import the project in eclipse, the editor indicates that the source is missing (cannot view source code of Forge & Minecraft). How would I fix this?
-
-Solved- No exe or usable files? How use?
DavidM replied to Drewwishon's topic in Support & Bug Reports
Make sure you've downloaded the installer (not the mdk, source, etc) on the download page. -
1.8.9 is no longer supported on this forum due to its age. Please update to 1.14 and above if you would like to receive support on this forum.
-
[1.15.2 | SOLVED] TileEntityRenderer not rendering after rejoin.
DavidM replied to VirtCraft's topic in Modder Support
This is not caused by the renderer, but rather your TileEntity. It is not synced to the client. -
In general, you can submit a PR to Forge and suggest to add your hook. In this case though, depending on the amount of blocks whose shape you want to modify, you can replace the vanilla block with your own variant.
-
[1.14.4] GuiContainer#drawTexturedModalRect for 1.14
DavidM replied to DavidM's topic in Modder Support
I suppose the new mapping is AbstractGui#blit. -
I am porting my mod to 1.14.4. Previously, I used GuiContainer#drawTexturedModalRect to draw the GUI as well as a furnace-like progress bar. However, I cannot find the equivalent of this in 1.14.4's ContainerScreen<T>. How do I draw the GUI of a ContainerScreen<T> in 1.14.4?
-
I doubt that it is caused by the government's firewall, as I am currently in China, and I can still build/setup projects without major connection problem (although relatively slow due to the geographical location).
-
You did not answer the question. What launcher are you using?
-
Run the installer, preferably via the command line.
-
It is supposed to be a jar file. It is not a java file, and cannot be converted to one.
-
How to add ram to forge server 1.12.12
DavidM replied to SuperDwagDog's topic in Support & Bug Reports
1. Make sure you are in the same directory as the jar file. 2. Make sure the name of your jar file is forge-1.12.2-14.23.5.2847.jar. -
The mapping name may have changed in newer versions (haven’t checked). What version of Minecraft are you working with?
-
[SOLVED] NullPointerException when giving BlockItem
DavidM replied to HappyHippo77's topic in Modder Support
ModBlocks::NOODLE_ORE is always null. You've never give it a value. -
Override Block#onBlockActivated.
-
[1.14.4 / 1.15.2] Please make PotionBrewing.addMix public.
DavidM replied to Saturnin_UFOlud's topic in Suggestions
Recipes should be done with JSON, not code.