Jump to content

Meeresgott

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Meeresgott's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Excuse my late response, I was away over the weekend. The algorithm behind is not a problem for me. I need an interface to control the player from the Client side ( something like increasePosition(x,z); jump(), increaseRotation(value), lookAt(x,y,z), doLeftClick() doRightClick() etc. ). And some kind of "Information-Container" a List where all Blocks/Entities are stored from the loaded Chunks around the player. And the knowlege how to correct open a Chest and interact with the Items witch it contains. I do prefer this attempt, not because it is the "cleanest" way to integrate, I simply like the Idea of the "human" like navigation from a Bot and the Bot don't increase the server consuming resources it only blocks one Slot. To be honest, I know it is a dirty solution, but the idea from the Human like navigation etc. is so a great idea in my mind, that I have to implement this, even it doesn't come in action. I hope you can understand my motivation - childlike fascination.
  2. This is your opinion. But can you say why ? Why you think my approach makes me to a kind of people that you don't like ? What is reprehensible by my approach ? I'm playing on a CityBuild - Server the Bot have only "player"-rights. If I have "criminal" purposes how get the Bot the rights to open a Chest from a other player, when it isn't trusted at his plot? Yes this would be a lot easier for me ( I think ) but it isn't
  3. So I'll rewrite my questions: 1. How can I open chest and transfer Items from the chest to the players inventory or. the other way round ? 2. How can I implement a trigger ( like a Event ) when the player enters a specific area ? or have I to check every tick if the player is in the area ? Links to others forum entries, will work to. I would be very pleased about one or the other code example.
  4. No, no! I promises you this is not my intention! I want to write a automatic Trader for a Clan on a Server. The guidelines from the Server allows Bots like this. It is not my Intention to Steel anything from a Player. I have read over the part "without opening them". Excuse me please for that. We want to trade more Items than a Inventory can grasp. We store each different item in a different chest and a item frame with the receptive item is in front of the chest. If the bot enters the our property he should make a inventory from our Items and message us from witch item we have to little. Than if someone buy something the Bot will pic this specific item out of its chest and give to the buyer. Again the Bot don't be able to Steel anything from other players.
  5. I know it is difficult but possible. In vanilla Minecraft you can. You have to open the chest drag the items from the chest an drop them into the in inventory or. the other way round. I have to emulate this. The Server have to think, that a real Human does this transaction then it is possible - I hope. The question is how can I do this ? As already stated I can't findy any solutions for this problem in the web but for my opinion there musst be a solution. Do you have any Idea ?
  6. 1. you are right. Bad example for know the area is 11x11 an the middle of the area is identify by the center blocks coordinates. 2. Do you have any code example for me ? When I get the tile entity how can I transfer Items from the Chest to the player ? ( I know this isn't the original question, but for me an interesting one). 3. Oh so esay. But how can I check if "AABB" is in loaded chunks ? I have forgot to mentain, that the Mod I'm working on is for a client how connects to a Server. I assume, that the Client can't download spezific chunks from the Server. Only Chunks next to the player.
  7. Hello Forge-Community,I have the following taskYou have an area,for example with 10x10 (XxZ) blocks. The middle of these areal is located at the example coordinates 100;0;100 (X;Y;Z). Whenever the player enters the areal (no matter which y-coordinate), an event should be triggered and searched for "Item Frame". The player should automatically move to this item frame and open a chest ( behind the item frame ) and analyse its content. I'm new to Forge programming. I know the basic concept but the concrete implementation is difficult for me. Above all, I'm looking for solutions for the following questions: -How do I get the Event implemented that should be triggered when I enter the area ?-How can I access the chests in the program code and analyse their content? -How do I search for item frames / entities statically and not relative to the player?It would be nice, if you can help me. I say thank you in advance for the answers. Links to forum entries that answer one of these topics would also work. However, I could not find auch entries until now. Thanks and best regards Meeresgott
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.