Everything posted by DavidM
-
[1.14.4] What is IParticleData
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?
-
[1.14.4] Entity not created on the client side
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?
-
[1.14.4] Entity not created on the client side
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?
-
[1.14.4] gradlew eclipse fails
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.
-
[1.14.4] Detecting player entering water
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?
-
[1.14.4] Creating player specific recipes
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?
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?
The installer download should only download a jar file. You need to run the jar file, not extract it.
-
[1.14.4] gradlew eclipse fails
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?
Make sure you've downloaded the installer (not the mdk, source, etc) on the download page.
-
How to start coding mods on a mac?
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.
This is not caused by the renderer, but rather your TileEntity. It is not synced to the client.
-
Patching Vanilla Classes [1.14.4]
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
I suppose the new mapping is AbstractGui#blit.
-
[1.14.4] GuiContainer#drawTexturedModalRect for 1.14
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?
-
please build a warehouse in China
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).
-
Forge 1.15.2 Wont Install
You did not answer the question. What launcher are you using?
-
jar to java
Run the installer, preferably via the command line.
-
jar to java
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
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.
-
[1.14.4] onBlockActivated not firing when sneaking + set to allow in event
In this case, you can forget about Block#onBlockActivated and implement the entire behavior in the RightClickBlock event subscriber.
-
how to check if right click on block
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
ModBlocks::NOODLE_ORE is always null. You've never give it a value.
-
how to check if right click on block
Override Block#onBlockActivated.
-
[1.14.4 / 1.15.2] Please make PotionBrewing.addMix public.
Recipes should be done with JSON, not code.
IPS spam blocked by CleanTalk.