your current location:首页 > news>Advanced Development of Craftsmanship 3 [TIC3] Artisan Soul 3 (Tinkers' Construct 3) Minecraft Game

Advanced Development of Craftsmanship 3 [TIC3] Artisan Soul 3 (Tinkers' Construct 3) Minecraft Game

2024-12-10 17:47:01|Myriagame |source:minecraft skins

Foreword

Our soul 3

The author will provide some design ideas, development technology and writing optimization

I sincerely hope that developers will open the module to github

Technical article

Anti -confusion

Since the source code of the MC itself is confused, we need to see some of the original situation when the original version is implemented (only an example of the figure):

The good news is that after 1.14, Mojang announced a confusing control table. We can find this from the Build/CreateSRGTOMCP in the work area

In this way, when you encounter confused m_xxxxxx_, you can read it in comparison

Of course, there are also some small software that automatically confuses, and those who need it can find themselves.

Open power

When we need some special implementation, we may encounter the following situations:

Sometimes, we can achieve the effect we want by a big circle around a large circle, but FORGE provides us with a solution to this problem:

There is a line in the built.gradle.

We use him

Create a file of an accountransformer.cfg in src/main/resources/meta-inf

Take ETSHTINKER as an example:

Public-f can convert the Private class to Public and remove the final. After re-construction, we can use the permissions of this part freely;

Self -written hook

The following is the implementation method of the blade of ETSH:

Cavaliers Slime did not provide leftclick (left -click) and leftblock (left -click block), and onntityswing (swinging items, although this is written in the items)

Then to achieve these functions, you need to make your own wheels.anyway, other artificial wheels are not easy to use

First of all, we need to write a class that inherits the enhancement of the artisan soul:

Then write an event monitor in the class

In addition, because the left -button air and the left -button block in the MC are not packed to the server, we need to manually send it to the server.

For specific implementation methods, you can refer to the sulfur glycol poetry library/plant magic

Now, when writing a reinforcement that inherits our custom class, we can call the hook we write.

Author's words

The development of artisan souls does not require many code foundations. Looking at the implementation methods of other modules can be used for their own use.

Look, what you write will get better and better.

Design articles

This article belongs to the author’s subjective willingness, and it is okay if you do not agree

Strength control

Unfortunately, in terms of the overall intensity of the Soul Soul 3 (Rotary Dart, Giant Sword, Flike Gun)

The importance to strength control is infinitely close to 0

But we might as well divide the intensity into several stages

Level 2 Materials (Land) Level 3 Materials (Small Stove) Level 4 Materials (Large Stove) Noble IV Materials (Mid -term) more noble four -level materials (middle and late) more noble four -level materials (last period) moreMore noble four -level materials (the end of the journey)

Level 1 material?What is the existence only in five minutes to the ground than my chaotic apprenticeship

What intensity is each stage depends on the author’s consideration

The author recommends that more noble four -level materials "can accept ten insistenceers to take a bath. The last -term materials can consider anti -/kill (the final defense line).

Material ratio

In fact, more than 85%of the materials should be 4 -level materials, and the remaining three -level materials and 5%secondary materials are left.

The classification of artisan souls is still too monotonous.

Level first material?But the stone is a secondary material.

Development line

In MC itself is a very free game, provided for players a lot of selectivity is good

The author does not agree with the linear of the deadlock stage

If you have the "diamond" excavation level, it is best to allow players to get no less than two material systems, more than three or more

Material design

When designing a material, I generally consider

Is this material cool?

Is this material practical?

Is this material too similar?

Is this material fun?

Do I have a happy process?

Is this material too coupled?

And so on

In fact, the reduction in material design is more important than the addition of the Fa (reference to the ingenuity of the gods)

Many unnecessary parts are cut off better (such as Blue Skies)

Curb abuse

In terms of the current environment of the artisan soul (1.19), injury reduction is seriously abused

At this time we can start imagination and make differentiation

Defense is not limited to injury reduction

Resurrection (final defense), blocking (experience protection), dodge, recovery of blood volume and additional blood limit/yellow heart are feasible

It really doesn't work against the number shield

Not only damage reduction is severely abused, as well as real group attacks and particles (ethylene glycolsmine's craftsmanship storage)

In fact, the degree of expansion of numerical expansion is very low. Integrated package authors can manipulate Kobe JS for regulation and control

Change the panel, delete the characteristics, and make it easy

It is easy to dilute the expansion value in the multi -module environment

In contrast

The craftsman jointly wrote a huge amount of built -in CD judgment, and the ethylene glycol craftsmanship storage wrote a huge amount of real group attacks and particles.

Originally, we used a knife (artisan ingenuity), and then we had energy swords and fluid guns (ethylene glycol craftsmanship storage), and then the trident of the Trident (combined with craftsmen).

According to this trend, the next artisan soul weapon is probably the sword in the satellite satellite spiral hand sword

This design is harmless to the community, but it is easy to cause players to increase their aesthetic fatigue and threshold

But in the final analysis, particles and UI are too late

A large UI paste on the screen and a large particle stack of particles will cause real mental harm to the player.

Description part

Promise me, don't you do so well

The description of the characteristics of craftsmanship is best easy to understand. The complex effects can be described or reduced in multiple features

The specific value does not necessarily need to be written on the paper surface

If the strength of the Soul 3 is very low, then the specific value needs to be considered

However, the strength of the current Soul 3, less damage, does not feel

Don’t be too coupled, don’t be a small composition

Development part

Make good use of reconstruction

The producer of the craftsman's union loves Liu Ying once made the following remarks

"I don't know what I write at all now, and the names and methods of understanding are 111, 12 like this"

Well, naming specifications are part of, and the maintenance of the project is undoubtedly worse and worse.

The technology of the developer must be getting higher and higher. Early immature things may become resistance in the future

I will see if there is a reconstructed part every time I update the new content. Reconstruction is a thing that laziness requires more remedies once.

Of course, we can rewrite the module every time, if not tired.

Git's use

Idea comes with Git can help us upload the source code very well, but Idea often draws off, and it is prone to unable to upload

So the author recommends the use of github desktop end to open source

You will be open source, right?Right?

Planning version number

Version is our version number, you cannot fill in Chinese

It is very important to plan the version number, otherwise there may be a tragedy like a certain integrated package. Although they seem to have changed

This column can fill in your MCMOD address. Of course, it is okay to fill in 4399

Register related

Source Twilight Forest

In fact, we have a more elegant way:

Promise me, don't write it manually.

Latter

Above, the most important thing for developing artisan souls is sufficient passion and imagination.

I sincerely hope that this tutorial can be inspired by you

Thanks to Jianying, ETSH, Xiaoyue, DDDDDSJ, Dr. Real Madrid, Strey and Cvy and CSDY, and all craftsmanship 3 players and community authors