[Guide] Полный гайд по MCreator.Урок первый. Блок/Руда.
Привет ru-minecraft.ru! Я постараюсь создать качественный и полный гайд по MCreator. Я использую версию 1.4.5 (Для minecraft версии 1.7.2).Это первая часть гайда. В этой части мы будем создавать блок и руду. Думаю скачать Mcreator это не проблема для вас 🙂 Внимание! Все картинки под спойлером! P.S. Моя первая статья.
После установки попадаем в такое меню.
Нажимаем на кнопку New mod.
Открывается это меню.Тут нам надо лишь ввести название мода(Не путать с названием руды или блока) и нажать OK.(Справа краткая информация что такое блок)
Если у вас нет текстуры,то нажимаем Сreate item\block texture. У тех у кого она (текстура) уже есть,жмет Import texture и пропускает часть гайда о создании в Mcreator текстуры блока.
После нажатия на кнопку Сreate item\block texture, у вас откроется это меню.
Посередине мы видим текстуру в 2d, слева ползунок зума,а справа текстура 3d.(Уже на блоке)
Выше мы можем загрузить уже готовую текстуру и далее изменять её в редакторе. (Кнопка Load Image)
Ниже мы наблюдаем 4 слоя текстуры которые можно наложить друг на друга.У Mcreator есть некоторые заготовки текстур, их мы можем выбрать в меню после названия слоя,а также можем загрузить свой слой текстуры,нажав на папку. Первый слой редактировать нельзя.
Второй слой накладывается поверх первого и его мы уже можем редактировать. Первое что я сделал, это выбрал заготовку текстуры.(В данном случае Блок лазурита)
Далее я выбрал цвет блока. (Нажимаем на три точки справа и выбираем цвет)
Крайний левый ползунок,это ползунок поворота текстуры.(Покрутил для демонстрации)
Далее нажимаем кнопку Use.
Теперь рассмотрим само меню создания блока.
2. Custom texture of model. Если вы используете 3d модель созданную в Techne, то тут вы должны загрузить текстуру для этой 3d модели. (Три пункта ниже не обязательны).
3. Import Techne model. Тут вы загружаете саму 3d модель.
4. Y offset of model. Изменение центра модель относительно Y координаты.
5. Block dimensions. Размеры блока минимальные и максимальные координаты по всем трём осям. К примеру (0.5 это полублок).
6. Don’t render as normal block, Has alpha? Выбираем эти параметры если ваш блок имеет прозрачные части.
Хух 🙂 А слева у нас выбор текстуры. В открывшемся меню выбираем нашу текстуру. (Первая текстура с прошлого моего проекта)
И так для каждой стороны, нажимаем кнопку Next.
И попадаем в это меню.
1. Name in GUI. Название блока в инвенторе.
2. Hardness. Сколько потребуется времени на разрушение блока. (Справа данные и формула для сравнения)
3. Resistance. Взрывоустойчивость блока.
4. Has gravity? Будет ли он падать как песок/гравий.
5. Creative inventory tab. В какой вкладке креатива будет находиться блок.
6. Isn’t colidable? Способен ли игрок проходить сквозь этот блок?(Как лианы или паутина)
7. Can provide power? Проводит ли сквозь себя редстоун сигнал?
8. Light opacity. Какое количество света будет пропускать через себя блок.
9. Material. Какие свойства будут у этого блока. (Пример:»Если выбрать лаву,то этот блок можно будет зачерпнуть в ведро, и т.д. там много интересного)
10. Tool able to destroy. Каким инструментом можно будет разрушить блок.
11. Doesn’t drop itself. Ставим эту галочку если мы хотим, чтобы выпадал при разрушении не этот блок,а что-то другое.
12. Block that drops. Что будет дропать.(Если выбран предыдущий пункт).
13. Drop amount. Количество выпадаемого.
14. Sound on step. Какой будет звук если пройтись по блоку.
15. Luminace. На сколько сильно ваш блок будет излучать свет.(0 = не будет его излучать).
16. Is unbrekable. Возможно ли его сломать. (В режиме выживания)
17. Harvest level. Какого уровня инструмент нужен для поломки блока.(Рука,Дерево,Железо, и т.п.)
Нажимаем Next.И попадаем в эту менюшку.
Это меню настройки частиц. Тут мы можем настроить (если хотим) какие и сколько и в каком радиусе будут создаваться частицы.
1. Spawn particels around block. Включить спаун частиц.
2. Particle type. Тип частиц.(Дым, пузырьки и т.п.)
3. Particle spawning shape. Форма частиц.
4. Particle spawning radius. Радиус создания частиц.
5. Particle amount. Количество создаваемых частиц.
Нажимаем Next.И попадаем в самое сложное меню.
К примеру написать что-то в чат, или нанести урон игроку и т.д.
Подробно тут останавливаться не буду. (Возможен отдельный гайд на эту тему)
Далее следует решение, является ли наш блок, блоком или рудой.
Или можем создать рецепт в печке. То есть при переплавке чего-то, получать этот блок.
А если нажмем на кнопку World generation. То сможем настроить спаун этого блока в мире.(То есть руда)
1. Recipes. Вернуться в меню настройки крафта.
2. Generate in world. Генерировать блок в обычном мире.
3. Generate in nether. Генерировать блок в аду.
4. Frequency on chunks. Как часто будет спаунится в одном чанке.(Чанк территория 16*16*256, x,z,y)
5. Frequency on specific chunk. Количество руды которое спаунится в одной «жиле».
Еще раз Next, потом Finish, немного ждем. Вот и конец! Писал очень долго. Жду оценок 🙂
Источник
How to make a custom mob drop a custom item in Mcreator 1.9.0
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
The question is in the title: How do I make a custom mob drop a custom item in Mcreator 1.9.0? I looked up videos and this is my first time using this program and the videos showed that by making a procedure «When mob dies» it would «spawn gem» then why would be able to select the item that it drops but their version is older and has a different UI, so can someone pls tell me step by step on how to do it, Thank you.
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
So pretty much, to make a custom mob drop for custom mobs, you have to add a new procedure element (name it [mob_name]drop or something, just to recognize it).
Then, once you’re in there, make an If statement and the requirement for that should be «Random [0,1) ≤ 0.5», and that would be a 50 percent chance to drop it. Then, in the «do» area, put a «Spawn Gem at X Y Z» block (found in World Management). Then double tap the empty box and make it the drop you want.
Finally, click save and then go to your mob, and under «When mob dies», click the dropdown and select the procedure that you just made.
For example
[Event Trigger — triggered by external call or when: [No Additional Trigger] ]
V
[If [ [Random [0,1)] ≤ [0.5] ]
Do [Spawn Gem [item] at: [X] [Y] [Z] ] ]
(Im sorry this is so unreadable lol, I don’t know how to add a picture cuz im an idiot)
Источник
How to change mob drops?
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
I want that a zombie drop rotten flesh and bones, and the chicken just drops raw chicken.
Is there some way to change the mobs drops?
P.S: Sorry for my bad English, i’m not from US or UK.
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
ok if you mean normal minecraft zombies and chickens then you can do that but if you had made your own zombie and chicken you can put those drop
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
@#1 OK, but if i create a new zombie and a new chicken, the original ones will drop they original drop. How can i delete them, or something else?
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
You DON’T must make new mobs. You can easily edit the vanilla mobs.
Make new overlay. There don´t edit anything and click «finish» or «next».
View source of this «Overlay». Remove some things. You need your «overlay» class looks like this:
public class mcreator_overlayTest<
public static class GUIRenderEventClass
<>
public Object instance;
public void load(FMLInitializationEvent event) <
MinecraftForge.EVENT_BUS.register(new GUIRenderEventClass());
>
public void generateNether(World world, Random random, int chunkX, int chunkZ)<>
public void generateSurface(World world, Random random, int chunkX, int chunkZ)<>
public int addFuel(ItemStack fuel)
public void serverLoad(FMLServerStartingEvent event)<>
public void preInit(FMLPreInitializationEvent event)<>
public void registerRenderers()<>
>[/spoiler]
to the public static class GUIRenderEventClass
add:
public void playerKilledZombie(LivingDropsEvent event)
<
if(event.entityLiving instanceof EntityZombie)
<
Now the zombie will drop rotten flesh and bone.
For the chicken under previous text add:
@SubscribeEvent
public void playerKilledChicken(LivingDropsEvent event)
<
if(event.entityLiving instanceof EntityChicken)
<
event.drops.clear();
ItemStack itemStackToDrop = new ItemStack(Items.chicken, 1);
event.drops.add(new EntityItem(event.entity.worldObj, event.entity.posX,
event.entity.posY, event.entity.posZ, itemStackToDrop));
And that’s all! And yes i tested it and this method works on 100%.
Источник
Loottable mob drop chance
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
How to make dropping chances in loottables? Like if u killed skeleton, it drops bone sword with 10% chance?
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
You can use the spawn gem procedure block that is easier than loot tables
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
ok. Can you screenshot proc?
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
I bound this to when mob died
this procedure makes the mob (a duck) drop one duck meat always.
but it has two 50% chance extra duck meat drops
and also a 75% percent chance of a feather drop
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
I need vanilla mob drops
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
that’s a bit different.
I’ll show you how to make it tomorrow
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
It’s like 11 o clock here
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
Nvm, i already done procedure myself
OMG ITS WORKING
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
mod sounds cool
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
How did you do it?
- Modifications:
- Forum topics:
- Wiki pages:
- Tracker tickets:
- MCreator plugins:
- Comments:
What you do is go into the livingEntity you want to drop stuff. You then head to the 4th tab, where it talks about making procedures. You then make a new procedure for the when the entity dies.
In this new procedure, grab the spawn gem block under the world management tab. you then insert whatever item you want the entity to drop. this results in when you kill the mob it is a guaranteed drop.
If you want it to drop it a percent of the time, then go to the logic and loops tab and grab an’ if do’ block. grab the dark blue block from the logic tab and put it after ‘if’. under math, grab the ‘random [0,1]’ and ‘0’ block and insert them in that order. then put any number in the number slot.
What you do is then put the percentage rate of the item in it. so .50 would be 50% and .75 would be 75%. you then proceed to but the ‘spawn gem’ block in the do slot and you have a working spawn item. If you want it to drop the item multiple times, then just repeat the previous steps.
Hope this helps! If your stuck, use the picture above by crispy_chips.
Источник