CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Minecraft
  • Tout support
  • PC
  • Xbox Series
  • Switch
  • Switch 2
  • PS4
  • ONE
  • WiiU
  • PS3
  • 360
  • Vita
  • iOS
  • Android
  • Web
  • New 3DS
Forum
  • Accueil
  • Actus
  • Tests
  • Vidéos
  • Images
  • Soluces
  • Forum
Liste des sujets

[éclipse]pourquoi cette commande ne

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 15:01:59

fonctionne t-elle pas ? et bonjour la commande est :

this.addRecipe(new ItemStack(Block.cobbledust, 1), new Object[] {"###", "#CD", "###", "C", Block.cobblestone, 'D', Item.Glowstone_Dust});

voila merci

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 15:02:57

le problème est au mot : Glowstone_dust

Lombax99
Lombax99
Niveau 10
05 septembre 2012 à 15:06:09

Tu est allez vérifier dans le fichier Item que sa s'écrit comme sa ? car dans mes souvenir il n'y a pas d'écart entre Glowstone et dust.
Ensuite j'ai arreter de moddder il y a longtemps

Fox_McCloud45
Fox_McCloud45
Niveau 78
05 septembre 2012 à 15:06:52

Je vérifie dans le code source. :ok:

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 15:07:30

oui je suis aller voir et même en raprochant cela ne fonctionne pas

Fox_McCloud45
Fox_McCloud45
Niveau 78
05 septembre 2012 à 15:08:42

Essaie de mettre:

Item.glowstoneDust

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 15:09:16

je vient de remarquer cela justement merci^^

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 15:09:45

enfin je veut dire c'est lightstonedust en faite^^

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 15:11:04

c'est bon merci quand même :noel:

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 15:12:48

j'ai un autre problème quand je lance le jeu (pour test) j'ai toute c'est erreur la et j'y est pas toucher (sauf les texture mais voila quoi) :

Exception in thread "main" java.lang.ExceptionInInitializerError
at net.minecraft.src.TextureWaterFX.<init>(TextureWat
erFX.java:20)

at net.minecraft.client.Minecraft.<init>(Minecraft.ja
va:232)

at net.minecraft.src.MinecraftAppletImpl.<init>(Minec
raftAppletImpl.java:15)

at net.minecraft.client.MinecraftApplet.init(Minecraf
tApplet.java:25)

at net.minecraft.client.Minecraft.main(Minecraft.java
:2147)

at Start.main(Start.java:22)
Caused by: java.lang.IllegalArgumentException: Slot 41 is already occupied by net.minecraft.src.BlockOreStorage@121409a when adding net.minecraft.src.Block@186d33
at net.minecraft.src.Block.<init>(Block.java:270)
at net.minecraft.src.Block.<init>(Block.java:302)
at net.minecraft.src.Block.<clinit>(Block.java:193)
... 6 more
Someone is closing me!

Pseudo supprimé
Pseudo supprimé 05 septembre 2012 à 15:13:32

Je comprends pas pourquoi Mojang fout des trucs si bizarres et inutilisés dans le jeu :noel:

Comme les potions wtf "suave", "rose", "good" WTF ! :ouch:

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 15:26:00

:up: :question: ?

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 15:34:21

je vais télécharger une autre version d'éclipse voir 2 seconde

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 16:02:53

c'est toujours pareil help pliz

27 achievements
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.minecraft.src.StatList.initCraftableStats(Stat
List.java:130)

at net.minecraft.src.StatList.initBreakableStats(Stat
List.java:110)

at net.minecraft.src.Block.<clinit>(Block.java:1221)

at net.minecraft.src.TextureWaterFX.<init>(TextureWat
erFX.java:20)

at net.minecraft.client.Minecraft.<init>(Minecraft.ja
va:232)

at net.minecraft.src.MinecraftAppletImpl.<init>(Minec
raftAppletImpl.java:15)

at net.minecraft.client.MinecraftApplet.init(Minecraf
tApplet.java:25)

at net.minecraft.client.Minecraft.main(Minecraft.java
:2147)

at Start.main(Start.java:22)
Caused by: java.lang.ClassCastException: net.minecraft.src.Block cannot be cast to java.lang.Character
at net.minecraft.src.CraftingManager.addRecipe(Crafti
ngManager.java:163)

at net.minecraft.src.CraftingManager.<init>(CraftingM
anager.java:115)

at net.minecraft.src.CraftingManager.<clinit>(Craftin
gManager.java:12)

... 9 more
Someone is closing me!

golivrob
golivrob
Niveau 9
05 septembre 2012 à 17:06:57

this.addRecipe(new ItemStack(Block.cobbledust, 1), new Object[] {"###", "#CD", "###", "C", Block.cobblestone, 'D', Item.Glowstone_Dust});

Déjà tu déclares pas le C.

Ensuite c'est pas Item.Glowstone_dust, mais plutôt Block.Glowstone_Dust

Normalement ca ira mieux après ;)

golivrob
golivrob
Niveau 9
05 septembre 2012 à 17:09:39

Euh, met Item.Glowstone.Dust désolé ;)

golivrob
golivrob
Niveau 9
05 septembre 2012 à 17:11:38

Désolé du triple post, mais ou as-tu ajouté le this.Recipies ?
Je dirais au mauvaise endroit ^^

Faut le mettre dans CraftingManager

Player4thegames
Player4thegames
Niveau 9
05 septembre 2012 à 17:14:09

golivrob lis les autre message maintenant c'est autre chose mon probleme

golivrob
golivrob
Niveau 9
05 septembre 2012 à 17:19:08

Caused by: java.lang.ClassCastException: net.minecraft.src.Block cannot be cast to java.lang.Character
at net.minecraft.src.CraftingManager.addRecipe(Crafti

ngManager.java:163)

at net.minecraft.src.CraftingManager.<init>(CraftingM

anager.java:115)

at net.minecraft.src.CraftingManager.<clinit>(Craftin

gManager.java:12)

tu as une faute aux ligne 163, 115 et 12 du fichier : CraftingManager

Répare les fautes, et tous ira mieux ;) (normalement ^^ )

Pseudo supprimé
Pseudo supprimé 05 septembre 2012 à 17:21:16

Caused by: java.lang.IllegalArgumentException: Slot 41 is already occupied by

L'id de ton bloc est 41 ? Si oui cet id est déja pris

Sous forums
  • Recherche de joueurs et serveurs PC/Consoles
La vidéo du moment