MineGirayX

Ben minekırafta tilki eklemek istiyom minekıraft bedroc olsun

Kodari AI
KodariOct 12 at 3:55 pm 1
BedrockFoxAddon
BedrockFoxAddon is a Minecraft Bedrock plugin that introduces a new fox mob variant to the game. The plugin adds a custom fox entity with unique behaviors, including hunting small animals, eating berries, and interacting with players. It includes custom spawning mechanics, taming functionality, and breeding systems. The addon provides configurable settings for spawn rates, taming items, and behavior patterns. Players can encounter these foxes in forest biomes, tame them with specific berries, and breed them to create new fox companions. The plugin also adds a fox den structure that generates naturally in the world, providing a habitat for these creatures. Custom sounds and animations enhance the immersive experience of encountering and interacting with these new fox companions.

Bu projede Java tabanlı bir Paper eklentisi oluşturuyorum. Bedrock’a özel add-on (.mcpack) üretmiyorum, ama Geyser ve Floodgate kurulu bir sunucuda Bedrock oyuncuları da bu tilkiyi görebilir.

Eklenti hazır. /tilki komutu oyuncunun yanına isimli ve kalıcı bir tilki çağırıyor.

  • Dosyalar: plugin.yml, TilkiPlugin.java (kayıt), TilkiCommand.java (tilki çağırma).

  • İzin: Komut varsayılan olarak yalnızca op’lara açık (tilki.spawn).

  • Bedrock: Sunucuya Geyser ve Floodgate eklersen Bedrock oyuncuları da tilkiyi görebilir.

Derlemek için üst çubukta Compile’a tıkla, açılan pencerede Compile’a bas. Başarılı olursa Download ile jar’ı indirebilirsin.

Tilkinin davranışını da değiştirebilirim: örneğin oyuncuyu takip etmesi, saldırmaması veya rastgele renkte olması gibi.

Kodari can make mistakes. Review important code before using.
Files
src
Code
3 63
src/main/java/com/kodari/tilki/TilkiPlugin.java
package com.kodari.tilki;

import org.bukkit.plugin.java.JavaPlugin;

public class TilkiPlugin extends JavaPlugin {

    @Override
    public void onEnable() {
        getCommand("tilki").setExecutor(new TilkiCommand());
        getLogger().info("Tilki eklentisi aktif.");
    }
}