
Everything posted by ChampionAsh5357
-
[1.19.2] Item container / block briefcase, "how to make an dispenser like menu to pop up from an item ?"
I mean...you can use any capability as an example for attaching to an itemstack. First one that comes to mind is the one on BucketItem. Then just swap out with the IItemHandler. If you don't own the item, you just use AttachCapabilitiesEvent. SlotItemHandler? Other than that, pretty much nothing changes.
-
How to scale texture?
That's a lot harder. You literally just need two models or simply render the head part manually with the applied texture. And then you just need to create the rendertype with the texture twice. It's literally just what the LivingEntityRenderer is doing twice. The pixel information is stored in BGRA format, so that makes sense.
-
Add values dynamically to config
Why not just make a custom datapack entry and datagen the configuration information for each entity? Or, you shouldn't be setting values dynamically and perform an override else default system.
-
[1.19.3] Making an entity naturally spawn in an existing structure
There are structure settings, but there is currently no way to modify them without overriding the value. The best you can do is have your specific entity check if they are in a structure within the registered predicate via SpawnPlacementRegisterEvent.
-
Enigmatica 2 expert keeps crashing when I explore the world on a server
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.3 (Latest), 1.19.2, and 1.18.2 (LTS).
-
modpack 1.12.2 crash com optifine
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.3 (Latest), 1.19.2, and 1.18.2 (LTS).
-
forge [1.16.5] server mod class loading errors
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.3 (Latest), 1.19.2, and 1.18.2 (LTS).
-
errors in datapack and "safe mode"
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.3 (Latest), 1.19.2, and 1.18.2 (LTS).
-
How to scale texture?
Look at how the LivingEntityRenderer sets the texture and repeat the process in your render method. You already have access to the entity model, so you should know how to render it. As how to separate it, either use two separate models or handle the rendering on the same model in two separate methods or implementations.
-
Forge 1.18.2 change biome through server code
Then just make the method implementation yourself.
-
[1.19.2] Item container / block briefcase, "how to make an dispenser like menu to pop up from an item ?"
Opening a menu from an item is pretty much the same way as doing so for a block: call `NetworkHooks#openScreen` and pass in the associated inventory which should be attached as a capability to the stack. You cannot just create the list on the item itself since that would apply globally to all instances of the item in the stack and be incorrectly synced.
-
How to scale texture?
Render the head and the rest of the model separately. Apply the player texture to the head and your texture to the rest of the model. Currently, the head texture is being applied to the entire model.
-
I need help on this crash I can barely read code
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.3 (Latest), 1.19.2, and 1.18.2 (LTS).
-
How to relocate player? 1.16.5
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.3 (Latest), 1.19.2, and 1.18.2 (LTS).
-
How to drop item from client side
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.3 (Latest), 1.19.2, and 1.18.2 (LTS).
-
I need help with the configs
Is this a mod you're making or is this for a modpack? Additionally, it's a bit too vague to just say config. Why not use a tag?
-
Forge 1.18.2 change biome through server code
With a quick look at the code, it looks to be the exact same process as 1.19.3. All the associated methods are there to accomplish it
-
Stopping entity movement
While this stops the entity movement, it doesn't stop an entity from ticking which means the logic is still happening. I think in 1.18 you could use the LivingUpdateEvent to cancel living entity logic, but for all other entities, you would need to use some kind of injection into the entity to achieve the desired result most likely.
-
Spawn entities in front of player
What's the question supposed to be?
-
Forge 1.18.2 change biome through server code
Why not just look at how other commands add those arguments normally? Additionally, you could just load up a 1.19 workspace and translate down the code. The only major changes is potentially the biome type argument, but that exists in some capacity in 1.18.
-
Using multi-module projects with ModContainer
You need to show your buildscript in question, but my assumption is that you don't have the kotlin container added to the runtime environment of the child projects.
-
ItemStack-tags-based textures ignored with BlockEntity renderers
If you're using item properties, there is not effect caused by the player, so the texture normally won't change. You typically need a custom model loader which provides its own itemoverrides if you want something to be effected based on the tag by default.
-
[1.19.2] Disabled chunk rendering doesn't work while camera is moving
That's an incorrect assumption. What you should look for is where the chunks are added which happens within `renderLevel`, so every time the game loads a new area because of the camera moving, the chunks that were removed will flicker as they are added in and compiled in the next frame of execution. If you want to properly handle things, you should look into LevelRenderer#applyFrustum where the chunks are added to the field.
-
Experiencing java.net.ConnectException since Forge v41.0.63
It has to do with what you are using to connect with your ip address, either ipv4 or ipv6. From what I've been told, it's likely that one direction is blocking the ipv6 traffic, using ipv4 instead preventing the connection from occurring. As such, you need to change the settings for your device or router to either block ipv6 traffic incoming and outgoing, or don't block either.
-
Forge does not create jar file
If you used the installer jar, it should download to wherever you specified the server to be installed.
IPS spam blocked by CleanTalk.