Everything posted by Luis_ST
-
[1.16.4/1.16.5] How do I make a block with a transparent part?
to the Block.Properties in your Block class constructor
-
[1.16.4/1.16.5] How do I make a block with a transparent part?
you need to set the RenderType of the block to translucent, do this in your FMLClientSetupEvent and use RenderTypeLookup # setRenderLayer you also need to add noOcclusion to your Block.Properties (if you don't do this you can look "though" the block into the world)
-
Example mod not showing up and unable to use @Mod in eclipse (1.16.4)
eclipse has sometimes problems to import a forge project (it doesn't add the forge/minecraft library), try to reimport it or run the gradlew command (you need to use a .bat file), this should fix your problem gradlew command: gradlew genEclipseRuns --refresh-dependencies&&gradlew eclipse
-
ClientTickEvent doesnt work
you need to set the "value" in the EventBusSubscriber annotation take a look at the forge doc -> there is a practical example https://mcforge.readthedocs.io/en/latest/events/intro/
-
[1.16.5] Replace block after it's broken
don't use onBlockHarvested, use harvestBlock instead
-
my server don't start
did you use autoreglib?
-
Cannot resolve symbol 'PlaceEvent' ??????
The Event is called BlockEvent$EntityPlaceEvent
-
(Solved) [1.16.4] Modifying player speed based on Armor
you also can try to use an AttributeModifier (Attributes#MOVEMENT_SPEED), use the ArmorItem as an example or try to manipulate the player's motion, but that's tricky
-
(Solved) [1.16.4] Modifying player speed based on Armor
you still use MCP mappings, used PlayerEntity#sendPlayerAbilities
-
Will there ever be forge on minecraft pocket Edition?
Minecraft Forge is java based, Minecraft Bedrock was programmed with C, since C and Java are not compatible it would be a lot of work to create Forge for C, so there is or will probably never be Forge for Minecraft Bedrock If you mean Minecraft Bedrock you are wrong Minecraft was originally developed for java (for the pc), Minecraft Bedrock was created by Microsoft, with the idea of a version for all devices (PC, mobile phone, xbox, playstation)
-
(Solved) [1.16.4] Modifying player speed based on Armor
try to call PlayerEntity#onUpdateAbilities after change the walkSpeed
-
Playing a sound on the client with an event
i think you can use Minecraft#getInstance()#player
-
[1.16.4] How do I prevent items from being placed in certain slots?
take a look when the Event is fired, because it's possible that the ItemStack which is given by the Event is a copy of the original, which means you can't modify the ItemStack in the Event
-
Playing a sound on the client with an event
this will only check if you play in a single player world so it will not include lan servers/normal servers like hypixel in which event do you want to play the sound
-
Playing a sound on the client with an event
No but it will return null if you use it in a only server side code part, because Minecraft class can only use on client
-
I need to put something in client tick loop
No, no, no you need subscribe to the event, check out the forge doc about events
-
[1.12.2]Model not rendering and localisation troubles
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
Help with NBT
Overwrite the initCapabilities methode in your Item class
-
Help with NBT
use this with an ItemStack Capability
-
Help with NBT
no nbt, you need an IArmorMaterial, look at the vanilla ArmorMaterial enum, also take a look at the ArmorItem
-
Trying to set ToolMaterial and it doesn't find the class when imported...
your mod id should be in lower case. In addition, it should not contain any special characters like ', and use underscores for spaces
-
Mod doesn't show up
does the features of your mod work? if not show your mod main class
-
Mod doesn't show up
explain what you mean by "I cant see the Mod." are there any error on the log?
-
Very strange crash when booting game
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
Very strange crash when booting game
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
IPS spam blocked by CleanTalk.