Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Review import statements for student code #6

@hollasch

Description

@hollasch

[Imported from original tealsMC repo]


Steve [hollasch]:
For each new file that students will write, enumerate the import statements they'll be using. This way we don't have to reference types like net.minecraft.world.World, and can just say World.


Connor [chollasch]:
It is quite possible that the majority of their imports will be via the net.minecraft package so we could even wildcard import all of the net.minecraft classes with the following:

import net.minecraft.*;

Michael [hawkerm]:
It won't grab subpackages that way though so in the example above they'd still need to import net.minecraft.world.* still too. We run into this with Space Battle too, but only have three packages they need at most throughout the project.


Steve [hollasch]:
Three packages should cover us as well, then.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions