How to convert json file to java file?

Started by neitio on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to convert json file to java file?
Fri, 11/05/2021 - 00:47 (edited)

I'm Japanese so I'm not good at English. I'm sorry if I'm wrong

I am creating a mob that makes a ranged attack. But that is difficult.

I can't find the vanilla crossbow texture and I can't find the java model of the arrow.

The crossbow will be the worst.But the arrow problem doesn't work that way.

I got the arrow json file, so I tried to convert it to a java file on the block bench but it didn't work.

Even if you select the java version from the conversion project, it will only be a json file compatible with the java version.

The only supported format for bullet textures is java, so I'd like to solve it somehow.

Is there a way to get the arrow java file or convert the json file to a java file?

 

 

By the way, I can't code at all.

 

p.s. twitter and screenshot ( https://twitter.com/neitio1/status/1456421565424226304?s=20 )

 

Edited by neitio on Fri, 11/05/2021 - 00:47
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What's the need to convert…
Thu, 11/04/2021 - 07:50

What's the need to convert files ?

In Mcreator entity AI menu just select ranged type and then scroll for the arrow model from all that are ingame

If you also want your mob to equip a bow (crossbow or else) you have 2 solutions:

1) make a biped model (with custom texture if you want)

2) prepare a model on blockbench which is equipping the item

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Select ranged type? I heard…
Fri, 11/05/2021 - 00:34
Select ranged type?
I heard it for the first time.
How do you do that?
I can't do it by holding down the control key and left-clicking, or holding down the shift key and left-clicking.
Select an arrow for the item to be fired to force the entity to use ranged attacks, and a 2D model of the arrow will fly.
I want to be like a skeleton, but I can't.
Where and how is it wrong?