own Creeper

3 posts / 0 new
Last post
Offline
Last seen: 7 months 1 week ago
Joined: 06/25/2015 - 17:21
Gems: 0
own Creeper

hello community,

i want make a own creeper mob, but i don't know how i can code that the mob explode.

maybe somebody know that or can post a link of a tutorial or YT video.

 

best regards



TheBeast's picture
Offline
Last seen: 1 week 6 days ago
Joined: 05/13/2015 - 21:08
Gems: 0
Create a Creeper with AI of

Create a Creeper with AI of the creeper and put an event on "when mob attacks" and select "explode"

Offline
Last seen: 7 months 1 week ago
Joined: 06/25/2015 - 17:21
Gems: 0
i try this, but the crepper

i try this, but the crepper only go to the player, but not explode.

i see in a YT video that someone have set "redstone power" by "when it is struck by lightning. https://www.youtube.com/watch?v=dNqUET4t2cU

i try this, too. but i get the following exception:

>C:\Users\Paul\Downloads\MCreator 1.5.6 [1.7.10]\forge\build\sources\java\mod\mcreator\mcreator_seeCreeper.java:205: error: illegal start of expression
>red = ;
>      ^
>1 error
>:compileJava FAILED
>BUILD FAILED
>FAILURE: Build failed with an exception.
>Total time: 11.195 secs
>* What went wrong:
>Execution failed for task ':compileJava'.
>> Compilation failed; see the compiler error output for details.
>* Try:
>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

maybe you or somebody else have an idea?